2009/4/15 Tarun Kumar <[email protected]>:
> All of these templates(configuration files) looks like very much unix
> specific.
Not really, no.
The code generated by mib2c concentrates on the SNMP-related
framework, which is basically O/S-independent. It should work
quite happily with Windows as with any other O/S.
> Has anyone worked on windows and see how much difference does it
> make?
The main difference will be in the code to retrieve the underlying information
from the O/S. This is typically different for each O/S anyway, so can't be
generated by mib2c.
So in that sense, Windows is no different to any other system, although
this code will probably look significantly more different than comparing
various Unix-like systems.
> Secondly, I am getting some error to add new mib to already existing mibs,
> ... I updated MIBDIRS env variable and added MIBS=”+XXX-MIB” but still it
> didn’t help. I am not able to translate the xxxMIB, it gives following error:
> # snmptranslate -IR xxxMIB
> Unknown object identifier: xxxMIB
Does it work if you specify the name of the MIB explicitly?
i.e.
snmptranslate XXX-MIB::xxxMIB
What did you set the MIBDIRS variable to be?
Where did you copy the XXX-MIB.txt file?
What is the first line of this file?
Dave
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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