If you do an snmpwalk on the system and go through the hosts MIB...

iso . org . dod . internet . mgmt . mib-2 . host . hrSWRun .
hrSWRunTable . hrSWRunEntry . hrSWRunName

You should be able to work out what the system is by what is running.

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Ayers
Sent: 15 May 2008 19:01
To: Amarnath T; net-snmp-users@lists.sourceforge.net
Subject: RE: How to determine whether a discovered device is a PC?

> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Amarnath T
> Sent: Thursday, May 15, 2008 2:39 AM

> How can one determine whether the discovered device is a PC or not?

        First, you'll need to define what it means to be a PC.
Essentially, what are the characteristics that make a host a "PC"?
Processor type(s)?  Operating system(s)?  Amount of memory?  How can you
tell that this "PC" is not, say, a router running Linux?

        Once you have answered that question, your answer can be
converted into a simple decision flow chart.  For each question, you
will want to know something about the target system - find that data in
a standard MIB and query that data.  You must provide for the case where
that data is not available, either because no SNMP agent is running, the
running agent does not support the desired MIB, or you do not have
permission to read the data.

        That's the general idea, anyway.


        HTH,

Mike

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

http://www.vital-group.com      - Dedicated to business communications.
http://www.vital-storage.com    - Secure easy-to-use remote backups for 
business critical data.

The information contained in this message is intended for the addressee only 
and may contain confidential and/or privileged information.If you are not the 
addressee, please delete this message and notify the sender; you should not 
copy or distribute this message or disclose its contents to anyone.Any views or 
opinions expressed in this message are those of the author and do not 
necessarily represent those of The Vital International Group or any of its 
affiliates.No reliance may be placed on this message without written 
confirmation from an authorised representative of its contents.

Registered in England. Vital International Limited. Leigh House, Weald Road, 
Brentwood, Essex, CM14 4SX.Company registration number - 45022560. 

05/16/08 10:18:40

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to