problem with hostextinfo

Jerome Alet alet at librelogiciel.com
Wed Dec 8 10:13:38 CET 2004


Hi,

I'm using Nagios 1.3.0+pre4 from Debian with the PostgreSQL
database.

All works fine once I fixed the startup script, but now
I can't manage to find how to use my own images instead of the
big '?' in statusmap.

I've tried by defining :

        hostextinfo[somehostname] = ...
        
in cgi.cfg, but with no luck        

then I've used :

        xedtemplate_config_file=hostextinfo.cfg
        
and I've filled hostextinfo.cfg with the new syntax, with no luck        

then I've defined access to the PostgreSQL database to retrieve hostextinfo,
and I've added some lines into the hostextinfo table, again with no luck.

statusmap.cgi is linked with libpq (PostgreSQL) so I thought it would
use the database, it doesn't.

how can I diagnose what is wrong ? I don't see any error in Apache's
error_log file.

is there a way to have statusmap.cgi tell me what it does ? (debug mode ?)

interestingly the nagios logo and the big '?' logo are correctly displayed
in the statusmap.

any idea ?

thanks in advance

Jerome Alet


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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