Unable to filter alerts on slack as per channels

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Naveen007
Posts: 1
Joined: Fri Mar 06, 2020 6:47 am

Unable to filter alerts on slack as per channels

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Unable to filter alerts on slack as per channels

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked