David<br><br><div class="gmail_quote">On Tue, Jun 5, 2012 at 11:51 PM, Raymond, David <span dir="ltr"><<a href="mailto:David.Raymond@ca.ebarrette.com" target="_blank">David.Raymond@ca.ebarrette.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">I copy the nongreen.sh to redonly.sh, then I remove only the yellow for only get red alert.<u></u><u></u></p><p class="MsoNormal">If I go to url <a href="http://myserver/xymon-cgi/redonly.sh" target="_blank">http://myserver/xymon-cgi/redonly.sh</a> it work great but not in html.</p>

</div></div></blockquote><div><br></div><div>If you go to <a href="http://myserver/xymon-cgi/nongreen.sh">http://myserver/xymon-cgi/nongreen.sh</a> you also get an unformatted version.  Actually, (for me) they're both HTML, but neither have CSS styles applied, so they look bland.  But both should look similar.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><p class="MsoNormal">I had in xymonmenu.cfg the same string as nongreen.html to get the “redonly.html”<u></u><u></u></p>

<p class="MsoNormal">But the system do not make one. What do I need to get it work ?</p></div></blockquote><div><br></div><div>The nongreen.html file is periodically created by xymongen, and its filename is hard-coded and can't be changed.  You can only change the extension from .html by modifying XYMONNONGREENEXT.</div>

<div><br></div><div>As far as I can tell, the script nongreen.sh is never used, but is made available just in case you wanted to integrate the output into something else (such as an email).  It does not create nongreen.html.  It may be a hang-over from BigBrother.</div>

<div><br></div><div>If you want to create such a webpage, you can probably add a line to xymonlaunch.cfg to run redonly.sh and send its output to redonly.html.  But you'll only get the raw table with no style and no menus.  You'd have to do some other stuff to get it to look integrated into Xymon.</div>

<div><br></div><div>J</div><div><br></div></div>