Wednesday, November 11, 2009

snmp tools

Load an external MIB and walk it:

% cp ~/mymibname.txt /usr/share/snmp/mibs
% snmpwalk -m +mymibname -Os -c MySuperString -v 1 myhost.buyagun.org asyncOSMail

Translate a MIB name to OID:

% snmptranslate -m +mymibname -IR -On perCentMemoryUtilization

No comments:

Post a Comment

Followers