[Apan-users] Empty graphics
Status: Beta
Brought to you by:
useless
|
From: Eduardo P. <ep...@nc...> - 2006-11-22 11:27:16
|
I've done everything but my graphics still don't paint anything.
The only thing that seems to be wrong is the fact that when I add a new
service, using apanconf-sql, the file etc/servicextinfo-apan presents this
output:
define serviceextinfo {
host_name windows2000
service_description Network
notes_url
/nagios/sbin/apan-sql.cgi?host=windows2000&service=Network
icon_image graph.png
icon_image_alt View Apan-graphs
}
but I have to modify the url like this to have the link available in the
browser:
notes_url
/nagios/cgi-bin/apan-sql.cgi?host=windows2000&service=Network-usage
I don't know why this happen because I don't even have any cgi-bin directory.
I write here the last lines of my /tmp/apancgi.debug file:
....
Wed Nov 22 12:01:19 CET 2006 /usr/bin/rrdtool graph - -s -31557600 -a PNG
-v Bytes/sec -w 640 -h 100
DEF:var0=/usr/local/nagios/rrd/windows2000-Network.rrd:IN:AVERAGE
LINE2:var0#ff0000:IN:
DEF:var1=/usr/local/nagios/rrd/windows2000-Network.rrd:OUT:AVERAGE
LINE2:var1#00ff00:OUT:
Wed Nov 22 12:01:19 CET 2006 QS: 11&157788000, Width: , Height:
Wed Nov 22 12:01:19 CET 2006 /usr/bin/rrdtool graph - -s -2851200 -a PNG
-v Bytes/sec -w 640 -h 100
DEF:var0=/usr/local/nagios/rrd/windows2000-Network.rrd:IN:AVERAGE
LINE2:var0#ff0000:IN:
DEF:var1=/usr/local/nagios/rrd/windows2000-Network.rrd:OUT:AVERAGE
LINE2:var1#00ff00:OUT:
Wed Nov 22 12:01:19 CET 2006 File:
/usr/local/nagios/rrd/windows2000-Network.rrd, Unit: Bytes/sec, Argids: 16
17
Wed Nov 22 12:01:19 CET 2006 /usr/bin/rrdtool graph - -s -157788000 -a PNG
-v Bytes/sec -w 640 -h 100
DEF:var0=/usr/local/nagios/rrd/windows2000-Network.rrd:IN:AVERAGE
LINE2:var0#ff0000:IN:
DEF:var1=/usr/local/nagios/rrd/windows2000-Network.rrd:OUT:AVERAGE
LINE2:var1#00ff00:OUT:
.....
Thanks for your time.
|