<div dir="ltr">Hey SebA,<div><br></div><div>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.</div><div><br></div><div>=G=</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 6:47 AM, SebA <span dir="ltr"><<a href="mailto:spah@syntec.co.uk" target="_blank">spah@syntec.co.uk</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><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="$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/" target="_blank">http://www.it-eckert.com/blog/<wbr>2014/how-to-integrate-xymon-<wbr>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<div><div class="h5"><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="m_-3258087330647808226HOEnZb"><font color="#888888"><div><br></div><div>=G=</div></font></span></div><div class="m_-3258087330647808226HOEnZb"><div class="m_-3258087330647808226h5"><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_-3258087330647808226m_5102811720927332420HOEnZb"><font color="#888888"><div><br></div>=G=<br></font></span></div><div class="m_-3258087330647808226m_5102811720927332420HOEnZb"><div class="m_-3258087330647808226m_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_-3258087330647808226m_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_-3258087330647808226m_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></div></div>
</blockquote></div><br></div>