From: Serhat Umar (serhat@secureinbox.net)
Date: Fri 20 Jun 2003 - 17:47:34 EEST
snmpd.conf dosyanizda access bilgileri yanlis veya set edilmemis görünüyor
/usr/local/bin/snmpconf -g basic_setup ile snmpd.conf olusturabilir veya
var olan bir snmpd.conf dosyasini kullanabilirsiniz.
access control su satirlardan olusuyor,
# sec.name source community
com2sec local localhost public
com2sec mynetwork 10.40.1.0/24 netpublic
# Second, map the security names into group names:
# sec.model sec.name
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
####
# Third, create a view for us to let the groups have rights to:
# incl/excl subtree mask
view all included .1 80
# write permissions:
# context sec.model sec.level match read write notif
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
Selamlar
Serhat
----- Original Message -----
From: Engin Öztürk
To: freebsd@lists.enderunix.org ; bsd@liste.linux.org.tr
Sent: Friday, June 20, 2003 11:48 AM
Subject: [bsd] mrtg - snmp
Merhaba ;
mrtg aralıklı olarak duruyor pek crontab hatası oldugunu da sanmıyorum
net-snmp install etmiştim bir de net-snmp4 var ports/net/.... de hangisini install etmeli acaba
hata satırlarının finali :
net-snmp: 92 error(s) in config file(s)
Warning: no access control information configured.
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.
Error opening specified endpoint "udp:161"
Server Exiting with code 1