On Tue, 2005-06-28 at 08:03 -0700, C Wells wrote: > Indeed, sco, aix and tru64 all come with 255 and I > must be able to distinguish them using the > SNMPv2-MIB::sysObjectID.0
Well, the Net-SNMP sysOID value is defined using: #define SYSTEM_MIB 1,3,6,1,4,1,8072,3,2,OSTYPE (in 'includes/net-snmp/net-snmp-config.h') where OSTYPE is set by a series of system-specific tests immediately above. If you need to be able to distinguish these three systems, then the cleanest way would be to tweak this header file to add suitable tests, and define OSTYPE appropriately. If you let us know what code to use, we'll adjust the source accordingly, and update the MIB definitions. Dave ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ 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