<br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 9:01 AM, Mohammed Murphy <span dir="ltr"><<a href="mailto:mohammed.murphy@tandberg.com">mohammed.murphy@tandberg.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hey there,<br>
<br>
I would like to able to write and run my own CGI scripts on the Nagios<br>
server that would be run by Nagios and have its output displayed as part<br>
of the Nagios web interface just like the existing CGIs.</blockquote><div><br>Easy enough. Create it, put it in sbin and link to it from share/side.html or wherever you want to.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 In addition, I
would like to able to interact with the pre-installed CGIs, for<br>
instance, by writing a plugin that creates a data file that is then<br>
used, by say, the histogram.cgi script. Is this possible?</blockquote><div><br>Sure. Anything is possible; the only question is if you are capable. To do the above, you'd just need to edit histogram.c, add your specific code and recompile.<br>
 <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> and if not,
what other options are there for producing product-specific diagrams (on<br>
existing pages) using Nagios infrastructure?<br clear="all"></blockquote><div><br>It depends on what your requirements are. Custom links on share/side.html or using host/service extended info pages (notes_url) would be simple and might work for you, for example.  <br>
</div></div><br>-- <br>Marc<br>formerly marc /at/ <a href="http://ena.com">ena.com</a><br>