Page 1 of 1

SNMP V3 EngineID

Posted: Sun Apr 26, 2020 12:47 am
by FCC_Nagios_Support
Hello,

I am absolute beginner in Snmp V3. I have been testing in my laboratory and I would like to know if engineID is mandatory. I tried and seems yes. What I tested was adding several bind lines in this way:

disableAuthorization yes
createUser -e 0x0102030405 user_one
authUser log,execute user_one noauth
createUser -e 0x0102030406 user_two
authUser log,execute user_one noauth
traphandle default /usr/sbin/snmptthandler


And match "engineID user" with each the trap. Is it OK? Runs!
I have to manage Traps comming from HP Tape Libraries. The engineID is unique word identifier for each device? or there is one for manufacturer or family?


Many Thanks in advance.
KR.

Re: SNMP V3 EngineID

Posted: Mon Apr 27, 2020 11:07 am
by cdienger
The engine ID is required and will be unique per device.

The config you posted appears to have a small mistake. Instead of :

Code: Select all

createUser -e 0x0102030406 user_two
authUser log,execute user_one noauth
I think you meant:

Code: Select all

createUser -e 0x0102030406 user_two
authUser log,execute user_two noauth

Re: SNMP V3 EngineID

Posted: Tue Apr 28, 2020 9:39 am
by FCC_Nagios_Support
Many Thanks RUNS OKAY!

Re: SNMP V3 EngineID

Posted: Tue Apr 28, 2020 3:29 pm
by cdienger
Glad to hear!