I did a fresh install.
I'm using the snmptools not php-snmp.
Here is the result of my manual query:
Code: Select all
# snmpwalk -v 3 -l AuthNoPriv -u snmpuser -A 'password' localhost .1.3.6.1.2.1.2.2.1.1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
Code: Select all
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/srv/www/foo/www/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 '/srv/www/foo/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/srv/www/foo/www/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/srv/www/foo/www/htdocs/cacti/resource/snmp_queries/interface.xml'
Code: Select all
rwuser snmpuser
includeAllDisks proc httpd
rocommunity public
Can somebody please help me debug this?
I'm clueless so relevant howtos are appreciated, too. I couldn't find anything with google.