Re: [Apan-users] A newbie question
Status: Beta
Brought to you by:
useless
|
From: Sridhar M.N. <sri...@ya...> - 2005-12-01 10:39:25
|
"Sridhar M.N." <sri...@ya...> wrote:
I've installed nagios-2.0b3 and its running great. I installed rrdtool-1.2.6-r1 and the apan-sql addon and I dont want to take a risk of changing status.c, recompile it again and place it in the nagios folder. All the .rrd files are located in /usr/local/nagios/rrd/
Extract of /usr/local/nagios/etc/serviceextinfo-apan file
define serviceextinfo {
host_name Host1
service_description Ping
notes_url /nagios/cgi-bin/apan-sql.cgi?ost=Host1&service=Ping
icon_image graph.png
icon_image_alt View Apan-graphs
}
define serviceextinfo {
host_name Host2
service_description Ping
notes_url /nagios/cgi-bin/apan-sql.cgi?host=Host2&service=Ping
icon_image graph.png
icon_image_alt View Apan-graphs
}
Well, the newbie question is where can I access the graphs if I dont make any changes to the status.c file and recompile it again. Or did I actually miss any step s because nothing seems to happen..
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
Hello again,
Was checking the nagios Service Details and saw that I was getting the error
ping UNKNOWN 01-12-2005 16:07:24 0d 0h 57m 53s 3/3 Apan could not find service.
I have copied and pasted the command in checkcommands.cfg file.
define command { command_name apan-sql command_line /usr/local/nagios/apan-sql/apan-sql.sh $ARG1$ $HOSTNAME$ $SERVICEDESC$ $TIMET$ $ARG2$ $ARG3$ }
I have made the file /usr/local/nagios/apan-sql/apan-sql.sh executable.. Is there anything that I have missed?
I went through the documents many times and I'm sure I haven't missed out anything on installation or configuration part of it..
Thanks in advance
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free. |