Page 1 of 1

Unable to filter alerts on slack as per channels

Posted: Fri Mar 06, 2020 6:52 am
by Naveen007
Hi All,

I need to filter my Nagios alerts on slack. Currently there is only 1 channel that receives all alerts . But now I need to create three more channels like DB,windows etc & then need to send alerts of DB servers in db channel likewise.

Re: Unable to filter alerts on slack as per channels

Posted: Fri Mar 06, 2020 2:40 pm
by benjaminsmith
Hell Naveen,

Welcome to the Nagios support forum! The slack_nagios.pl script takes an argument for the specific slack channel to post the notification to. I think it would be easiest to simply copy your current notification command and make separate contacts and notification handlers for each channel.

While this is for Nagios XI, the setup is well documented in the following guide:

Integrating Slack with Nagios XI

Good Luck!