June 27, 2006

SNMP On Linux

To Add a mib file to the tool, do the following:
       
mkdir $HOME/.snmp
mkdir $HOME/.snmp/mibs
cp MY-MIB.txt $HOME/.snmp/mibs

And Then Add the following lines to the file ~/.snmp/snmp.conf

 mibs +MY-MIB 


Note MY-MIB here is the MIB Module name, not the Mib file name.

You can use the following command to list your new mib

 snmptranslate -Tp -IR ModuleName

No comments:

Post a Comment