<div dir="ltr"><div><div><div><div><div>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.<br></div><div><br></div><div>Here's two fixes in one line for Xymon 4.3 (adding SECURE and with the change of name for the cgi script):<br>        <a class="inner" href="$<wbr>XYMONSERVERSECURECGIURL/<wbr>xymnote_editor.cgi">Edit Notes</a><span class="invis"> | </span><br></div><div><br></div><div>Also in order to get the host link to display in the main Xymon page, with the latest terabithia RPM installed, I had to:<br>$ cd /etc/xymon/data<br>$ sudo ln -s /usr/share/xymon/www/notes notes</div><div><br></div>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: <a href="http://www.it-eckert.com/blog/2014/how-to-integrate-xymon-with-a-documentation-system/">http://www.it-eckert.com/blog/2014/how-to-integrate-xymon-with-a-documentation-system/</a><br><br></div>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.<br><br></div>That said, I have it all working now, so that's great.<br><br></div>Thanks again and kind regards,<br><br></div>SebA<br><br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 5 December 2017 at 06:14, Galen Johnson <span dir="ltr"><<a href="mailto:solitaryr@gmail.com" target="_blank">solitaryr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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 (<a href="https://github.com/solitaryr/xymon_notes" target="_blank">https://github.com/solitaryr/<wbr>xymon_notes</a>).  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...<span class="HOEnZb"><font color="#888888"><div><br></div><div>=G=</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 4, 2017 at 3:48 PM, Galen Johnson <span dir="ltr"><<a href="mailto:solitaryr@gmail.com" target="_blank">solitaryr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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.</div><span class="m_5102811720927332420HOEnZb"><font color="#888888"><div><br></div>=G=<br></font></span></div><div class="m_5102811720927332420HOEnZb"><div class="m_5102811720927332420h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 4, 2017 at 3:41 PM, Galen Johnson <span dir="ltr"><<a href="mailto:solitaryr@gmail.com" target="_blank">solitaryr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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.<br><br></div>=G=  <br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_5102811720927332420m_730648366681073542h5">On Mon, Dec 4, 2017 at 12:30 PM, SebA <span dir="ltr"><<a href="mailto:spah@syntec.co.uk" target="_blank">spah@syntec.co.uk</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_5102811720927332420m_730648366681073542h5"><div dir="ltr"><div><div><div><div><div><div><div>Hi Galen,<br><br></div>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.<br><br></div>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:<br></div>Line 24 and before 'HTML':<br>Can't find string terminator "HTML" anywhere before EOF at /usr/share/xymon/cgi-secure/bb<wbr>note_editor.cgi line 161<br></div><div>As well as somewhere around:</div><div>Unmatched right curly bracket at /usr/share/xymon/cgi-secure/bb<wbr>note_editor.cgi line 46, at end of line</div><div><br></div>But I still have this error and I'm not sure where the issue really is because this is the end of the file:<br>Missing right curly or square bracket at /usr/share/xymon/cgi-secure/bb<wbr>note_editor.cgi line 234, at end of line<br><br></div>With the instructions, there should have been instructions to install perl-CGI and create the www/notes directory.<br><br></div>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.<br><br></div>Many thanks, SebA<br></div>
<br></div></div>______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div></div>