WARNING: Result from SNMP not valid. Partial Result: Wrong T

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

Moderators: Developers, Moderators

Post Reply
sluce
Posts: 15
Joined: Sun Mar 12, 2006 11:48 am

WARNING: Result from SNMP not valid. Partial Result: Wrong T

Post by sluce »

I am using Cacti 0.8.6f-2ubuntu1
Linux version 2.6.12-10-386
I have searched Google and this forum but cannot find a solution to the error message WARNING: Result from SNMP not valid. Partial Result: Wrong T

snmpwalk produces:
snip ...
ifOutOctets.1 = Wrong Type (should be Counter32): INTEGER: 1024331306

The device, a Tranzeo TR-5A-21db, doc says:
Version 2.0.1 supports MIB-II and the 80211 mib.
Note: The in and out values are in 64 bit values to accommodate the high amount of traffic that could pass through a
backhaul link. This should not impact any monitoring program.

I have an 80211MIB.txt file but I have no idea how to install it.
sluce
Posts: 15
Joined: Sun Mar 12, 2006 11:48 am

Any hints?

Post by sluce »

Can anyone point me in the right direction. I'm excited about using Cacti but I'm stuck on this problem.
sluce
Posts: 15
Joined: Sun Mar 12, 2006 11:48 am

I've partially fixed this but get variable results from snmp

Post by sluce »

I changed IF-MIB.txt ifInOctets and ifOutOctets to INTEGER, deleted .index in /usr/share/snmp/mibs and ran snmpwalk. Now I get correct results for one IP address but when I issue the same command against a different router, I get the Wrong Type (should be INTEGER) message for the same variables. How can this be?
sluce
Posts: 15
Joined: Sun Mar 12, 2006 11:48 am

Poller debug output

Post by sluce »

64.117.232.63 works
192.168.20.14 doesn't

03/13/2006 06:25:12 PM - SYSTEM STATS: Time: 8.0415 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 5, Hosts/Process: 5, Data Sources 13, RRDs Processed 9
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/frame_relay_192_168_20_14_traffic_in_15.rrd --template traffic_out:traffic_in 1142292306:U:U
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/192_168_253_1_traffic_in_13.rrd --template traffic_in:traffic_out 1142292306:U:U
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/judy_xxx_traffic_in_10.rrd --template traffic_in:traffic_out 1142292306:223:255
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/judy_xxx_traffic_in_9.rrd --template traffic_in:traffic_out 1142292306:13397160:1257625
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_proc_7.rrd --template proc 1142292306:99
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_users_6.rrd --template users 1142292306:1
03/13/2006 06:25:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1142292306:0.66:0.39:0.29
03/13/2006 06:25:11 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.29' [map 10min->load_15min]
03/13/2006 06:25:11 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.39' [map 5min->load_5min]
03/13/2006 06:25:11 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.66' [map 1min->load_1min]
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Time: 4.6920 s, Theads: N/A, Hosts: 4
03/13/2006 06:25:11 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[10] DS[15] SNMP: v1: 192.168.20.14, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: U
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[10] DS[15] WARNING: Result from SNMP not valid. Partial Result: Wrong Type (should b
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[10] DS[15] SNMP: v1: 192.168.20.14, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: U
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[10] DS[15] WARNING: Result from SNMP not valid. Partial Result: Wrong Type (should b
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[10] SNMP: Host responded to SNMP
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[7] DS[13] SNMP: v1: 192.168.253.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: U
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[7] DS[13] WARNING: Result from SNMP not valid. Partial Result: Wrong Type (should b
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[7] DS[13] SNMP: v1: 192.168.253.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: U
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[7] DS[13] WARNING: Result from SNMP not valid. Partial Result: Wrong Type (should b
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[7] RECACHE: Processing 1 items in the auto reindex cache for '192.168.253.1'.
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[7] SNMP: Host responded to SNMP
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[4] DS[10] SNMP: v1: 64.117.232.63, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 255
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[4] DS[10] SNMP: v1: 64.117.232.63, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 223
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[4] DS[9] SNMP: v1: 64.117.232.63, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 1257625
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[4] DS[9] SNMP: v1: 64.117.232.63, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 13397160
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for '64.117.232.63'.
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
03/13/2006 06:25:11 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /usr/share/cacti/site/scripts/unix_processes.pl, output: 99
03/13/2006 06:25:10 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /usr/share/cacti/site/scripts/unix_users.pl, output: 1
03/13/2006 06:25:10 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_swap_4.rrd --template mem_swap 1142292306:247616
03/13/2006 06:25:10 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1142292306:2728
03/13/2006 06:25:10 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /usr/share/cacti/site/scripts/loadavg_multi.pl, output: 1min:0.66 5min:0.39 10min:0.29
03/13/2006 06:25:10 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl SwapFree:, output: 247616
03/13/2006 06:25:10 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /usr/share/cacti/site/scripts/linux_memory.pl MemFree:, output: 2728
03/13/2006 06:25:08 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
03/13/2006 06:25:08 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
03/13/2006 06:25:08 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/13/2006 06:25:08 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
03/13/2006 06:25:08 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
03/13/2006 06:25:08 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
03/13/2006 06:25:08 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www
03/13/2006 06:25:08 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
03/13/2006 06:25:05 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/cmd.php 0 10]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You should contact your router vendor. However, to prevent these errors from occuring, you should find the most minimal MIB file, say, RFC-1215 and set an system environment variable called "MIBS". Set it to the following:

MIBS=RFC-1215.txt (or whatever extension, if any)

Then, run your poller again.

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?
sluce
Posts: 15
Joined: Sun Mar 12, 2006 11:48 am

That fixed it.

Post by sluce »

Thanks so much!
j2sw
Posts: 7
Joined: Mon Mar 14, 2005 3:14 pm

Post by j2sw »

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests