2009/6/8 Olivier <[email protected]>:
> when i'm trying to "poll" the Sun OID, on (and from) a Solaris machine
> (tried on both sparc and x86 archs), i cannot get it

That's because you are querying the Net-SNMP agent, not Sun's agent.


>  /usr/sfw/bin/snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.42
> SNMPv2-SMI::enterprises.42 = No Such Object

That is correct - the Net-SNMP agent does not implement
Sun's vendor-specific information.


> when i stop net-snmp 5.4.2.1, and re-enable Sun's native SNMP (snmpdx+sma
> services)
>
> i can poll it :

Because you are now talking to Sun's agent.
Which includes the Sun vendor-specific information.


> so i wonder if there was any difference between your net-snmp and sun's snmp

Yes - they are two completely different agents, written by two completely
different groups of people.



> how can i make my "new" net-snmp 5.4.2.1 working with Sun OID ?

Please see the file 'README.solaris', which includes information
about running the two agents together.


> even without special mibs, i "should" be able to poll the OID right ?.

Wrong.
The Sun-specific vendor extensions are *only* implemented by Sun's agent.
The Net-SNMP agent simply does not include the code needed to return
this information.   Our agent returns  various standard MIB information, plus
our own vendor-specific extensions.  We do not attempt to re-implement
other vendor-specific MIB objects.

Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to