The net-snmp "extend" directive, in snmpd.conf, causes a new mib root to occur at nsExtensions.nsExtendObjects where the the results of individual "extend names" are stored with ascii->dotted-decimal names (as an instance of nsExtendOutput1Line). This script is an example of how to "find" the appropriate nsExtendOutput1Line instance (which is the output value of these extend commands) by only specifying the extend name via "var extend_name".