Hi
I have a requirement to forward Nagios XI SNMP traps to a device which is capable of displaying alerts with a light indication. for example, in case if a node or service down, based on the generated alerts I wanna display Red color and when it becomes normal - display green ...so on.
But I am not sure if I can achieve this using Nagios XI. I wonder if anyone in the Nagios community has implemented such a solution using Nagios XI.
Appreciate if there is anyone who can help me on this also please let me know if there is such a hardware available which compatible with Nagios.
Thank you
Luke.
forward Nagios XI SNMP traps to a device/led panel
-
jforcier
Re: forward Nagios XI SNMP traps to a device/led panel
Add these 2 lines to the snmptrapd.conf file on the server that first receives the traps. Replace localhost with the IP address of the server you are forwarding to.
The authCommunity line enables the system to log the received trap and the net enables the forwarding to another host if a trap is received with the public community string.
Code: Select all
authCommunity log,net public
forward default localhost:162Re: forward Nagios XI SNMP traps to a device/led panel
Hi,
Thank you for the reply.
Can I forward only selected SNMP traps to the external SNMP receiver?
for example ;
1. Except for Loalhost, and some elected Nodes/IPs.
2. If I want to forward only from selected Node/IP (192.168.10.75)
Thank you
Luke.
Thank you for the reply.
Can I forward only selected SNMP traps to the external SNMP receiver?
for example ;
1. Except for Loalhost, and some elected Nodes/IPs.
2. If I want to forward only from selected Node/IP (192.168.10.75)
Thank you
Luke.
-
jforcier
Re: forward Nagios XI SNMP traps to a device/led panel
It's possible to forward specific traps by OID.
The word default in that line means that all traps received will be forwarded. If only specific OIDs are to be forwarded, list the OIDs in the line, instead of using the word default, for example:
The word default in that line means that all traps received will be forwarded. If only specific OIDs are to be forwarded, list the OIDs in the line, instead of using the word default, for example:
Code: Select all
authCommunity log,net public
forward .1.3.6.1.4.1 localhost