I finally gave up working on it and went to sleep. I woke up this morning and to my surprise I had graph data.
After the master and slaves had been running and updating RRDs for nearly 10 hours, it finally started drawing data on the graphs. I can't really explain except maybe by the fact that I change up my RRD database to account for the 20 pings every 30 seconds. *** Database *** step = 30 pings = 20 AVERAGE 0.5 1 20160 #7-day worth 30-second avg AVERAGE 0.5 10 8640 #30-day worth 5-minute avg AVERAGE 0.5 30 38400 #400-day worth 15-minute avg MIN 0.5 10 8640 MAX 0.5 10 8640 MIN 0.5 30 38400 MAX 0.5 30 38400 I'm not sure if by changing that it takes longer for smokeping to calculate or something before it has enough data to draw on the graphs. /Ryan Jon Bendtsen wrote: > On 05/11/2008, at 01.18, Ryan Harden wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hello, >> >> I've just installed a new smokeping 2.4.2 instance and have several >> slaves set all using the fping probe to ping each other. I have >> verified >> that the RRDs are updating properly by looking at the RRDs and putting >> the smokeping daemon in debug mode to verify the receipt of data on >> the >> master. >> >> When I view the smokeping web frontend all graphs display NaN for all >> data points. Smokeping has been running for a couple hours now and >> updating the RRDs for this time. >> >> I have a few other 2.3.x smokeping installations that are working >> properly so I don't believe I have missed any necessary steps in the >> set >> up process. >> >> Sample Debug Output: >> Nov 4 18:06:30 smoke1 smokeping[13660]: Calling >> RRDs::update(/services/netmetrics/applications/smokeping/data/ >> METRICS/mmon1-1~mmon8-1.rrd >> - --template >> uptime:loss:median:ping1 >> :ping2 >> :ping3 >> :ping4 >> :ping5 >> :ping6 >> :ping7 >> :ping8 >> :ping9 >> :ping10 >> :ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 >> 1225872580:U: >> 0:2.8000000000e-04:2.6000000000e-04:2.6000000000e-04:2.7000000000e-04:2.7000000000e-04:2.7000000000e-04:2.8000000000e-04:2.8000000000e-04:2.8000000000e-04:2.8000000000e-04:2.8000000000e-04:2.8000000000e-04:2.8000000000e-04:2.8000000000e-04:2.9000000000e-04:2.9000000000e-04:2.9000000000e-04:3.0000000000e-04:3.0000000000e-04:3.1000000000e-04:3.2000000000e-04) >> >> To me it seems that the smokeping.cgi script isn't generating the >> graphs >> properly. Apache is being run as the same user that owns the RRDs. >> This >> user has access to all smokeping components. > > Have you tried running it manually as the apache user from a console? > > _______________________________________________ > smokeping-users mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
