Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Hello to All.
I have a problem with getting data by SNMP from my device. At logs I've got this messages:
09/05/2012 10:52:03 AM - CMDPHP: Poller[0] Host[90] DS[4093] SNMP: v3: 10.*.*.*, dsname: errors_out, oid: .1.3.6.1.2.1.2.2.1.20.3, output: U
09/05/2012 10:52:03 AM - CMDPHP: Poller[0] Host[90] DS[4093] WARNING: Result from SNMP not valid. Partial Result: U
09/05/2012 10:52:03 AM - CMDPHP: Poller[0] Host[90] DS[4091] SNMP: v3: 10.*.*.*, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.11, output: U
09/05/2012 10:52:03 AM - CMDPHP: Poller[0] Host[90] DS[4091] WARNING: Result from SNMP not valid. Partial Result: U
09/05/2012 10:52:02 AM - CMDPHP: Poller[0] Host[90] DS[4092] WARNING: Result from SNMP not valid. Partial Result: U
09/05/2012 10:52:01 AM - CMDPHP: Poller[0] Host[90] DS[4088] SNMP: v3: 10.*.*.*, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.7, output: U
09/05/2012 10:52:01 AM - CMDPHP: Poller[0] Host[90] DS[4088] WARNING: Result from SNMP not valid. Partial Result: U
09/05/2012 10:52:00 AM - CMDPHP: Poller[0] Host[90] DS[4087] SNMP: v3: 10.*.*.*, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.5, output: U
09/05/2012 10:52:00 AM - CMDPHP: Poller[0] Host[90] DS[4087] WARNING: Result from SNMP not valid. Partial Result: U
But if I send request from snmwalk all works well:
snmpwalk -v3 -a MD5 -u ### -l authNoPriv -A ### -O n 10.*.*.* .1.3.6.1.2.1.2.2.1.14.5 .1.3.6.1.2.1.2.2.1.14.5 = Counter32: 23
snmpwalk -v3 -a MD5 -u ### -l authNoPriv -A ### -O n 10.*.*.* .1.3.6.1.2.1.2.2.1.20.3 .1.3.6.1.2.1.2.2.1.20.3 = Counter32: 0
snmpwalk -v3 -a MD5 -u ### -l authNoPriv -A ### -O n 10.*.*.* .1.3.6.1.2.1.31.1.1.1.6.11 .1.3.6.1.2.1.31.1.1.1.6.11 = Counter64: 1380052854
snmpwalk -v3 -a MD5 -u ### -l authNoPriv -A ### -O n 10.*.*.* .1.3.6.1.2.1.31.1.1.1.10.7 .1.3.6.1.2.1.31.1.1.1.10.7 = Counter64: 59846794
snmpwalk -v3 -a MD5 -u ### -l authNoPriv -A ### -O n 10.*.*.* .1.3.6.1.2.1.31.1.1.1.6.5 .1.3.6.1.2.1.31.1.1.1.6.5 = Counter64: 6045107
It's Cisco interface data (traffic (64bit counetrs) and errors). Data in rrd files is "NaN". I don't know what to do with it..
I'd run it in debug mode to see what is going on.
Also make sure your device is reachable via snmp(i.e., the device info shows up at the top of the device details page, and it doesn't say snmp error).
-Dan
Please mark the topic solved if this resolves your problem.
I think it could be your snmpv3 contexts on a cisco device. Make sure you either put in a context in the configuration for the ports the vlans are in, or make sure you have all the vlans assigned to the group you are using.
The command to add all vlans looks like this:
snmp-server group v3group v3 auth context vlan- match prefix
-Dan
Please mark the topic solved if this resolves your problem.
Are you sure your paths are setup correctly for snmp?
Is this windows or Linux?
If you are on linux, if you do a which snmpwalk is it the same one as your path?
-Dan
Please mark the topic solved if this resolves your problem.
Yes, I'm sure that paths is right, becouse I have more 100 devices at monitoring, but only from 2 of them cacti can't take any information (from the moment of creation this devices).
I'm using linux server.
It may be worth checking whether php-snmp is in use or not. Click on the cactus on the left menu to know. You may want to de-install it to use net-snmp binaries. php-snmp had issues with SNMP V3 hosts in the past ...
R.
As me said cactus ( ):
Operating System: unix
PHP SNMP Support: yes
But from this I don't see is cacti using PHP SNMP or not. I only see that it supports. And how I can de-install PHP SNMP and make cacti to use binary net-snmp? Is de-install PHP-SNMP packet is enough for this?