Yesware / Nagios2Slack

Nagios notify to Slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nagios2Slack

Nagios notifications for Slack, with formatted messages :

OK Critical

  • Set up an incoming webhook integration in your Slack workspace.
    ( https://my.slack.com/services/new/incoming-webhook/ )

  • Copy the two scripts to your nagios plugins directory. ( could be '/usr/lib64/nagios/plugins/' but location may vary )

  • Edit the Slack URLs in both scripts to reflect the webhooks you created in Slack.

  • Define the new notification commands in Nagios. ( see examples in slack_commands.cfg, modify any paths as required)

  • Set up a new contact to use the new host and service notification commands.

About

Nagios notify to Slack

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%