CentOS 5.7 | SNMPD
This question is a little messy so I apologize in advance for any confusion.
I'm using the extend
command in /etc/snmp/snmpd.conf
to run a script. I later used the snmpwalk
utility to find the appropriate OID for this.
If I use the exact same command, script, relative paths, and OS will the OID be the same? Or are OIDs unique to each server?
Best Answer
The design of the Extend MIB is that you would query the
nsExtendConfigTable
looking for the index that corresponds to the correct name, specified in theextend
directive. Once you have that index, you can then query the tablesnsExtendOutput1Table
andnsExtendOutput2Table
.So, to answer your question, the OIDs will change, but are programmatically retrievable.