Skip to content
Magic Mirror Module to display Zabbix alerts
JavaScript CSS
Branch: master
Clone or download
Julio C Hegedus Julio C Hegedus
Julio C Hegedus and Julio C Hegedus Init
Latest commit a4f2702 Jun 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
mmm-zabbix-alerts.js
mmm-zabbix-alerts.png
node_helper.js
zabbix-alerts.css

README.md

Magic Mirror Module: mmm-zabbix-alerts

This MagicMirror2 module allows you to download JSON and show alerts from Zabbix API

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/spectroman/mmm-zabbix-alerts.git

Configure the module in your config.js file.

Using the module

Now add the module to the modules array in the config/config.js file:

                {
                        module: 'mmm-zabbix-alerts',
                        position: 'top_left',
                        header: 'Zabbix Alerts',
                        config: {
                                apiSearch: "http://monitor.domain.net/api_jsonrpc.php"
                                zbx_user: "admin", // after creating a user there u can access
                                zbx_pass: "admin", // user a password for the remote user
                                listSize: 4,
                                triggerIds: [ "1234", "1234", "1234", "1234" ] // for each trigger there is a status block
                        }
                },

Configuration options

The following properties can be configured:

Option Description
apiSearch API URL from zabbix to consult
zbx_user UserName on the zabbix server
zbx_pass Password for user on the zabbix server
listSize Amount of triggers to show
triggerIds Trigger ids to collect information from zabbix
You can’t perform that action at this time.