I am using icinga2 versoin 2.6.3. It seems like when a host goes down it sends notification and when it comes online within few minutes, it fail to send “resolved” notification. issue happens only for when it goes down and up quickly. Any suggestion to configure proper notification when it resolves
Hi, Your code is a bit hard to read without a code block
But looking at I cannot find a specific error with your setup here. What I would suggest is fail a host on purpose and tail -f /var/log/icinga2/icinga2.log | grep hostname-of-server-that-is-down it should state that it did or did not send a notification or why it failed.
Also, consider updating to the most recent version of icinga2, 2.6 ist way out of date and so many features were added as well as many bugs fixed, including issues with notification.