Cacti Polling Data but not graphing it on specific graph

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

Moderators: Developers, Moderators

Post Reply
fatchickonadiet
Posts: 3
Joined: Sat Jul 07, 2012 10:21 am

Cacti Polling Data but not graphing it on specific graph

Post by fatchickonadiet »

I've run into something strange, when trying to graph (1) oid for a call manager.
I'm actually graphing BOTH of my call managers and both are acting this same way.

I'm graphing some data for a host using "SNMP - Generic OID Template"

I've verified from the command line that i get data, the value returned is 842
=========
snmpget -v 2c -c slabro 10.100.0.38 .1.3.6.1.4.1.9.9.156.1.5.5.0
SNMPv2-SMI::enterprises.9.9.156.1.5.5.0 = Counter32: 842
=========

I've upped the logging in cacti to show the poller and it too returns 842
===========
07/07/2012 10:15:11 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\41\97.rrd --template snmp_oid 1341674111:842
07/07/2012 10:15:11 AM - CMDPHP: Poller[0] Time: 9.0559 s, Theads: N/A, Hosts: 20
07/07/2012 10:15:11 AM - CMDPHP: Poller[0] Host[41] DS[97] SNMP: v2: 10.100.0.38, dsname: snmp_oid, oid: .1.3.6.1.4.1.9.9.156.1.5.5.0, output: 842
07/07/2012 10:15:11 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\40\96.rrd --template snmp_oid 1341674111:0
============

However my graphs show no data being graphed.

I am graphing another host with the same template but different OID and it works.

what's strange about this one OID on this host that is not showing up on the graph??

Image


hmmmm
fatchickonadiet
Posts: 3
Joined: Sat Jul 07, 2012 10:21 am

Re: Cacti Polling Data but not graphing it on specific graph

Post by fatchickonadiet »

<<<< SOLVED >>>>>>

It seems like a bug.


So my data source had a "Maximum Value" of 100.

I created the graph anyway with the "Maximum Value" of 100, then i went back and changed it to 9999

Well it never really updates the rrd, so data is never graphed.

The solution was to DELETE the graph, and remake it. This time setting the Maximum Value to 9999 first, before i hit the SAVE button.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti Polling Data but not graphing it on specific graph

Post by gandalf »

This is part of my advice at 2nd link of my sig. Yep, kinda FAQ
R.
fatchickonadiet
Posts: 3
Joined: Sat Jul 07, 2012 10:21 am

Re: Cacti Polling Data but not graphing it on specific graph

Post by fatchickonadiet »

I didnt really find this in the FAQ, if so I apologize as i do not see the section that it's in. It seems more like a bug, as you can never change the datasource max value after it's initially set.

I created the graph, it had a datasource max value of the default 100.
I was getting no data.
I realized that the data was coming in with a value of 842.
I changed the datasource max value to 9999.
The graph was still blank....

==solution==
I had to totally delete the graph/datasource and build it from scratch.
I had to set the datasource max value to 9999 before i saved the graph.
The graph started working properly.

It seems that once you create the graph, you can never really change the datasource max value, as the backend never takes the change.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti Polling Data but not graphing it on specific graph

Post by gandalf »

fatchickonadiet wrote:I didnt really find this in the FAQ, if so I apologize as i do not see the section that it's in. It seems more like a bug, as you can never change the datasource max value after it's initially set.
This is done on purpose. Yep, value of "100" is kinda random.
==solution==
I had to totally delete the graph/datasource and build it from scratch.
I had to set the datasource max value to 9999 before i saved the graph.
The graph started working properly.

It seems that once you create the graph, you can never really change the datasource max value, as the backend never takes the change.
That's not required. As I stated in my debugging link, you will have to change the Data Template for all NEW rrd files to be created. And you will have to rrdtool tune all OLD/EXISTING rrd files. This will preserve all data already sampled (well, it will not FIX issues you had before, to be honest)
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests