This is a cache of https://support.nagios.com/kb/article/slack-notifications-stopped-working-868.html. It is a snapshot of the page at 2025-05-14T00:09:10.112+0000.
Slack Notifications Stopped Working
Home » Categories » Products » Nagios xi » Troubleshooting » Common Problems

Slack Notifications Stopped Working

Slack Notifications Stopped Working

If Slack integration with Nagios xi stopped working for you with an error similar to the one below:

500 Can't connect to iaitdepartment.slack.com:443 (SSL connect attempt failed with unknown errorerror:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure)

this means that most likely you are using CentOS/RHEL 6 and older versions of TLS (v1.0 or 1.1).

The Slack announcement was made here:

https://api.slack.com/changelog/2019-07-deprecate-early-tls-versions

This issue will impact most CentOS/RHEL 6 users as it doesn't appear that the Perl packages available from official repos are able to use SNI in secure connections.

A quick work around would be to be to install NCPA on another machine(CentOS/RHEL 7 for example that have updated Perl packages) along with a copy of the slack_nagios.pl plugin, and then configure the slack_host_notification_handler and slack_service_notification_handler commands to execute the slack_nagios.pl script via ncpa:

$USER1$/check_ncpa.py -H CENTOS7MACHINE -t 'TOKEN' -M 'plugins/slack_nagios.pl' -q 'args=-field slack_channel="#hosts" -field HOSTALIAS="$HOSTNAME$" -field HOSTSTATE="$HOSTSTATE$" -field HOSTOUTPUT="$HOSTOUTPUT$" -field NOTIFICATIONTYPE="$NOTIFICATIONTYPE$"'
$USER1$/check_ncpa.py -H CENTOS7MACHINE -t 'TOKEN' -M 'plugins/slack_nagios.pl -q 'args=-field slack_channel="#services" -field HOSTALIAS="$HOSTNAME$" -field SERVICEDESC="$SERVICEDESC$" -field SERVICESTATE="$SERVICESTATE$" -field SERVICEOUTPUT="$SERVICEOUTPUT$" -field NOTIFICATIONTYPE="$NOTIFICATIONTYPE$"'

Configuring the Slack plugin: https://assets.nagios.com/downloads/nagiosxi/docs/Integrating-Slack-With-Nagios-xi.pdf

NCPA install and documentation: https://www.nagios.org/ncpa/

How to run third party scripts with NCPA: https://support.nagios.com/kb/article/nagios-xi-using-scripts-plugins-with-ncpa-722.html



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

5 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios xi - Login Screen Keeps Redirecting To Itself
Viewed 7413 times since Wed, Jan 27, 2016
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 27210 times since Tue, Jan 26, 2016
Nagios xi - Installing xi Fails To Install Dependency pymssql
Viewed 8768 times since Mon, Oct 17, 2016
Nagios xi - Error while converting SVG
Viewed 4897 times since Thu, Aug 3, 2017
Nagios xi - Running Out Of Disk Space On The Nagios xi VM
Viewed 23973 times since Tue, Jan 27, 2015
Nagios xi - Scheduled Reports Not Running
Viewed 6035 times since Thu, Aug 10, 2017
Nagios xi - Migrate Performance Data
Viewed 13101 times since Tue, Jan 26, 2016
Nagios xi - Bandwidth Graphs Showing 0Mb/s in Non-English Systems
Viewed 7511 times since Fri, Dec 19, 2014
Nagios xi - Oracle Services Critical After Nagios xi Upgrade
Viewed 6468 times since Wed, Jan 27, 2016
Nagios xi - Disabling Database UTF8 Connectivity
Viewed 5522 times since Thu, Mar 8, 2018