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.
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:
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.
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.
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.
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]
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...
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]
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.