Cacti graph 0 or NaN values

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

Moderators: Developers, Moderators

Post Reply
diskun
Posts: 3
Joined: Fri Aug 09, 2013 6:49 am

Cacti graph 0 or NaN values

Post by diskun »

Hi all,

Hope you can help me with a problem on cacti.

Yesterday I started to configure many devices to monitor with Cacti. Right now I have 40 or 41 graphing devices.

But now if I add more devices, problems appears.
First, Cacti doesn't create the .rrd files on new devices. This is because the new device was not in state "Up". I've solved setting the "Downed Device Detection" to "Ping or SNMP Uptime" instead "SNMP Uptime".
Now the graphs of the new devices are created, but show 0 or NaN values.
This is not true because when I run command "snmpwalk", devices returns correct values.

Any idea?

Cacti version: 0.8.8 (Debian repository)
OS: Debian wheezy 7 64-bit

Sorry, my english is poor
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti graph 0 or NaN values

Post by gandalf »

Please see debugging help at 2nd link of my sig
R.
diskun
Posts: 3
Joined: Fri Aug 09, 2013 6:49 am

Re: Cacti graph 0 or NaN values

Post by diskun »

Hello Gandalf,

I have reviewed file /var/log/cacti/cacti.log and the 2 hosts not plotted, multiple records appear as follows:

Code: Select all

08/13/2013 09:11:55 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/idi_load_1min_1474.rrd --template load_1min 1376377865:U
08/13/2013 09:11:57 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.2.36', and OID:'.1.3.6.1.4.1.2021.10.1.3.3'
08/13/2013 09:11:57 AM - CMDPHP: Poller[0] Host[67] DS[1475] WARNING: Result from SNMP not valid.  Partial Result: U
08/13/2013 09:11:57 AM - CMDPHP: Poller[0] Host[67] DS[1475] SNMP: v3: 10.1.2.36, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: U
08/13/2013 09:11:57 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/idi_load_15min_1475.rrd --template load_15min 1376377865:U
08/13/2013 09:11:59 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.2.36', and OID:'.1.3.6.1.4.1.2021.10.1.3.2'
08/13/2013 09:11:59 AM - CMDPHP: Poller[0] Host[67] DS[1476] WARNING: Result from SNMP not valid.  Partial Result: U
08/13/2013 09:11:59 AM - CMDPHP: Poller[0] Host[67] DS[1476] SNMP: v3: 10.1.2.36, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: U
08/13/2013 09:11:59 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/idi_load_5min_1476.rrd --template load_5min 1376377865:U
08/13/2013 09:12:01 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.2.36', and OID:'.1.3.6.1.4.1.2021.4.14.0'
08/13/2013 09:12:01 AM - CMDPHP: Poller[0] Host[67] DS[1477] WARNING: Result from SNMP not valid.  Partial Result: U
08/13/2013 09:12:01 AM - CMDPHP: Poller[0] Host[67] DS[1477] SNMP: v3: 10.1.2.36, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: U
But if I run snmpwalk command, returns me correct values.

I have also run the command:

Code: Select all

php-q /usr/share/cacti/site/cmd.php 67 67
(67 is hostt's id that fails)

And on that host graph in that time interval (5 minuts). But if I run the command:

Code: Select all

php-q /usr/share/cacti/site/cmd.php
The host with id 67 and 68, not graph.

I do not understand
diskun
Posts: 3
Joined: Fri Aug 09, 2013 6:49 am

Re: Cacti graph 0 or NaN values

Post by diskun »

gandalf wrote:Please see debugging help at 2nd link of my sig
R.
Hello Gandalf,

I have reviewed file /var/log/cacti/cacti.log and the 2 hosts not plotted, multiple records appear as follows:

Code: Select all

08/13/2013 09:11:55 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/idi_load_1min_1474.rrd --template load_1min 1376377865:U
08/13/2013 09:11:57 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.2.36', and OID:'.1.3.6.1.4.1.2021.10.1.3.3'
08/13/2013 09:11:57 AM - CMDPHP: Poller[0] Host[67] DS[1475] WARNING: Result from SNMP not valid.  Partial Result: U
08/13/2013 09:11:57 AM - CMDPHP: Poller[0] Host[67] DS[1475] SNMP: v3: 10.1.2.36, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: U
08/13/2013 09:11:57 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/idi_load_15min_1475.rrd --template load_15min 1376377865:U
08/13/2013 09:11:59 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.2.36', and OID:'.1.3.6.1.4.1.2021.10.1.3.2'
08/13/2013 09:11:59 AM - CMDPHP: Poller[0] Host[67] DS[1476] WARNING: Result from SNMP not valid.  Partial Result: U
08/13/2013 09:11:59 AM - CMDPHP: Poller[0] Host[67] DS[1476] SNMP: v3: 10.1.2.36, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: U
08/13/2013 09:11:59 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/lib/cacti/rra/idi_load_5min_1476.rrd --template load_5min 1376377865:U
08/13/2013 09:12:01 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.2.36', and OID:'.1.3.6.1.4.1.2021.4.14.0'
08/13/2013 09:12:01 AM - CMDPHP: Poller[0] Host[67] DS[1477] WARNING: Result from SNMP not valid.  Partial Result: U
08/13/2013 09:12:01 AM - CMDPHP: Poller[0] Host[67] DS[1477] SNMP: v3: 10.1.2.36, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: U
But if I run snmpwalk command, returns me correct values.

I have also run the command:

Code: Select all

php-q /usr/share/cacti/site/cmd.php 67 67
(67 is hostt's id that fails)

And on that host graph in that time interval (5 minuts). But if I run the command:

Code: Select all

php-q /usr/share/cacti/site/cmd.php
The host with id 67 and 68, not graph.

I do not understand what happens
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests