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??
hmmmm
Cacti Polling Data but not graphing it on specific graph
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Sat Jul 07, 2012 10:21 am
-
- Posts: 3
- Joined: Sat Jul 07, 2012 10:21 am
Re: Cacti Polling Data but not graphing it on specific graph
<<<< 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.
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.
- 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
This is part of my advice at 2nd link of my sig. Yep, kinda FAQ
R.
R.
-
- Posts: 3
- Joined: Sat Jul 07, 2012 10:21 am
Re: Cacti Polling Data but not graphing it on specific graph
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.
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.
- 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
This is done on purpose. Yep, value of "100" is kinda random.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.
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)==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.
R.
Who is online
Users browsing this forum: No registered users and 0 guests