Hi,
I'm running Cacti 0.8.7g in order to retrieve standard interface informations from a 3COM 8814 (comware V3.01.32r) but each time I launch the query it does not return any information (see the result of the query here under).
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
However when I use a MIB browser (iReasoning 7.5 Personal Edition), I'm able to walk the MIB using the standard MIB RFC 1213.
If I apply the same query with a 3COM5500, it collects informations without any problem.
Does anyone have an idea of the origin of this problem which seems specific to this model 3COM8814?
Data query fails for 3COM 8800 (8814)
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Data query fails for 3COM 8800 (8814)
Likely something to do with snmp, like a timeout. Also, are you using snmpv3?
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: Data query fails for 3COM 8800 (8814)
I'm using SNMP v2. The default SNMP timeout is 100 ms in Cacti. I pushed it up to 1000 ms and I obtained the same result.
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Data query fails for 3COM 8800 (8814)
Run the query from the command line on the Cacti server. There may be an ACL blocking your access to the entire tree from the Cacti server. Typical with a default net-snmp install. On debian it's worse, you have to modify the defaults file to open net-snmp to accept connections from foreign hosts.
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?
Re: Data query fails for 3COM 8800 (8814)
Thanks. I'm going to try this.
I've not been precise enough when I said I did not get a result after increasing the snmp timeout. Actually, I obtain a different result. It returned 463 rows but I've just the object index and no other fields like status, description, name, ... (see attached file). 463 corresponds to the number of interfaces that I've on this switch.
I've not been precise enough when I said I did not get a result after increasing the snmp timeout. Actually, I obtain a different result. It returned 463 rows but I've just the object index and no other fields like status, description, name, ... (see attached file). 463 corresponds to the number of interfaces that I've on this switch.
- Attachments
-
- Objets returned by query.jpg (98.51 KiB) Viewed 875 times
Re: Data query fails for 3COM 8800 (8814)
Following your advice, I lauched the following command on my Cacti server:
C:\net-snmp\bin>snmpwalk.exe -c readcommunity -v 2c 10.1.0.1
And it did walk all over the objects giving me all the informations that I'd like to get in my graph!
I've got the feeling that this switch does return too many informations if using the standard "SNMP - Interface Statistics" cacti query. I think I need to customize my query so that it work with this switch wich is a big one (more than 450 interfaces).
Thanks again for your help.
C:\net-snmp\bin>snmpwalk.exe -c readcommunity -v 2c 10.1.0.1
And it did walk all over the objects giving me all the informations that I'd like to get in my graph!
I've got the feeling that this switch does return too many informations if using the standard "SNMP - Interface Statistics" cacti query. I think I need to customize my query so that it work with this switch wich is a big one (more than 450 interfaces).
Thanks again for your help.
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Data query fails for 3COM 8800 (8814)
It could be that you are running your server out of memory, or it's running too long and timing out. Who knows. Both those settings are configurable. I'm sure you will figure it out. The cli script poller_reindex_hosts.php might shed some light on it.
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?
Who is online
Users browsing this forum: No registered users and 1 guest