Ngaios Slack Latency Problems
Ngaios Slack Latency Problems
I am currenty working on a nagios server with a slack bot for notifications. It is "working" in the fact that it will notify eventually but only for host done and not for services as well as the fact that it takes up to 20 min for the bot to post to the channel
Re: Ngaios Slack Latency Problems
Please post a few of the service definition files as well as the contacts.cfg (scrub any sensitive data please) so we can confirm they are at least correctly configured.
What do you see under Reports > Notifications? --- Is Nagios sending out notifications for the services or do you just see notifications for the one host?
Before you implemented Slack, were you receiving email notifications for all host / service checks?. If not, we should correct that 1st and then you can move on to using Slack, but I'm not sure how much we can help you with Slack though.
Regarding the 20 minute delay, lets first check the service and host definitions - post those here.
Also, back to Reports > Notifications --The output is actual notifications that Nagios sent out - you'll have to compare the time stamps seen here to what is logged on your mail Server. If you seen zero notifications, then we'll have to re-examine your configuration. If you see notifications for all hosts and service checks, that means Nagios is indeed sending them and you'll have to shift your troubleshooting efforts onto the mail server, for starters.
What do you see under Reports > Notifications? --- Is Nagios sending out notifications for the services or do you just see notifications for the one host?
Before you implemented Slack, were you receiving email notifications for all host / service checks?. If not, we should correct that 1st and then you can move on to using Slack, but I'm not sure how much we can help you with Slack though.
Regarding the 20 minute delay, lets first check the service and host definitions - post those here.
Also, back to Reports > Notifications --The output is actual notifications that Nagios sent out - you'll have to compare the time stamps seen here to what is logged on your mail Server. If you seen zero notifications, then we'll have to re-examine your configuration. If you see notifications for all hosts and service checks, that means Nagios is indeed sending them and you'll have to shift your troubleshooting efforts onto the mail server, for starters.
Be sure to check out the Knowledgebase for helpful articles and solutions!