AW: problem with hostextinfo

Thomas.Zimmer at oppenheim.de Thomas.Zimmer at oppenheim.de
Wed Dec 8 14:05:38 CET 2004


hi!
i compiled nagios explicit with the option "-with-default-extinfo"
and added my extended informations to the cgi.cfg.
that works.
greetz, thomas.

----------------------------------------------------------------------------
-----------------
Thomas Zimmer
Sal. Oppenheim jr. & Cie.
Praktikant / IT
Tel.: 069 7134 5319
----------------------------------------------------------------------------
------------


-----Ursprüngliche Nachricht-----
Von: Jerome Alet [mailto:alet at librelogiciel.com] 
Gesendet: Mittwoch, 8. Dezember 2004 10:14
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] problem with hostextinfo


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


-------------------------------------------------------
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