Result from SNMP not valid

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

Moderators: Developers, Moderators

Post Reply
alin_martin
Posts: 3
Joined: Sun Nov 04, 2007 2:28 pm
Contact:

Result from SNMP not valid

Post by alin_martin »

I have this problem:
11/04/2007 09:35:01 PM - CMDPHP: Poller[0] Host[3] DS[11] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
11/04/2007 09:35:01 PM - CMDPHP: Poller[0] Host[3] DS[11] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
11/04/2007 09:35:01 PM - CMDPHP: Poller[0] Host[3] DS[10] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
11/04/2007 09:35:01 PM - CMDPHP: Poller[0] Host[3] DS[10] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail

this errors apear in cacti for linux machine which i graph. The machine have NET-SNMP version: 5.2.1.2. The cacti software is installed on another linux machine with NET-SNMP version: 5.4, OS FC7 64 bit. I get this error when i put 64 bit counter for graphing network interface. I set up the host with snmp v2 version in cacti devices panel.

From the cacti machine:
snmpwalk -c public -v 2c host.to.graph
.............
IF-MIB::ifOperStatus.6 = INTEGER: down(2)
IF-MIB::ifInOctets.1 = Counter32: 2819328
IF-MIB::ifInOctets.2 = Counter32: 3501927205
IF-MIB::ifInOctets.3 = Counter32: 2136502816
IF-MIB::ifInOctets.4 = Counter32: 3072874243
IF-MIB::ifInOctets.5 = Counter32: 1022111657
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInUcastPkts.1 = Counter32: 37447
IF-MIB::ifInUcastPkts.2 = Counter32: 40500224

After i put v1 and 32 bit counters the graphs are working. With v2c they are showing only na .

Thank you!
User avatar
cflong
Posts: 17
Joined: Thu Oct 25, 2007 8:16 am
Contact:

Post by cflong »

It's possible that the snmpd on your linux system was compiled without 64 bit counter support (for example, I've had this problem with RHEL4/CentOS4).

Try,

Code: Select all

snmpwalk -c public -v 2c host.to.graph | grep -i Counter64
alin_martin
Posts: 3
Joined: Sun Nov 04, 2007 2:28 pm
Contact:

Post by alin_martin »

I verify the snmp and it doesn't have Counter64. When i try to recompile net-snmp i didn't find this option. If u can tell where to search. Tnx
wilfredo
Posts: 1
Joined: Fri Nov 09, 2007 5:30 am

Post by wilfredo »

Since yesterday I leave my graphing cacti, all devices configured, I have not made a change, but in the logs I see this same mistake, I freebsd 6.2
alin_martin
Posts: 3
Joined: Sun Nov 04, 2007 2:28 pm
Contact:

Post by alin_martin »

The problem was the version net-snmp (5.2.1 no 64 counters) and the config of snmpd.conf on the linux machine. My advice is to put in snmpd.conf

view systemview included .1

access public "" any noauth exact systemview none none


with the community u set.

After you make this changes u can put in cacti device list the device to graph with snmp version 2 and then make 64 bit graphs.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests