Trouble graphing data

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

Moderators: Developers, Moderators

Post Reply
digitalwav
Posts: 21
Joined: Fri Aug 22, 2008 2:27 pm
Location: New York

Trouble graphing data

Post by digitalwav »

I'm trying to get temp data from a temp probe. I can get the data- the log file shows that the correct output is retrieved:

08/23/2008 12:05:05 PM - CMDPHP: Poller[0] Host[31] DS[438] SNMP: v1: 192.168.0.38, dsname: temp_back_c, oid: .1.3.6.1.4.1.20916.1.7.1.2.1.2.0, output: 10117

the graph is set to divide by 100. But why is it never graphing anything?

I can attach the graph template if needed.
dus001
Posts: 42
Joined: Sun Aug 07, 2005 6:07 am

Post by dus001 »

I would first check the max value (if any) of the datasource:

the "Maximum Value" field in the associated data template.
digitalwav
Posts: 21
Joined: Fri Aug 22, 2008 2:27 pm
Location: New York

Post by digitalwav »

Ok, it was like 600 and in the incoming is clearly higher. I set it to 20,000 and will see how it goes today.
digitalwav
Posts: 21
Joined: Fri Aug 22, 2008 2:27 pm
Location: New York

Post by digitalwav »

Ok, still nuthin. the data is clearly being gotten as the log shows. I've attached the graph and data templates and details from one of the graph template items.

Any other ideas?
Attachments
tempager_back.jpg
tempager_back.jpg (267.2 KiB) Viewed 1864 times
tempager_graph.jpg
tempager_graph.jpg (263.74 KiB) Viewed 1864 times
graphtemplateitem.jpg
graphtemplateitem.jpg (205.29 KiB) Viewed 1864 times
digitalwav
Posts: 21
Joined: Fri Aug 22, 2008 2:27 pm
Location: New York

Post by digitalwav »

Also- here's the debug from the .rrd file

Data Source Debug

/usr/bin/rrdtool create \
/usr/share/cacti/rra/temp1_temp_front_c_439.rrd \
--step 300 \
DS:temp_front_c:GAUGE:600:0:20000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:500 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

digitalwav wrote:Ok, it was like 600 and in the incoming is clearly higher. I set it to 20,000 and will see how it goes today.
Did you rrdtool tune the rrd file?
Reinhard
digitalwav
Posts: 21
Joined: Fri Aug 22, 2008 2:27 pm
Location: New York

Post by digitalwav »

Nupe. What does that do?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This applies the change of the data template the existing files. Please be aware of the fact, that changing a data template does NOT affect any exting rrd file
Reinhard
digitalwav
Posts: 21
Joined: Fri Aug 22, 2008 2:27 pm
Location: New York

Post by digitalwav »

did that on the two rrds and still no graphing. I'm going through your tutorials right now on recreating these. The biggest question I have is on the OID- the one I got from the manufacturer is quite long compared to the ones in your examples.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests