Iwant to add an custom OID to MIB tree structure. I add the line as below to file /etc/snmp/snmpd.conf
extend test1 /bin/echo Hello, world!
but I don't know how to specifiy the exact OID number. Is there any way to do that?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Sure, for example when I want to graph more fancy disk usage with say, iostat I have
pass .22.214.171.124.3.1 /usr/bin/perl /usr/local/bin/iostat.pl
at the bottom of my
then I can use
snmpwalk -v2c -cpublic localhost snmpwalk -v2c -cpublic localhost .126.96.36.199.3.1