nagios to mrtg

Jun Li jun at lifecapturemedia.com
Thu Oct 20 17:06:28 CEST 2005


HI John,
Thank you for  your reply and great help.

Now I am still thinking a better way to solving my problem. Adding 
header/footer just generate a steadic page. Do you have any way that allows 
me to modify the existed cgi, so that when I click my mrtg service status, it 
will direct it to my mrtg/myhost.html. Because nagios is a open source 
program, i do believe it allows user to modify it's code.

Thank you again,
JUn
On Wednesday 19 October 2005 06:16 pm, John P. Rouillard wrote:
> In message <200510191750.44182.jun at lifecapturemedia.com>,
>
> Jun Li writes:
> >Anyone can let me know how to put some link in the main frame not the side
> >bar,for example in service detail main frame in my nagios web site to link
> >to ../www/html/mrtg/myhost.html, so, for example, people can see the
> > charts as well as can check mrtg log.
>
> Look in the documentation for custom headers and footer. If my patch
> of a year ago has been applied, you will see something like:
>
>   It is important to note that, unless the custom header and footer
>   files are executable, they are not processed in any way before they
>   are displayed. The contents of the header and footer include files are
>   simply read and displayed in the CGI output. That means they can only
>   contain information a web browser can understand (HTML, JavaScript,
>   etc.).
>
> The above is from the nagios 2 documentation that includes the patch.
> If that isn't in the documentation you are using, you can try to find
> the patch and apply it.
>
> The executable header/footer is basically a CGI that can emit HTML and
> add whatever menu items you wish.
>
> 				-- rouilj
> John Rouillard
> ===========================================================================
> My employers don't acknowledge my existence much less my opinions.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
> ::: Please include Nagios version, plugin version (-v) and OS when
> ::: reporting any issue. Messages without supporting info will risk being
> ::: sent to /dev/null


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list