[SOLVED] No SNMP data returned

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mer
Posts: 2
Joined: Sun Mar 16, 2008 9:04 pm

[SOLVED] No SNMP data returned

Post by mer »

I've just installed cacti on Debian 4.0r3 and I get the following 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'
snmpwalk gives me:

# snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.1
End of MIB

cacti version: 0.8.6i-3.2

any help is appreciated, let me know if any more info is required. thanks.
hammerwalk
Posts: 24
Joined: Wed Mar 05, 2008 10:46 pm
Location: Fort Worth, TX

Post by hammerwalk »

have you run the snmpconf command?

I could be wrong, but it looks like SNMP has not been configured. I ran into a similar problem.

if you have not configured SNMP, try
snmpconf -g basic_setup -i

Makes it alot easier to setup , and the -i attribute will have the command automatically write everything you did to all the appropriate snmp configs that you may have out there.

Not totally sure if this would fix the problem, but it could be a start. I'm still learning how to trouble shoot cacti as I am a bit new to SNMP, PHP, and MySQL.
mer
Posts: 2
Joined: Sun Mar 16, 2008 9:04 pm

Post by mer »

i've managed a fix by using a minimal snmp.conf of

Code: Select all

rocommunity public
i'll have a look at the snmpconf tool sometime aswell, thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests