/Nagios2Slack

Nagios notify to Slack

Primary LanguageShellGNU General Public License v3.0GPL-3.0

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 plugin directory. (location may vary)

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

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

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