Skip to content

elcreator/zabbix-emqtt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Zabbix Monitoring for EMQTT

Requirements

These dependencies are required to run the monitoring script:

  1. Zabbix_sender
  2. Jq

Installation

  1. Place emqtt.sh in Zabbix server external scripts folder, which typically is /usr/lib/zabbix/externalscripts/. See Zabbix docs if you're not sure.

    cd /usr/lib/zabbix/externalscripts # Or your external scripts path
    wget https://raw.githubusercontent.com/viniciusbo/zabbix-emqtt/master/externalscripts/emqtt.sh
    chmod +x emqtt.sh
  2. Add the following macros to your EMQTT host in Zabbix:

    {$EMQTT_HOST} => host IP or domain
    {$EMQTT_API_USER} => admin
    {$EMQTT_API_PASS} => public
    

    These are the default credentials, but be sure to change it to match yours if needed.

  3. Import zbx_emqtt_template.xml template to Zabbix and add it to your EMQTT host.

Note that there are more than 50 items monitored. I've disabled many of them but you may enable as you wish.

About

Zabbix monitoring for EMQTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%