Page 1 of 1
Can't send host alerts via snmp
Posted: Mon Mar 26, 2018 12:59 pm
by andrewatmacys
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!
Re: Can't send host alerts via snmp
Posted: Mon Mar 26, 2018 3:56 pm
by scottwilkerson
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
Code: Select all
tail -f /usr/local/nagiosxi/var/eventman.log
Re: Can't send host alerts via snmp
Posted: Tue Mar 27, 2018 8:56 am
by andrewatmacys
I will as soon as I am able, thanks.
Re: Can't send host alerts via snmp
Posted: Tue Mar 27, 2018 9:01 am
by scottwilkerson
andrewatmacys wrote:I will as soon as I am able, thanks.
sounds good, update us after. Thanks
Re: Can't send host alerts via snmp
Posted: Tue Mar 27, 2018 9:30 am
by andrewatmacys
I've sent you a PM, please let me know if that's what you wanted. Thanks!
Re: Can't send host alerts via snmp
Posted: Tue Mar 27, 2018 9:34 am
by scottwilkerson
andrewatmacys wrote:I've sent you a PM, please let me know if that's what you wanted. Thanks!
Responded, SNMP Trap Sender setup was missing port. By default that should be 162
Re: Can't send host alerts via snmp
Posted: Fri Mar 30, 2018 1:34 pm
by scottwilkerson
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.