V
V
Vladimir2014-05-16 13:54:12
SNMP
Vladimir, 2014-05-16 13:54:12

How to configure APC UPS to send snmp v3 trap messages?

There is a configured snmptrapd daemon, for configuration I used this www.net-snmp.org/wiki/index.php/TUT:Configuring_sn...
Here is the config /snmptrapd.conf

createUser -e 0x8000000001020304 apc_dis SHA somepass AES somepass
authUser log,execute,net apc_dis
logoption f /var/log/snmptrap.log

I set up an SNMPv3 user on the UPS with the name apc_dis and the password and key as in the config, set up the recipient from the IP of the server on which the daemon is running, I send a test message - quietly in the server logs
I try to send a test message from the second server
snmptrap -v 3 -n "" -a SHA -A somepass -x AES -X somepass -l authPriv -u apc_dis -e 0x8000000001020304 192.168.2.175 0 linkUp.0

A message appears in the logs.
I tried not to specify the engineID of the result in the createUser settings.
I think that you need to register the correct engineID for the UPS, but I don’t know where to find it.
Who crossed the UPS and snmptrapd share experience.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question