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'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":
+ 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?
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