Page 1 of 1

SNMP configure /etc/snmp/snmpd.local.conf

Posted: 04. Mar 2006 16:41
by cc
hallo

möchte via cacti (rrdtool) network interface statistiken für eth0 und eth1
bei meinem externen webserver ( Debian Sarge Stable) abfragen und auswerten.
habe snmpd installiert und folgenden eintrag:

Code: Select all

com2sec readonly  default         myprivate
auskommentiert.

wenn ich jetzt ein test mit dem snmpwalk mache, dann bekomme ich folgende Meldung:

Code: Select all

SNMPv2-MIB&#58;&#58;sysContact.0 = STRING&#58; Root <root@localhost> &#40;configure /etc/snmp/snmpd.local.conf&#41;
SNMPv2-MIB&#58;&#58;sysName.0 = STRING&#58; ext.undostres.ch
SNMPv2-MIB&#58;&#58;sysLocation.0 = STRING&#58; Unknown &#40;configure /etc/snmp/snmpd.local.conf&#41;
eine Datei /etc/snmp/snmpd.local.conf habe zwar erstellt, aber mir ist nicht klar,
was ich dort setzen soll, damit ich network interfaces statistiken bekomme.

zusätzlich würde ich aus sichercheitsgründen snmp nur local von localhost erlauben.

kann mir jemand da bitte helfen ?

Posted: 05. Mar 2006 23:53
by klopskuchen