PyrrhicVictory
Technical User
This is my snmp file (stripped of comments):
rocommunity public default
exec echotest /bin/echo hello world
exec web_status /usr/sbin/serveradmin status web
exec wo_status /usr/sbin/serveradmin status webobjects
proc httpd
disk / 10000
syslocation Tech Support
syscontact UserX
sysName Mac
sysDescription A Mac
sysservices 76
#
# Unknown directives read in from other files by snmpconf
#
com2sec local localhost COMMUNITY
com2sec mynetwork NETWORK/24 COMMUNITY
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
view all included .1 80
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
Command: snmpwalk -v 1 -c public localhost
Output:
SNMPv2-MIB::sysContact.0 = STRING: UserX
End of MIB
What am I doing wrong?
rocommunity public default
exec echotest /bin/echo hello world
exec web_status /usr/sbin/serveradmin status web
exec wo_status /usr/sbin/serveradmin status webobjects
proc httpd
disk / 10000
syslocation Tech Support
syscontact UserX
sysName Mac
sysDescription A Mac
sysservices 76
#
# Unknown directives read in from other files by snmpconf
#
com2sec local localhost COMMUNITY
com2sec mynetwork NETWORK/24 COMMUNITY
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork
view all included .1 80
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
Command: snmpwalk -v 1 -c public localhost
Output:
SNMPv2-MIB::sysContact.0 = STRING: UserX
End of MIB
What am I doing wrong?