Missing Icon Link when adding "Extended Service Information"
Michael Carel
kirby_12172004 at yahoo.com
Wed Jul 20 12:27:51 CEST 2005
Hi to all,
Im adding a icon link to see the RRD graphs generated
by APAN. APAN works properly as i can access the
generated graph when browsing manually since the Icon
Link that i defined in cgi.cfg does'nt work.
I set the following in Nagios:
cgi.cfg:
#APAN EXTINFOFILE
xedtemplate_config_file=/usr/local/nagios/etc/servicextinfo-apan
servicextinfo-apan:
# Localhost PING Service
define serviceextinfo {
host_name localhost
service_description PING
notes_url
/nagios/cgi-bin/apan-sql.cgi?host=localhost&service=PING
icon_image graph.png
icon_image_alt View Apan-graphs
}
services.cfg:
define service{
use
generic-service ; Name of service template to
use
host_name localhost
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 960
notification_period 24x7
check_command
apan-sql!ping!100.0,20%!500.0,60%
}
The graph.png was properly placed in its directory. Do
I missed something in this config?
Please help us here.... tnx
Mike
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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