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!
  • Students Click Here

*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


SNMP Object

SNMP Object

SNMP Object

Hi there,
as a test, i have written a program sending a trap to all snmp-agents in my network. after that i read all informations of the agents out. yes, it works!
Now my question. How can i know what kind of agent (devicetype like printer, switsh, pc, etc.) is answering?
i want to act like this: if an agent is answering me, i want to ask him what kind of device it is, and then asking only special properties.
example: device is printer -> ask RFC 1759.
anyone have a solution?
best regards

RE: SNMP Object


You need to perform an SNMP request of the sysObjectID for the agent/device you want to know about.

This sysObjectID definition is as follows:

The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree ( and provides an easy and unambiguous means for determining `what kind of box' is being managed. For example, if vendor `Flintstones, Inc.' was assigned the subtree, it could assign the identifier to its `Fred Router'

So you can perform a check on the value returned for sysObjectID and then if it is your printer then -> ask RFC 1759.

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!

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