re:WARNING: Result from SNMP not valid. Partial Result: U..

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
vtmgr
Posts: 27
Joined: Wed Aug 11, 2004 2:23 pm
Location: Vermont, USA

re:WARNING: Result from SNMP not valid. Partial Result: U..

Post by vtmgr »

Many of you have probably seen this in your logs, and indeed, there are many causes for it.

I think I have discovered one case, and a fix that seems to work.

In my case, I was monitoring switches with _many_ interfaces.

I turned up debugging, found the OID it was trying to read, plugged it into my MIB browser, and ... it wasn't there!

RTFMing, it turns out the last field in this OID is fairly dynamic, and if one's interfaces are dynamic also(we're moving servers from this switch to another), you may end up with orphaned OIDs.

A fix that worked for me was to go to the devices screen, and update the data query for the interfaces(and related queries, in my case the RFC1643 stats). For good measure, I cleared the poller cache.

There is probably a better way to do this, but here is a start.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to keep the "verify all indexes" option selected and this will almost eliminate the OID mismatches.

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?
georgew
Posts: 21
Joined: Sun May 22, 2005 11:25 am

Post by georgew »

Where is the "verify all indexes" option?

I found a "verify all fields" option... I had to delete the data query and
recreate it with verify all fields" to enable it.

Is there a way to make this the default instead of "uptime goes backwards"?

Thanks!
George
Last edited by georgew on Thu May 17, 2007 12:29 pm, edited 1 time in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Visit "Devices"m select one of them. Scrol down to "Associated Data Queries". Find the column "Re-Index Method". The official method is to delete the Query if the option has a wrong setting and to reapply using the correct setting.
The inofficial one is to change the table directly.
Reinhard
georgew
Posts: 21
Joined: Sun May 22, 2005 11:25 am

Post by georgew »

cool! thanks!
ittec
Posts: 8
Joined: Wed Apr 16, 2008 5:19 am

Doubts

Post by ittec »

Hi

excuse me but I don't understand the process to update Associated Data Querys without have to delete the item first.

I did the same as georgew. First I removed the item (SNMP - Interface Statistics with Uptime Goes Backwards ) and then I added the same item with Verify All Fields.

Is this ok? Or are there any way to update item without erase it? Anyway, is Very All Fields de right option to avoid "SNMP Partial result U" issue?

Thanks a lot :)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You click the red "X" to the right of the Data Query when editing the host. Then, you pick the same "Data Query" from the Dropdown just below it, choose Reindex Method ???, then click on the "Add" button.

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?
GreenMan24
Posts: 3
Joined: Tue Sep 21, 2010 1:04 am
Location: Jordan
Contact:

RE

Post by GreenMan24 »

Hi All,

please note that i changed Re-Index Method to the option verify all fields, but now new warning appeared :
WARNING: Recache Event Detected for Host

please help.

thanks.
GreenMan24.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Verify all field is evil. However, I should not log that message if the method is verify all fields. Can you log a bug for me? Http://bugs.cacti.net
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?
Deviloper
Cacti User
Posts: 256
Joined: Tue Jul 07, 2009 8:03 am

Re: re:WARNING: Result from SNMP not valid. Partial Result:

Post by Deviloper »

Anything new with that issue?

Why do you descripe this feature as evil?
Deviloper
Cacti User
Posts: 256
Joined: Tue Jul 07, 2009 8:03 am

Re: re:WARNING: Result from SNMP not valid. Partial Result:

Post by Deviloper »

mysql> select * from host_snmp_query limit 5;
+---------+---------------+------------+--------------------+----------------+
| host_id | snmp_query_id | sort_field | title_format | reindex_method |
+---------+---------------+------------+--------------------+----------------+
| 26 | 12 | ifDescr | |query_ifDescr| | 1 |
| 25 | 16 | modulIndex | |query_modulIndex| | 1 |
| 25 | 15 | modulIndex | |query_modulIndex| | 1 |
| 25 | 14 | modulIndex | |query_modulIndex| | 1 |
| 25 | 12 | ifDescr | |query_ifDescr| | 1 |
+---------+---------------+------------+--------------------+----------------+

select * from host_snmp_query where reindex_methode = 1;

This are the ones you have to change to "3";
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests