×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

sysContact.0 is showing up when I perform snmpwalk

sysContact.0 is showing up when I perform snmpwalk

sysContact.0 is showing up when I perform snmpwalk

(OP)
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?

RE: sysContact.0 is showing up when I perform snmpwalk

Looks like the snmp agent can only find data for sysContact in the mib tree that the agent support.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close