Can't send host alerts via snmp
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Can't send host alerts via snmp
I am having a problem with sending host alerts via snmp traps, but it's sending service alerts just fine. Host alerts are enabled, but aren't showing up at all. Any help is welcome, and thank you in advance! I can PM cfg files if needed!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't send host alerts via snmp
Did you configure,
Admin -> Manage Components -> SNMP Trap Sender ?
Could you send a screenshot of that page.
Also, you should be able to run the following after forcing a host to go down and see the trap being sent to your configured trap host
Admin -> Manage Components -> SNMP Trap Sender ?
Could you send a screenshot of that page.
Also, you should be able to run the following after forcing a host to go down and see the trap being sent to your configured trap host
Code: Select all
tail -f /usr/local/nagiosxi/var/eventman.log-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: Can't send host alerts via snmp
I will as soon as I am able, thanks.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't send host alerts via snmp
sounds good, update us after. Thanksandrewatmacys wrote:I will as soon as I am able, thanks.
-
andrewatmacys
- Posts: 114
- Joined: Tue Feb 06, 2018 9:25 am
Re: Can't send host alerts via snmp
I've sent you a PM, please let me know if that's what you wanted. Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't send host alerts via snmp
Responded, SNMP Trap Sender setup was missing port. By default that should be 162andrewatmacys wrote:I've sent you a PM, please let me know if that's what you wanted. Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't send host alerts via snmp
This turned into a ticket and wanted to report the cause. Hosts were not sending traps but services were.
Upon further investigation the hosts on the server had the following set in their configurations
Once enabled user reported they were working correctly.
Upon further investigation the hosts on the server had the following set in their configurations
Code: Select all
event_handler_enabled 0