[Apan-users] Missing RRD Graph Link to services
Status: Beta
Brought to you by:
useless
|
From: Michael C. <kir...@ya...> - 2005-07-20 07:26:41
|
Hi to all;
Im just new here in APAN, im using nagios-2.0b3, i've
installed APAN as documented but unable to performed
the "small hacks" part of nagios to status.c, it seems
the new nagios version has a different code than what
is documented in APAN, but still tries to continued
installing APAN. I have a missing rrs graph link to
"Services Detail" where i used to add APAN service to
a certain host. Below is my sample config using
"locahost" and "PING" as a service:
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
}
commandcheck.cfg:
define command{
command_name check_ping
command_line $USER1$/check_ping -H
$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p
5
}
define command {
command_name apan-sql
command_line
/usr/local/nagios/apan-sql/apan-sql.sh $ARG1$
$HOSTNAME$ "
$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$
}
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%
}
RRDs was successfully created under $NagiosDir/rrd..
Services was also created in mysql DB via apancfg.
Is there something i missed? logs and nagios show
successfull ping checks via apan, but i dont see the
rrd graph links to see the rrd graphs.
Any idea why?
Thanks in advance for the help..
Mike
Send instant messages to your online friends http://uk.messenger.yahoo.com
|