SNMP Error

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

Moderators: Developers, Moderators

Post Reply
ar1
Posts: 18
Joined: Mon Mar 13, 2006 4:33 pm
Location: Bloomington, IL

SNMP Error

Post by ar1 »

Hi.

I've been trying to add devices to Cacti, but always get an "SNMP Error" message. I can do a snmpwalk manually and it works. I've entered the community string so that's not the problem.

Also, here what I get from the "Data Query Debug Information":

Code: Select all

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/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 '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml
So basically, I don't get graphs. Does anyone have any idea why this is happening?

Thanks
freddy
Posts: 2
Joined: Tue Mar 14, 2006 8:32 am

Re: SNMP Error

Post by freddy »

I've exactly the same error!
I hope we could find a solution soon...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

As long as you get the snmp error messages, sth's wrong with the configuration. Please verify, that you can snmpwalk that device from cacti's host (not from elsewhere). Please check, that community string, port and timeout are set correctly for that Device. Don't forget to check the correct SNMP Protocol Version. And verify the Settings -> Paths for all snmp* binaries.
If none of this helps, you'll want to tcpdump the snmp traffic to that device (filter: host <your host> and port 161) to verify cacti's sending the snmp requests. Of course you may use ethereal or any other sniffer of your liking.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests