serviceextinfo

Tedman Eng teng at dataway.com
Mon Jun 6 23:50:11 CEST 2005


Your example shows you trying to use config files.  
You said you're using a mysql-compiled version of nagios.


Please see documentation on database configuration for nagios:
http://nagios.sourceforge.net/docs/1_0/xdata-db.html

"Extended Data Tables:

There are two tables (named hostextinfo and serviceextinfo) you need to
create in order to store extended data in a database. One table is used to
store extended host information and the other for extended service
information (used by the CGIs). The CGIs need SELECT privileges on these
tables. The main Nagios process does not access these tables at all. "


(If you're not already knee-deep into using Nagios, I'd recommend you
recompile w/o database, since 2.0 does not include database support
natively)


-----Original Message-----
From: Fred Reinthaler [mailto:kex604 at gmail.com]
Sent: Monday, June 06, 2005 1:21 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] serviceextinfo


Hi,

I'm trying to add extended service information so I can have an icon
linking to a graph after installing nagiosgraph (also tried
nagiostat).  The problem is I can't get the icon to display besides
the service.

I have the following line in cgi.cfg:

xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg

And my serviceextinfo.cfg file contains:

define serviceextinfo {
        host_name               ewams
        service_description     PING
        notes_url    
/nagiosgraph/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$
        icon_image              graph.gif
        icon_image_alt          View graphs
        }

My icon is in /usr/share/nagios/htdocs/images/logos and I've got the
correct permissions set for it.  I've spent the past couple of days
trying to troubleshoot this but I cannot figure it out. I'm not
getting any errors in the logs either.

Any ideas on what the problem might be?  I'm using the Debian package
of Nagios version 1.3 with Mysql.

thanks,

fred


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
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: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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