Zabbix Slack



  1. Zabbix Https
  2. Zabbix Cloud
Latest version

Infrastructure / Zabbix It’s surprisingly easy to setup Zabbix to send notifications to Slack including customizing which notifications go to which Slack channels and what to include on the Slack message. There is official documentation for Zabbix 4.4 available here. Slack is popular messenger. Having a webhook integration that is shipped with Zabbix will result in more efficient monitoring. Zabbix integration with Slack I want to be clear from the beginning, I am not going to write about Slackware (the distribution) but Slack (the platform/client chat). Zabbix is a solution for monitoring applications, networks and servers. Zabbix Alert Notification Script for Slack. Can use by “Remote command”. But can’t use by “Media type”. If use by python2.6 (like CentOS6.x), install argparse module. Ex, $ sudo yum install python-argparse. Zabbix AlertScript for Slack.com chat. Contribute to ericoc/zabbix-slack-alertscript development by creating an account on GitHub.

Released:

command-line tool for Zabbix Alert Notification to Slack.

Project description

Zabbix Alert Notification Script for Slack. by pure python.

  • Can use by “Remote command”. But can’t use by “Media type”.

  • if use by python2.6 (like CentOS6.x), install argparse module. ex,

Install

In your zabbix server,

or you can download directly using wget, curl.

(if necessary, use sudo. )

set this script your zabbix server.

Zabbix Https

put file and add mode to execute.

Usage

Zabbix Slack

get incoming-webhook url for your slack. from incoming webhook integration.

In the WebUI of your zabbix server.

  1. [Configureation]

  2. [Action]

  3. Choose ‘Trigger’ at Event source and Create Action.

  4. if “Recovery message” checked, Uncheck the checkbox.

  5. At [Conditions] tab, add Trigger value = OK to Conditions.
    • Trigger value = OK and Trigger value = PROBLEM are in Conditions.
  6. At [Operations] tab, add Remote Command
    • Operation type : Remote Command

    • Targeta list : any host (ex. Current host)

    • Type : Custom script

    • Execute on : Zabbix server

    • Commands:

      (if directly download, replace zbx2slack to zbx2slack.py.)

AUTHOR

Kei Iwasaki <me@laughk.org>

Release historyRelease notifications | RSS feed

Zabbix slack.sh

0.1.1

0.1.0

0.0.1

Download files

Zabbix

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zbx2slack, version 0.1.1
Filename, sizeFile typePython versionUpload dateHashes
Filename, size zbx2slack-0.1.1.tar.gz (4.1 kB) File type Source Python version None Upload dateHashes
Close

Hashes for zbx2slack-0.1.1.tar.gz

Zabbix Cloud

Hashes for zbx2slack-0.1.1.tar.gz
AlgorithmHash digest
SHA256eb980ebcf85c03979e66456e4797d674677c68453cdfce0e53a0222f31ad84f2
MD5944f3cf6bd9ad599999a5aaa4ce6bc5a
BLAKE2-256cf3bc859681791c17a0c2114a83ff21c19d4613246a85d1b8b31791ac264149c