How to set an exact engineID for snmpd
Issue
- There is limited
engineID
modification parameters which are outlined in thesnmpd.conf
man page.SNMP v3
requires anSNMP
agent to define a uniqueengineID
in order to respond toSNMP v3
requests. ThisID
will normally be determined automatically, using a combination of a pseudorandom number and the current time, in seconds. This generated value is then stored in the/var/lib/net-snmp/snmpd.conf
file in hexadecimal format, identified asoldEngineID
. This is the recommended approach however, there is limited ability to modify how theengineID's
are built.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- net-snmp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.