Linux.gif bind into the cgi

John McDonnell johnmc at johnmc.org
Fri Feb 7 17:41:40 CET 2003


On the 7th day of February, Marcel Strerath said to me:

> how can I bind my Linux40.gif into the Status Map? I have added in the
> cgi.cfg follow line:
> hostextinfo[srv1]=;linux40.gif;linux40.gif;linux40.gd2;linux40.gif;; .

As I said last week on this very list:
>From the FAQ[1] specifically about using cgi.cfg for extended info:

Note that although this is call the "default" method for historical
reasons, the CGIs default to using the template-based method (described
below) unless you specifically compile them with this method.

Look here instead:
http://nagios.sourceforge.net/docs/1_0/xedtemplate.html I've done this
and it works well, apart from the fact that I can't get any of my
transparent .gd2 images to show up :( The ones supplied on the Nagios
site show up just fine, my custom ones won't. I've tried generating them
with several versions of the GD lib but to no avail.


[1] http://nagios.sourceforge.net/docs/1_0/configextinfo.html

johnmc.
-- 
 . johnmc@ | bucketchild.net - +1-408-985-7992 (home) .
 . http:// | johnmc.org      - +1-408-386-3549 (cell) .
-- 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list