WARNING: Result from SNMP not valid. Partial Result:

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

Moderators: Developers, Moderators

Post Reply
eger
Cacti User
Posts: 62
Joined: Tue Nov 18, 2003 1:20 am

WARNING: Result from SNMP not valid. Partial Result:

Post by eger »

I searched and could only find a couple posts with these warnings. but were related to other problems. I gett logs filled very quickly with all these warnings and was wondering if there was a fix or any idea why these would be popping up? I am just using the Cisco Router templates to graph lots of switchs. here si what I keep getting lots of in my logs:

Code: Select all

01/01/2005 03:50:02 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:02 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:02 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:02 PM - CMDPHP: Poller[0] Host[2] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:07 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:07 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:07 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:07 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:08 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:09 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:11 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:15 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:17 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:22 PM - CMDPHP: Poller[0] Host[9] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:40 PM - CMDPHP: Poller[0] Host[10] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:50:48 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:05 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:07 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:10 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:12 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:14 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:17 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:19 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
01/01/2005 03:51:21 PM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid.  Partial Result:
I have checked and can't find any odd characters or values being returned by the switches. They are mostly Cisco 2900XL switches and some 3COM.

Thanks!
Thomas
Cacti User
Posts: 112
Joined: Thu Dec 09, 2004 1:51 pm
Location: Austria

Post by Thomas »

I find this messages in my logs as well.
I think this happens when you query an OID that doesn't return any data. I see this problem when I use the Windows Host template against a W2K machine. This kind of problem doesn't occur with a W2K3 maschine.
Thomas Rupp
eger
Cacti User
Posts: 62
Joined: Tue Nov 18, 2003 1:20 am

Post by eger »

hmm wonder if this is a bug. or if i should be redisgning all my templates to fit that specific switch.

maybe this could be a future option (do not report partial results)? i guess it is a warning though.
jcaesar
Posts: 32
Joined: Mon Nov 01, 2004 5:07 pm
Location: Atlanta, GA

Post by jcaesar »

You can turn the logging level up to debug for a polling cycle and see which OIDs aren't returning valid values. You can use snmpget or some other SNMP tool to see if you are polling for a value that exists.

More often than not, I was trying to graph something that didn't exist on the router (IOS too old to have the correct OIDs, or something similar). Although, once I received these messages when the device was returning valid data and it seems to have been related to the version of PHP I was using. I had to downgrade to a version that I knew worked.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I have ran into an interesting problem...

When I was polling the number of users on a AIX 5.2 box, I kept getting the partial results message for that OID. Upon quering the OID manually, NET-SNMP snmpget generated a warning that it returned a "Wrong Type (should be Gauge32 or Unsigned32)", and the value returned was an integer.

As it stands right now, I don't know if this behavor is AIX fault and if cacti should be more forgiving about types returned. I have to look into it and see what I can find.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Rony,

You may have conflicting MIB files in Net-SNMP or a bad version of Net-SNMP. Sometimes Net-SNMP get's confused if you have multiple MIB's declaring the same OID. However, I would suspect that Net-SNMP may in fact have a problem.

Larry
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?
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Another correction would be to delete the AIX mib file. I don't know about forgiveness here, but it's something to consider.

Larry
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?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Nope, this is the IBM supplied AIX hostmib agent for the IBM supplies SNMP daemon. :)

Alternative is to change the mib that the hostmib agent is loading to correct the issue. But my concern is that the result, all be it, incorrect, is still a number. And there should be a way to use it anyways. There are implementations that are wrong that you can't modify the mib or values on.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
brycenesbitt
Posts: 3
Joined: Wed Jan 20, 2010 3:22 am

Host numbers?

Post by brycenesbitt »

Tip: To look up the host numbers "Host[x]" see host.php of the "host" table in mysql.
rdh043000
Posts: 1
Joined: Fri Jan 22, 2010 12:43 pm

No data from query

Post by rdh043000 »

I'm assuming the warning message occurs only when no data is returned. I'm adding 4 data sources for every port of every switch, regardless if a user is plugged into the port or not.

So these lines in my log make it an annoyance to wade through. I went to the poller options and Poller Warnings is unchecked, my log level is set to LOW.

Should I be seeing these warning messages still?
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The latest version of spine discards messages for ports/devices that have non-working MIBS until you switch to MEDIUM logging level.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests