No data in Apan graph
Fredrik Wänglund
Fredrik.Wanglund at datavis.se
Fri Dec 20 08:17:18 CET 2002
Is the RRD-file writeable by the nagios-user?
Try to uncomment the line
# debug "Inserting '$TEMPL' , '$DATA' into $RRDFILE"
In apan.sh (somewhere around line 88) and se if it looks ok in apan.debug.
/FredrikW
-----Original Message-----
From: Desmond Chia [mailto:desmondc at bii.a-star.edu.sg]
Sent: Fri 20-Dec-02 07:13
To: Fredrik Wänglund; nagios-users at lists.sourceforge.net
Cc:
Subject: Re: [Nagios-users] No data in Apan graph
Yup,
The apan.debug shows the expected result.. I'm beginning to think that it's
the problem with the rrd file. I have included the apan.debug,
apancfg.debug, apan.cfg and the rrd file.
The command which i used to create the rrd file is:
rrdtool create /usr/local/nagios/rrd/startap-ping.rrd -s 60
DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800
Anyone has any idea?
======================================
Desmond Chia.
BioInformatics Institute
Laboratories for Information Technology
21 Heng Mui Keng Terrace
Level 3, #03-36
Singapore 119613
desmondc at bii.a-star.edu.sg
http://student.bii.a-star.edu.sg/~desmondc/
======================================
----- Original Message -----
From: "Fredrik Wänglund" <Fredrik.Wanglund at datavis.se>
To: "Chia Teck Meng Desmond" <desmondc at bii.a-star.edu.sg>;
<nagios-users at lists.sourceforge.net>
Cc: <desmondc at bii.a-star.edu.sg>
Sent: Thursday, December 19, 2002 5:29 PM
Subject: RE: [Nagios-users] No data in Apan graph
Have you checked /tmp/apan.debug for any clues?
/FredrikW
-----Original Message-----
From: Chia Teck Meng Desmond [mailto:desmondc at bii.a-star.edu.sg]
Sent: Thu 19-Dec-02 04:10
To: nagios-users at lists.sourceforge.net
Cc: desmondc at bii.a-star.edu.sg
Subject: [Nagios-users] No data in Apan graph
Hi,
I'm a beginner in using Nagios and with Apan. I am using Apan 0.2.0 with
Nagios 1.0.
I tried the exact configuration steps as listed on the Apan website on the
measure of the ping round-trip times. The host that I pinged was
www.startap.com. The time was around 300ms.
The graphs appeared but there was no data in the graph. The graph
shows a red line (LINE2), constantly at the zero line. The data in the
rrd file is seems to be empty, except for a few entries where the data is
too small.
I extracted some listings of the rrd file:
1040265000: 0.0000000000e+00
1040265060: 0.0000000000e+00
1040265120: 0.0000000000e+00
1040265180: 0.0000000000e+00
1040265240: 0.0000000000e+00
1040265300: 0.0000000000e+00
1040265360: 0.0000000000e+00
1040265420: 0.0000000000e+00
1040265480: 0.0000000000e+00
1040265540: 0.0000000000e+00
1040265600: 0.0000000000e+00
1040265660: 0.0000000000e+00
1040265720: 0.0000000000e+00
1040265780: 0.0000000000e+00
1040265840: 0.0000000000e+00
1040265900: 0.0000000000e+00
1040265960: nan
1040266020: nan
1040266080: nan
Can someone help me out here?
Cheers,
Desmond.
-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
More information about the Users
mailing list