Skip to content

spectroman/mmm-zabbix-alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Magic Mirror Module to display Zabbix alerts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published