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
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 <spah at syntec.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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 <solitaryr at gmail.com> 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 <spah at syntec.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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 <solitaryr at gmail.com> 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 <solitaryr at gmail.com> 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 <spah at syntec.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thanks for your work on this Galen. I started my response the next day, but I've been too busy to finish it until now.
Here's two fixes in one line for Xymon 4.3 (adding SECURE and with the change of name for the cgi script): <a class="inner" href="$XYMONSERVERSECURECGIURL/xymnote_editor.cgi">Edit Notes</a><span class="invis"> | </span>
Also in order to get the host link to display in the main Xymon page, with the latest terabithia RPM installed, I had to: $ cd /etc/xymon/data $ sudo ln -s /usr/share/xymon/www/notes notes
I have to admit I tried to get your notes editor installed so I could take a look at it as there were no screenshots on Xymonton. I was disappointed that there was no toolbar for formatting text. I'm sure this is just a minor thing, but it means I'm inclined to try this solution instead: http://www.it-eckert.com/blog/2014/how-to-integrate-xymon-with-a-documentati...
I also note that the templates only apply when saving notes pages, so any change to the template does not take effect until resaving the note page for a host. Slightly disappointing too, but to be expected I suppose given the location of the template.
That said, I have it all working now, so that's great.
Thanks again and kind regards,
SebA
On 5 December 2017 at 06:14, Galen Johnson <solitaryr at gmail.com> wrote:
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 <solitaryr at gmail.com> 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 <solitaryr at gmail.com> 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 <spah at syntec.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Hey SebA,
Thanks for the feedback and catching the missed url paths. I'll look into making those updates...I'm not even sure if the original author is even still around. I was actually toying around with the idea of adding TinyMCE or something like that. I've also seen that there are some html code snippets that Chrome and Firefox choke on...badly...so I expect I'll need to figure out how to make that better. I'm also planning to drop the BB specific bits since they aren't that much different and it's not clear how much BB is even used in the Xymon community...especially the server side. I did run into the same symlink issue you mentioned and just haven't updated the doc yet.
=G=
On Thu, Dec 21, 2017 at 6:47 AM, SebA <spah at syntec.co.uk> wrote:
Thanks for your work on this Galen. I started my response the next day, but I've been too busy to finish it until now.
Here's two fixes in one line for Xymon 4.3 (adding SECURE and with the change of name for the cgi script): <a class="inner" href="$XYMONSERVERSECURECGIURL/xymnote_editor.cgi">Edit Notes</a><span class="invis"> | </span>
Also in order to get the host link to display in the main Xymon page, with the latest terabithia RPM installed, I had to: $ cd /etc/xymon/data $ sudo ln -s /usr/share/xymon/www/notes notes
I have to admit I tried to get your notes editor installed so I could take a look at it as there were no screenshots on Xymonton. I was disappointed that there was no toolbar for formatting text. I'm sure this is just a minor thing, but it means I'm inclined to try this solution instead: http://www.it-eckert.com/blog/2014/how-to-integrate-xymon- with-a-documentation-system/
I also note that the templates only apply when saving notes pages, so any change to the template does not take effect until resaving the note page for a host. Slightly disappointing too, but to be expected I suppose given the location of the template.
That said, I have it all working now, so that's great.
Thanks again and kind regards,
SebA
On 5 December 2017 at 06:14, Galen Johnson <solitaryr at gmail.com> wrote:
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 <solitaryr at gmail.com> 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 <solitaryr at gmail.com> 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 <spah at syntec.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
One other thing...what kind of screenshots? It's basically just dropping files in place and editing some Xymon bits.
thanks
=G=
On Thu, Dec 21, 2017 at 10:13 AM, Galen Johnson <solitaryr at gmail.com> wrote:
Hey SebA,
Thanks for the feedback and catching the missed url paths. I'll look into making those updates...I'm not even sure if the original author is even still around. I was actually toying around with the idea of adding TinyMCE or something like that. I've also seen that there are some html code snippets that Chrome and Firefox choke on...badly...so I expect I'll need to figure out how to make that better. I'm also planning to drop the BB specific bits since they aren't that much different and it's not clear how much BB is even used in the Xymon community...especially the server side. I did run into the same symlink issue you mentioned and just haven't updated the doc yet.
=G=
On Thu, Dec 21, 2017 at 6:47 AM, SebA <spah at syntec.co.uk> wrote:
Thanks for your work on this Galen. I started my response the next day, but I've been too busy to finish it until now.
Here's two fixes in one line for Xymon 4.3 (adding SECURE and with the change of name for the cgi script): <a class="inner" href="$XYMONSERVERSECURECGIURL/xymnote_editor.cgi">Edit Notes</a><span class="invis"> | </span>
Also in order to get the host link to display in the main Xymon page, with the latest terabithia RPM installed, I had to: $ cd /etc/xymon/data $ sudo ln -s /usr/share/xymon/www/notes notes
I have to admit I tried to get your notes editor installed so I could take a look at it as there were no screenshots on Xymonton. I was disappointed that there was no toolbar for formatting text. I'm sure this is just a minor thing, but it means I'm inclined to try this solution instead: http://www.it-eckert.com/blog/2014/how-to-integrate-xymon-wi th-a-documentation-system/
I also note that the templates only apply when saving notes pages, so any change to the template does not take effect until resaving the note page for a host. Slightly disappointing too, but to be expected I suppose given the location of the template.
That said, I have it all working now, so that's great.
Thanks again and kind regards,
SebA
On 5 December 2017 at 06:14, Galen Johnson <solitaryr at gmail.com> wrote:
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 <solitaryr at gmail.com> 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 <solitaryr at gmail.com> 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 <spah at syntec.co.uk> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 12/21/2017 6:13 AM, Galen Johnson wrote:
I was actually toying around with the idea of adding TinyMCE or something like that. I've also seen that there are some html code snippets that Chrome and Firefox choke on...badly...so I expect I'll need to figure out how to make that better.
I started down this path a few years ago. After traveling a bit, I realized I was creating a wiki inside Xymon. At that point, I stopped :P
We now use a special segment of our existing wiki to hold notes for Xymon hosts. The pages in that segment may reference each other, and have included and embedded content. We then export the wiki content (as one would if creating a static, or cached version), and import it into a directory on our Xymon server. The export/import happens as a regular xymon task.
We use HTML in our "DESCR" tag in the hosts.cfg to link each host to the appropriate local page of notes from the wiki. By use a .default. tags associated with display groups, we can re-use pages of notes for several hosts.
We leverage the authentication, editing, and history function of our wiki. While publishing static content from our xymon server means we aren't depending on the wiki at 2am.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska
Galen, sceenshots of how it looks when the add-on installation is complete and working.
Thanks John. Those are good ideas. I might look into doing the same or similar.
Kind regards,
SebA
On 21 December 2017 at 21:29, John Thurston <john.thurston at alaska.gov> wrote:
On 12/21/2017 6:13 AM, Galen Johnson wrote:
I was actually toying around with the idea of adding TinyMCE or something like that. I've also seen that there are some html code snippets that Chrome and Firefox choke on...badly...so I expect I'll need to figure out how to make that better.
I started down this path a few years ago. After traveling a bit, I realized I was creating a wiki inside Xymon. At that point, I stopped :P
We now use a special segment of our existing wiki to hold notes for Xymon hosts. The pages in that segment may reference each other, and have included and embedded content. We then export the wiki content (as one would if creating a static, or cached version), and import it into a directory on our Xymon server. The export/import happens as a regular xymon task.
We use HTML in our "DESCR" tag in the hosts.cfg to link each host to the appropriate local page of notes from the wiki. By use a .default. tags associated with display groups, we can re-use pages of notes for several hosts.
We leverage the authentication, editing, and history function of our wiki. While publishing static content from our xymon server means we aren't depending on the wiki at 2am.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
john.thurston@alaska.gov
-
solitaryr@gmail.com
-
spah@syntec.co.uk