Ok...I found several things that needed some love. It's not perfect but it
does at least run for me. The instructions could use a bit of improvement
as well. I'm not 100% sure which code notes path is legit...may take a
little playing. The new code is on github (https://github.com/solitaryr/
xymon_notes). If I can find the time, I'll see what I can do to improve
it...especially in regards to better integration into the Xymon ecosystem.
I may even see what it might take to integrate directly into Xymon instead
of an add-on...but C is a distant memory...
=G=
On Mon, Dec 4, 2017 at 3:48 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
Ahhh...this is one of the few scripts I rescued from Deadcat since I had
made use of it a while ago...hopefully, it's compatible with the Terabithia
rpms. I'll need to try it locally to see if I can rep what you see.
=G=
On Mon, Dec 4, 2017 at 3:41 PM, Galen Johnson <user-fc632e705d24@xymon.invalid> wrote:
It's been a while since I even looked at that code. Let me refresh
myself on it (and push it to github as well.
=G=
On Mon, Dec 4, 2017 at 12:30 PM, SebA <user-4631430d620a@xymon.invalid> wrote:
Hi Galen,
I have been trying to get your Xymon Notes Editor working. I have fixed
a number of issues in the code or with your instructions, but I'm stuck on
probably the last issue.
Most of the issues may be caused by your code getting munged when you
uploaded it to Xymonton - I'm not sure. For example I needed to add a few
carriage returns:
Line 24 and before 'HTML':
Can't find string terminator "HTML" anywhere before EOF at
/usr/share/xymon/cgi-secure/bbnote_editor.cgi line 161
As well as somewhere around:
Unmatched right curly bracket at /usr/share/xymon/cgi-secure/bbnote_editor.cgi
line 46, at end of line
But I still have this error and I'm not sure where the issue really is
because this is the end of the file:
Missing right curly or square bracket at /usr/share/xymon/cgi-secure/bbnote_editor.cgi
line 234, at end of line
With the instructions, there should have been instructions to install
perl-CGI and create the www/notes directory.
Can you help with EOF right clurly or square bracket error please? And
/ or try re-uploading to Xymon, or posting a copy of the code for download
either from this list or from somewhere else. A download saves time if
anyone else wants to use this too.
Many thanks, SebA