No SNMP data returned

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

Moderators: Developers, Moderators

Post Reply
Icarium
Posts: 6
Joined: Wed Dec 06, 2006 4:32 pm

No SNMP data returned

Post by Icarium »

Hi everybody. It's been a long time since I set up cacti and I have no clue what I'm doing.

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
But in cacti when pressing verbose query I get this:

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'
This is my snmpd.conf

Code: Select all

rwuser snmpuser
includeAllDisks                                                                                         proc httpd
rocommunity public
Which is pretty much guesswork.

Can somebody please help me debug this? :)
I'm clueless so relevant howtos are appreciated, too. I couldn't find anything with google.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests