Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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 the extend directive. Once you have that index, you can then query the tables nsExtendOutput1Table and nsExtendOutput2Table.

So, to answer your question, the OIDs will change, but are programmatically retrievable.

share|improve this answer
Awesome response. Thanks. –  Mike B Mar 30 '12 at 6:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.