Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I can't start my day without this site!..."

Geography

Where in the world do Tek-Tips members come from?

All information about discovered devices

Chicho86 (Programmer)
11 Mar 12 14:28
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
bnorton916 (Programmer)
12 Mar 12 15:49
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


 

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!

Back To Forum

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