extended service information / apan not shown

Andreas Wassatsch andreas at wassatsch.de
Thu Mar 11 13:44:16 CET 2004


Hi all,

I'm trying to get apan-sql working with nagios. apan works, but Nagios
won't display the apan-icon given in the extended service information.

Interestingly if the apan-link is included in the extended *host* info,
the icon shows up.

Any hint to make nagios display the ext. *service* info correctly too ?

This happens with both nagios-1.2 and nagios-1-x-cvs, both compiled
with:

configure --with-template-objects --with-template-extinfo
--with-mysql-status --with-mysql-comments --with-mysql-retention
--with-mysql-downtime

:

 External Data Routines:
 ------------------------
              Status data:  Database (MySQL)
              Object data:  Template-based (text file)
             Comment data:  Database (MySQL)
            Downtime data:  Database (MySQL)
           Retention data:  Database (MySQL)
          Peformance data:  Default (external commands)
       Extended info data:  Template-based (text file)


my config:
----------

# cat cgi.cfg | grep ^xed
xedtemplate_config_file=/opt/nagios/etc/hostextinfo.cfg
xedtemplate_config_file=/opt/nagios/etc/serviceextinfo.cfg

# more serviceextinfo.cfg
define serviceextinfo  {
host_name              heinbloed
service_description    ping
notes_url             
/nagios/cgi-bin/apan-sql.cgi?host=heinbloed&service=ping
icon_image             graph.png
icon_image_alt         View Apan-graphs
}

# more hostextinfo.cfg
define hostextinfo {
        host_name       heinbloed
        notes_url      
/nagios/cgi-bin/apan-sql.cgi?host=heinbloed&service=ping
        icon_image      graph.png
        icon_image_alt  Apan-graphs
}

Andreas
-- 
Andreas Wassatsch
LPIC-2
using Linux since 0.99pl10		gpg-id: 0x5AC8EA6C


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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