Zabbix Frontend Modules

Leveraging the new feature of Zabbix 5.0 LTS, these Frontend Modules can extend the Zabbix Sidebar menu.

Introduction

You can read more about this new feature in the official Zabbix documentation:
https://www.zabbix.com/documentation/current/manual/modules

The modules in this repository were tested on Zabbix 5.0.2+ on Debian 10 Buster.

Frontend modules
Frontend modules

Zabbix Monitoring menu

Add Graphs In Monitoring menu

Adds a new menu entry Graphs to the Monitoring section of the sidebar menu.
It’s a direct link to: https://FQDN/zabbix/zabbix.php?action=charts.view

Graphs
Graphs

Add Web In Monitoring menu

Adds a new menu entry Web to the Monitoring section of the sidebar menu.
It’s a direct link to: https://FQDN/zabbix/zabbix.php?action=web.view

Web
Web

Zabbix Configuration menu

Add Items in Configuration menu

Adds a new menu entry Items to the Configuration section of the sidebar menu.
It’s a direct link to: https://FQDN/zabbix/items.php

Items
Items

Add Triggers in Configuration menu

Adds a new menu entry Triggers to the Configuration section of the sidebar menu.
It’s a direct link to: https://FQDN/zabbix/triggers.php

Triggers
Triggers

Installation

Source on GitHub: https://github.com/xenadmin/zabbix-frontend-modules

  • Go to your Zabbix Frontend installation module folder
    • (Default path: /usr/share/zabbix/modules)
  • You may then git clone https://github.com/xenadmin/zabbix-frontend-modules.git the repository
    • Or download the desired module manually into the modules directory
  • Sometimes it’s necessary to change the owner of the directory to your web user
    • For example: chown -R www-data
  • Go to your Zabbix Frontend: Administration -> General -> Modules
  • Press the Scan directory button in the top right corner
  • Enable the desired module(s)
  • Watch how the menu gets extended with new entries!

Troubleshooting

If your Zabbix Frontend remains empty and malfunctioning after the activation of a Zabbix Frontend module, don’t panic!

First of all, go to the offical Zabbix module documentation and check the Troubleshooting section: https://www.zabbix.com/documentation/current/manual/modules

Most of the time, the fastest solution is to just remove the module directory from your Zabbix Frontend installation (For example: rm /usr/share/zabbix/modules/add-web-in-monitoring-menu). Then just reload you browser and Zabbix Frontend should load as expected.

Notes

This modules wouldn’t be possible without the help of Mickael Martin (Source 1 & Source 2) , who created the very first modules (check them out!) and Zabbix developer Valdis Murzins who helped with further modules during the discussion of ZBXNEXT-6105. They were my inspiration to create this repository. Thank you!

Author: Marco

Marco is an IT-System administrator and IT-Consultant with 10+ years experience. He is specialized in the delivery of virtual Apps and Desktops with Citrix solutions. In 2017 he has been awarded Citrix Technology Advocate by Citrix for his community work (#CTA). His second core area is availability & performance monitoring with Zabbix, a leading open-source solution. His employer is the German IT-Company ANAXCO, which is developing a Transport Management Software (TMS) based on Microsoft Dynamics AX. More about Marco

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.