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

Post Reply
Message
Author
cc
Posts: 191
Joined: 18. Apr 2003 18:04

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

#1 Post 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 ?

klopskuchen
prolinux-forum-admin
Posts: 1444
Joined: 26. Jun 2004 21:18
Contact:

#2 Post by klopskuchen »

When all else fails, read the instructions .

Post Reply