Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sysContact.0 is showing up when I perform snmpwalk

Status
Not open for further replies.

PyrrhicVictory

Technical User
Mar 15, 2012
1
CA
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?
 
Looks like the snmp agent can only find data for sysContact in the mib tree that the agent support.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top