graphing other input methods

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mikedrons
Posts: 7
Joined: Wed Apr 28, 2010 9:41 pm

graphing other input methods

Post by mikedrons »

I trying to graph a script the returns 3 data points. The output of the script prints this "PowerTotal:1559,PowerMTU1:1022,PowerMTU2:537"

I see see in the cacti log this:
04/28/2010 10:45:03 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/10_100_10_17_powertotal_24.rrd --template PowerTotal:PowerMTU1:PowerMTU2 1272509102:1559:1022:537

But when I look at the graph the numbers dont make sense. The csv for the same time looks like this:
"2010-04-28 22:45:00","NaN","NaN","0.0000000000e+00"

Sometimes the NaN are in different places and the number is not always zero. Where is my mistake? In the graph template?

These are the directions I am following: http://docs.cacti.net/manual:087:3a_adv ... ut_methods

Thanks, Mike
mikedrons
Posts: 7
Joined: Wed Apr 28, 2010 9:41 pm

Post by mikedrons »

It appears the issue is in the rrd file.

rrdtool info rra/10_100_10_17_powertotal_24.rrd
filename = "rra/10_100_10_17_powertotal_24.rrd"
rrd_version = "0003"
step = 300
last_update = 1272549303
ds[PowerTotal].type = "COUNTER"
ds[PowerTotal].minimal_heartbeat = 600
ds[PowerTotal].min = 0.0000000000e+00
ds[PowerTotal].max = NaN
ds[PowerTotal].last_ds = "2185"
ds[PowerTotal].value = NaN
ds[PowerTotal].unknown_sec = 3

The last_ds value is correct, but the value is NaN.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Do you hace a "," in between? Please replace by a whitespace
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests