Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 783 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 783 Bytes

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.