Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
syslocation Test.
syscontact INF <mail@test.ru>
# sec.name source community (password)
com2sec Mybox localhost public
com2sec cacti <you ip> public
com2sec Outside default public
# group.name sec.model sec.name
group RWGroup v2c Mybox
group ROGroup v1 cacti
group ROGroup v2c cacti
group Others v2c Outside
view all included .1 80
view system included system fe
# context sec.model sec.level prefix read write notif
access ROGroup "" any noauth exact all none none
access RWGroup "" v2c noauth exact all all all
access Others "" v2c noauth exact system none all
Testing snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.2.2.1.2
debian:/etc/snmp# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
Hi
I'm having the same problem.i configure snmp security model to any having error message in snmp log. anyone can help me??
THANKS
/etc/snmp/snmpd.conf: line 78: Error: bad security model "any" should be: v1, v2c, usm or a registered security plugin name - installing anyway
/etc/snmp/snmpd.conf: line 79: Error: bad security model "any" should be: v1, v2c, usm or a registered security plugin name - installing anyway
/etc/snmp/snmpd.conf: line 88: Error: bad prefix match parameter "0", should be: exact or prefix - installing anyway
/etc/snmp/snmpd.conf: line 89: Error: bad prefix match parameter "0", should be: exact or prefix - installing anyway
net-snmp: 4 error(s) in config file(s)
NET-SNMP version 5.1.2
## Access.group.name sec.model sec.name
## ================= ========= ========
group MyROGroup_1 any local
group MyROGroup_2 any network_1
## MIB.view.name incl/excl MIB.subtree mask
## ============== ========= =========== ====
view all included .1 80
## MIB
## group.name context sec.model sec.level prefix read write notif
## ========== ======= ========= ========= ====== ==== ===== =====
access MyROGroup_1 "" any noauth 0 all none none
access MyROGroup_2 "" any noauth 0 all none none