<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Mohammed,<br>
<br>
at first - sry for writing offlist ;) ... <br>
regarding the cgi / css things - did you know about thruk.org ?<br>
Its a catalyst  written new gui for Nagios / Icinga/ Shinken which
uses<br>
the Livestatus Plugin from Mr. Kettner for providing Realtime Access<br>
to Nagios<br>
Core data ( So besides beeing themeable its also a lot faster )<br>
<br>
kind regards,<br>
Malte<br>
<br>
<br>
Am 31.03.10 20:19, schrieb Mohammed Murphy:<br>
<span style="white-space: pre;">> Thanks for the hints Marc.
Unfortunately I was not clear enough about my <br>
> requirements before so I will expound a bit more.<br>
><br>
> I only want to talk about the first issue of creating CGI
scripts and <br>
> break it down into two parts. Firstly, I would like to create a
web page <br>
> that contains the look & feel and header & footer info
of the existing <br>
> pages with my own customised web data in the middle. The
important point <br>
> is that I would like it to be automated, because (as I revealed
in my <br>
> last email) this is for an installer-type application. So for
instance, <br>
> if a Nagios user updates their Nagios system to a newer version
with a <br>
> slighly different look & feel, then the same installer-type
application <br>
> will still be able to generate the custom page appropriately. Is
this <br>
> possible?<br>
><br>
> Secondly, is the issue of linking to my custom pages from
exisitng <br>
> pages. The fact that I want it to be automated means that I
require a <br>
> way of informing Nagios that a new custom page exists so Nagios
will <br>
> provide a way for the Nagios user to access it via a link on an
existing <br>
> page. I thought about parsing and then modifying side.html, but
that is <br>
> only reliable if that is guaranteed to remain the same in all
versions <br>
> of Nagios. nBoard, for instance, requires that a new html page
simply be <br>
> added to an 'extras' directory; so I wondered if the default
Nagios web <br>
> UI had a similar mechanism.<br>
><br>
> Thanks for your time Marc. I hope I clarified my requirements a
bit more.<br>
><br>
> Marc Powell wrote:<br>
>><br>
>><br>
>> On Tue, Mar 16, 2010 at 9:01 AM, Mohammed Murphy <br>
>> <<a class="moz-txt-link-abbreviated" href="mailto:mohammed.murphy@tandberg.com">mohammed.murphy@tandberg.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:mohammed.murphy@tandberg.com"><mailto:mohammed.murphy@tandberg.com></a>> <br>
>> wrote:<br>
>><br>
>>     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<br>
>>     as part<br>
>>     of the Nagios web interface just like the existing CGIs.<br>
>><br>
>><br>
>> Easy enough. Create it, put it in sbin and link to it from <br>
>> share/side.html or wherever you want to.<br>
>>  <br>
>><br>
>>     In addition, I would like to able to interact with the<br>
>>     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?<br>
>><br>
>><br>
>> Sure. Anything is possible; the only question is if you are
capable. <br>
>> To do the above, you'd just need to edit histogram.c, add
your <br>
>> specific code and recompile.<br>
>>  <br>
>><br>
>>     and if not, what other options are there for producing<br>
>>     product-specific diagrams (on<br>
>>     existing pages) using Nagios infrastructure?<br>
>><br>
>><br>
>> It depends on what your requirements are. Custom links on <br>
>> share/side.html or using host/service extended info pages
(notes_url) <br>
>> would be simple and might work for you, for example. <br>
>><br>
>> -- <br>
>> Marc<br>
>> formerly marc /at/ ena.com <a class="moz-txt-link-rfc2396E" href="http://ena.com"><http://ena.com></a><br>
>>
------------------------------------------------------------------------<br>
>><br>
>>
------------------------------------------------------------------------------<br>
>> Download Intel&#174; Parallel Studio Eval<br>
>> Try the new software tools for yourself. Speed compiling,
find bugs<br>
>> proactively, and fine-tune applications for parallel
performance.<br>
>> See why Intel Parallel Studio got high marks during beta.<br>
>> <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a><br>
>>
------------------------------------------------------------------------<br>
>><br>
>> _______________________________________________<br>
>> Nagios-devel mailing list<br>
>> <a class="moz-txt-link-abbreviated" href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
>> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
>>   <br>
><br>
><br>
>
------------------------------------------------------------------------------<br>
> Download Intel&#174; Parallel Studio Eval<br>
> Try the new software tools for yourself. Speed compiling, find
bugs<br>
> proactively, and fine-tune applications for parallel performance.<br>
> See why Intel Parallel Studio got high marks during beta.<br>
> <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a><br>
> _______________________________________________<br>
> Nagios-devel mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a></span><br>
<br>
<br>
-- <br>
Malte Geierhos<br>
Serverbetreuung / Administration<br>
<br>
<br>
SnapScouts.de<br>
Snapscouts Limited Zweigniederlassung Görlitz<br>
Krischelstraße 14<br>
02826 Görlitz<br>
<br>
Fax:    +49 (0) 35 81 / 66 72 53<br>
Mobil:  +49 (0) 1 51 / 27 00 22 70<br>
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:malte@snapscouts.de">malte@snapscouts.de</a><br>
<br>
Web:    <a class="moz-txt-link-freetext" href="http://www.snapscouts.de">http://www.snapscouts.de</a><br>
<br>
<br>
Geschäftsführer: Thomas von Skrbensky<br>
Registergericht: Dresden HRB 25880<br>
USt-IdNr.: DE254464823<br>
<br>
Zweigniederlassung der Snapscouts Limited<br>
69 Great Hampton Street<br>
Birmingham, B18 6EW<br>
Handelsreegister für England & Wales<br>
Unternehmen Nr.: 6198239<br>
<br>
Diese Information ist ausschließlich für den Adressaten bestimmt und<br>
kann vertrauliche oder gesetzlich geschützte Informationen enthalten.<br>
Wenn Sie nicht der bestimmungsgemäße Adressat sind, unterrichten Sie<br>
bitte den Absender und vernichten Sie diese E-Mail. Anderen als dem<br>
bestimmungsgemäßen Adressaten ist es untersagt, diese E-Mail zu lesen,<br>
zu speichern, weiterzuleiten oder ihren Inhalt, auf welche Weise auch<br>
immer, zu verwenden. Wir verwenden aktuelle Virenschutzprogramme.<br>
Für Schäden, die dem Empfänger, gleichwohl durch von uns zugesandte<br>
mit Viren befallene E-Mails entstehen, schließen wir jede Haftung aus.<br>
<br>
<br>
<br>
</body>
</html>