×
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

All information about discovered devices

All information about discovered devices

All information about discovered devices

(OP)
Hello, i'm developing an application to discover every device on an Ip range. I have saw that for example "spiceworks" discover everything and gives details about printers like page counter, toner level, or with UPS like power battery. I know that you can get this information from mibs, but most devices have different mibs and so different name for page counter, etc. My question is, how does application to ask for all informacion, i mean, they have an internal list with every mib object of all printers, all mibs of UPS, and etc.
If tomorrow a new device is on sale, how could you know in your code what oid to ask?

Thanks

RE: All information about discovered devices

Correct, you have to know what the device supports.

Every device normally supports some standard mibs where you get a bunch of information(mib2 comes to mind).

Also, depending upon the device type(printer, server, switch, router, etc) AND the manufacture their will be additional mibs supported.  

So, a cisco switch would support (locIfOutBitsSec), whereas most switches would not.

And an HP printer will support some printer specific mib objects that other non-printer devices would not.

If you want to get all the information a device is storing, you can do a snmpwalk on the entire device.

Hopefully, the device manufacture will let you know what mibs are supported on the their web page. cisco does a good job of this, others do not.

Bill


 

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