"Action: 0" in poller cache? (2/7 graphs working)

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kaputnik
Posts: 5
Joined: Mon Jul 11, 2005 3:24 pm

"Action: 0" in poller cache? (2/7 graphs working)

Post by kaputnik »

Anyone know what that means? I see the following in the poller cache for the items that do not graph. The graph shows up but says "nan" or "0.00" for the values. Host is a gentoo linux box, all other graphs work fine. All other working items in the poller cache say "Action: 1".

Data Source: hostname.myhost.com - Traffic - x.x.x.x/eth0
RRD: /var/www/localhost/htdocs/cacti/rra/hostname_myhost_com_traffic_in_44.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: 127.0.0.1, Community: mycommunity)

(I obviously changed the hostname, ip's, and community)

only have 1 device added (localhost). all the other standard graphing is working on localhost. the ones that do not work are "ucd/net cpu usage" and "SNMP get interface stats". I have another gentoo server running the same thing but those are working for all graphs including these 2. The rrd files are being created and I get no errors running the poller as the cacti user.

?

Thanks
Last edited by kaputnik on Mon Jul 11, 2005 4:42 pm, edited 3 times in total.
daga
Posts: 7
Joined: Thu Jul 07, 2005 8:21 am
Location: Norway

Post by daga »

I have a similar problem with High bandwith (>1gig) interfaces on some Cisco switches. I get "nan" in the legend on the graph. And no line or area are presented.
In my poller cache all items have the "Action: 0" thoug.

To me it seems logic that nan means Not A Number, or something like that. So it seems that we are mesuring values to lagre, or numbers not understood bu cacti.

The question is how do we fix it?

Oh.. i Use Cacti v 0.8.6f. And I am polling 7609, 6506 and 12406 cisco boxes. I use 64bit Graph templates.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Set logging to DEBUG for 1 poller pass. Post the output. Also, please verify that you are using snmpV2 and not snmpV1. You can not get 64bit counters with V1.

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?
daga
Posts: 7
Joined: Thu Jul 07, 2005 8:21 am
Location: Norway

Post by daga »

Ive had logging set to Debug for 1 poller pass and this poll is one that I have problems with. (I cut out one for your conveniense, if you need more from the log please let me know.)

07/12/2005 12:25:07 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/oslp1_traffic_in_630.rrd --template traffic_out:traffic_in 1121120702:1135508633478932:2518079053155889

This interface shows the outbound traffic fine, but no inbound traffic. In the Legend I have Current 408 M on outbound and "nan" on Current inbound. On my MRTG graphs currently graphing this interface I see traffic on about 1.2Gig on inbound.

I have set SNMPv2 as default for my cacti install. So all nodes are by default set ut with SNMPv2

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

Post by TheWitness »

Please note:
07/12/2005 12:25:07 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/oslp1_traffic_in_630.rrd --template traffic_out:traffic_in 1121120702:1135508633478932:2518079053155889
The following is the timestamp:
1121120702
The following is inbound:
1135508633478932
The following is outbound:
2518079053155889
I suspect that you need to alter the Cacti Graph Template and increase the Maximum Value to something greater than it currently is. Also, you may have to alter your RRD files to allow an "unspecified" MAX value ("U" or "NaN"). Although, others in this forum would say to something around 1.3Gbps. You use the "rrdtool tune" command to perform these changes as a batch job against named RRD files.

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?
kaputnik
Posts: 5
Joined: Mon Jul 11, 2005 3:24 pm

my debug log

Post by kaputnik »

using "rrdtool tune" worked for me too. Thanks!
daga
Posts: 7
Joined: Thu Jul 07, 2005 8:21 am
Location: Norway

Post by daga »

The "rrdtool tune" did the job alright. Now Im starting to se graphs.

Thanks a lot.

PS. Im talking to my boss about some paypal donations :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest