re:WARNING: Result from SNMP not valid. Partial Result: U..
Moderators: Developers, Moderators
re:WARNING: Result from SNMP not valid. Partial Result: U..
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.
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.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You need to keep the "verify all indexes" option selected and this will almost eliminate the OID mismatches.
TheWitness
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?
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?
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
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.
Doubts
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
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
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
-
- Posts: 3
- Joined: Tue Sep 21, 2010 1:04 am
- Location: Jordan
- Contact:
RE
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.
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.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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?
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?
Re: re:WARNING: Result from SNMP not valid. Partial Result:
Anything new with that issue?
Why do you descripe this feature as evil?
Why do you descripe this feature as evil?
Re: re:WARNING: Result from SNMP not valid. Partial Result:
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";
+---------+---------------+------------+--------------------+----------------+
| 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";
Who is online
Users browsing this forum: No registered users and 2 guests