GigE interface graphs empty or missing data

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

Moderators: Developers, Moderators

Post Reply
User avatar
Justeco
Posts: 5
Joined: Mon Sep 12, 2005 7:27 pm

GigE interface graphs empty or missing data

Post by Justeco »

I'm new to Cacti so I may be doing something wrong.

I am gathering traffic data from two Cisco 3550 Layer 3 switches in my data center. All the graphs for my Fast Ethernet interfaces look great and were cake to set up (Thanks cacti guys!). However, the graphs for my GigE interfaces have been problematic from the start. I ussually get blank graphs with NaN being the value for everything. I spent last night playing with the graph types (64bit counter, or not, etc...) I have increased the max data values on the Data Sources to 1000000000000, but I don't think that is dong anything. I finally gave up last night about midnight, but when I came in this morning, the graph I was playing with actually did create data from about midnight to 8:30 this morning... Then it seemed to stop and leave a big hole in the data for the past few hours. New graphs that I have created on the other GigE interfaces since then are being created empty.

Am I doing something wrong, or is this the "missing data" issue I am reading a few posts about?

Thanks in advance,
--Justeco

Image
Image
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Turn on debugging in cacti and look in the log file for that host. Is cacti still collecting any data?
User avatar
Justeco
Posts: 5
Joined: Mon Sep 12, 2005 7:27 pm

What should I debug?

Post by Justeco »

BSOD2600 wrote:Turn on debugging in cacti and look in the log file for that host. Is cacti still collecting any data?
I'm not sure where you mean for me to turn on Debugging. In the data source debugging it shows me the rrdtool arguments (I guess you call them) and in the graphic debugging it says "rrdtool: OK".

So I took a look at the rra file, as I have before to try to figure this out, and it is being updated, but I'm not sure it is getting all the data it needs...

Code: Select all

filename = "3550_1_bdc_room_a_traffic_in_202.rrd"
rrd_version = "0001"
step = 300
last_update = 1126976702
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0.0000000000e+00
ds[traffic_in].max = 1.0000000000e+10
ds[traffic_in].last_ds = "U"
ds[traffic_in].value = 0.0000000000e+00
ds[traffic_in].unknown_sec = 2
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0.0000000000e+00
ds[traffic_out].max = 1.0000000000e+10
ds[traffic_out].last_ds = "U"
ds[traffic_out].value = 0.0000000000e+00
ds[traffic_out].unknown_sec = 2
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 1
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 1
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 13
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 13
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 205
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 205
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 1
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 1
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 13
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 13
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 205
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 205
And here's the same file 5 minutes later:

Code: Select all

filename = "3550_1_bdc_room_a_traffic_in_202.rrd"
rrd_version = "0001"
step = 300
last_update = 1126977001
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0.0000000000e+00
ds[traffic_in].max = 1.0000000000e+10
ds[traffic_in].last_ds = "U"
ds[traffic_in].value = 0.0000000000e+00
ds[traffic_in].unknown_sec = 1
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0.0000000000e+00
ds[traffic_out].max = 1.0000000000e+10
ds[traffic_out].last_ds = "U"
ds[traffic_out].value = 0.0000000000e+00
ds[traffic_out].unknown_sec = 1
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 2
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 2
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 14
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 14
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 206
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 206
rra[4].cf = "MAX"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 2
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 2
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 14
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 14
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 206
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 206
[/code]
User avatar
Justeco
Posts: 5
Joined: Mon Sep 12, 2005 7:27 pm

Some log file data

Post by Justeco »

This may have something to do with it. My cacti.log is full of this:

Code: Select all

09/17/2005 10:25:02 AM - SYSTEM STATS: Time:1.1701 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:116 RRDsProcessed:58
09/17/2005 10:30:01 AM - CMDPHP: Poller[0] Host[2] DS[202] WARNING: Result from SNMP not valid.  Partial Result: 
09/17/2005 10:30:01 AM - CMDPHP: Poller[0] Host[2] DS[202] WARNING: Result from SNMP not valid.  Partial Result: 
09/17/2005 10:30:01 AM - CMDPHP: Poller[0] Host[2] DS[203] WARNING: Result from SNMP not valid.  Partial Result: 
09/17/2005 10:30:01 AM - CMDPHP: Poller[0] Host[2] DS[203] WARNING: Result from SNMP not valid.  Partial Result: 
09/17/2005 10:30:01 AM - CMDPHP: Poller[0] Host[3] DS[208] WARNING: Result from SNMP not valid.  Partial Result: 
09/17/2005 10:30:01 AM - CMDPHP: Poller[0] Host[3] DS[208] WARNING: Result from SNMP not valid.  Partial Result:
Not sure why it would work for all the FE interfaces and not the ggE (well, it did for a while on one). I don't think I have any odd SNMP settings--JFFNMS used basically all the same support software and didn't have this issue. (I only say because I think it is an issue with cacti).

--Justeco
User avatar
Justeco
Posts: 5
Joined: Mon Sep 12, 2005 7:27 pm

Solved!

Post by Justeco »

I was trying to use 64bit counters with snmpv1, which apparently doesn't work. Perhaps it shouldn't be an available option when using snmpv1 so that idiots like me don't try it?

Anyway...
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

how would you ever learn then?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests