Dear All,
I have to integrate the Network Devices/appliances with Nagios XI using SNMP Traps. Our client is using SNMPv3 with
User name
Authentication Protocol = SHA
Authentication Password
Priviledged Protocol – AES (note Nagios XI supports AES_128 only. Other AES are AES_192 and AES_256).
Privacy Password
I am following following articles and configured accordingly -
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
https://support.nagios.com/kb/article.php?id=77
By following these articles, I found there is no traps arrived from the device, whereas I can see the network traffic generated to nagios XI server. Then I started looking if I need to add the authentication in Nagios XI and found, Nagios xi is using net-snmp for SNMP device monitoring and every device has a unique EngineID. And it has to be added into snmptrapd.conf.
http://www.net-snmp.org/tutorial/tutori ... ap-v3.html
So, I requested to provide the same and added into snmptrapd.conf
Than I asked to generate the Traps, and still not see into Nagios XI. Need Help.
The important point here is, it is working for SNMPv2c, whereas whenever I am converting to SNMPv3, it is not working.
SNMP Traps integration with Nagios XI
Re: SNMP Traps integration with Nagios XI
Do you see anything in /var/log/snmptt/snmpttunknown.log or /var/log/snmptt/snmptt.log ? Try running:
and then check the logs.
If they are appearing in the unknown log then snmptt.conf will need to be updated to recognize the trap.
Code: Select all
snmptrap -e engine_id -v 3 -u username -a SHA -A authpassword -x AES -privpassword -l authPriv localhost 1 0If they are appearing in the unknown log then snmptt.conf will need to be updated to recognize the trap.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
nitin.gupta111
- Posts: 32
- Joined: Sat Sep 07, 2013 3:32 am
Re: SNMP Traps integration with Nagios XI
I am running
snmptrap -e 800000020109840301 -v 3 -u nagios -a SHA -A admin123 -x AES -secure123 -l authPriv localhost 1 0
snmptrap: USM generic error
It is neither coming to snmptt.log nor snmpttunknown.log.
snmptrap -e 800000020109840301 -v 3 -u nagios -a SHA -A admin123 -x AES -secure123 -l authPriv localhost 1 0
snmptrap: USM generic error
It is neither coming to snmptt.log nor snmpttunknown.log.
Re: SNMP Traps integration with Nagios XI
If you want to send SNMP v3 traps to Nagios XI, you will have to configure the snmptrapd daemon with the credentials / password / Etc.. so the daemon can receive the traps and pass then to the SNMP Trap Translator.
For instructions on setting up the snmptrapd daemon, take a look at this link.
[user]http://www.net-snmp.org/wiki/index.php/ ... _TRAP_User[/user]
In the section called Real World Examples, the config file is located at
If you have any questions, post them here.
For instructions on setting up the snmptrapd daemon, take a look at this link.
[user]http://www.net-snmp.org/wiki/index.php/ ... _TRAP_User[/user]
In the section called Real World Examples, the config file is located at
Code: Select all
/etc/snmp/snmptrapd.confBe sure to check out our Knowledgebase for helpful articles and solutions!