SNMP localhost problem

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

Moderators: Developers, Moderators

Post Reply
Tatoman
Posts: 4
Joined: Fri May 14, 2010 3:26 pm
Location: Montevideo, Uruguay

SNMP localhost problem

Post by Tatoman »

Hi, i`m having some little problem.

I cannot graph ethernet.
Cacti 0.8.7.e is running under Ubuntu Server 10.04

I create a new device, local machine, and i can graph cpu, memory, disk, etc, but ethernet no.

More info:
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'


snmpd.conf:
# Listas de control de acceso.
## Sec.name Origen Comunidad Clave
com2sec local 127.0.0.1/32 public
com2sec magneto 192.168.20.17 public
com2sec redLocal 192.168.20.0/24 public

# Access list para lectura-escritura (solo local)
group RW-Local v1 local
group RW-Local v2c local
group RW-Local usm local

# Access list para lectura
group RO-HOST v1 magneto
group RO-HOST v2c magneto
group RO-HOST usm magneto

# Access list para lectura de toda la RED
group RO-Red v1 redLocal
group RO-Red v2c redLocal
group RO-Red usm redLocal

# MIB's que se pueden ver (todos los disponibles)
view all included .1 80

# group permission
access RO-Red "" any noauth exact all none all
access RO-HOST "" any noauth exact all none none
access RW.Local "" any noauth exact all all all

dontPrintUnits true
includeAllDisks
proc httpd
agentaddress

Any ideas ?
Ubuntu Server 10.04
Cacti 0.8.7.e
User avatar
lcano
Cacti User
Posts: 190
Joined: Thu Oct 09, 2008 5:46 pm
Location: Spain

Post by lcano »

I suggest to try first the snmp query outside cacti.

snmpwalk -c public -v2c 127.0.0.1 .1.3.6.1.2.1.2.2.1.1

If it doesn't work, your problem should be in the snmp configuration of the localhost. If it works, then you can focus in cacti.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Another suggestion is to check snmpd.conf, and ensure that it isn't set in "panic" mode.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Tatoman
Posts: 4
Joined: Fri May 14, 2010 3:26 pm
Location: Montevideo, Uruguay

Post by Tatoman »

Yes, it was in panic mode, :-)

I change it, put only:

rocommunity public

and it works !

I'm going to study more about snmpd.conf.

Thanks.
Ubuntu Server 10.04
Cacti 0.8.7.e
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest