A Zabbix module to show groups/hosts as a tree under Monitoring -> Hosts Tree menu item

Overview

zabbix-module-hosts-tree

Written according to Zabbix official documentation https://www.zabbix.com/documentation/current/manual/modules

A Zabbix module to show groups/hosts as a tree under Monitoring -> Hosts Tree menu item in Zabbix version 5.4. screenshot

How to use

  1. Create a folder in your Zabbix server modules folder (by default /usr/share/zabbix/) and copy contents of this repository into that folder.
  2. Go to Administration -> General -> Modules click Scan directory and enable the module. You should get new 'Hosts tree' menu item under Monitoring.

Authors

See Contributors

You might also like...
Private groups to share messages, photos, videos, links with friends and family.
Private groups to share messages, photos, videos, links with friends and family.

A truly private space for you and your friends What is Zusam ? Zusam (/tsuˈzam/) is a free and open-source way to self-host private forums for groups

Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.

Admidio Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it

Nextcloud-App to add groups with AppDirect

App Direct Place this app in nextcloud/apps/ Building the app The app can be built by using the provided Makefile by running: make This requires the

Easy management of Virtualization technologies including KVM, Xen, OpenVZ, Virtuozzo, and LXC/LXD including unified commands, monitoring, template management, and many more features.

ProVirted About Easy management of Virtualization technologies including KVM, Xen, OpenVZ, Virtuozzo, and LXC/LXD including unified commands, monitori

meterN is a lightweight set of PHP/JS files that make a " Home energy metering & monitoring " solution.

meterN - Home energy monitor - (PHP/JS Energy Metering & Monitoring) What can meterN do for you ? meterN is a lightweight set of PHP/JS files that mak

Stackdriver Monitoring provides visibility into the performance, uptime, and overall health of cloud-powered applications.

Stackdriver Monitoring API documentation NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contribu

Just show free stuff in the Elementor
Just show free stuff in the Elementor

Elementor - just free Just show free stuff in the Elementor: This plug-in will remove/hide pro features so the interface will be a bit cleaner. Keep i

Show caffeine intake stats for our office coffee machine
Show caffeine intake stats for our office coffee machine

Coffee brewing statistics for the Spatie office Over at Spatie we drink a lot of coffee. How much coffee? We had no idea until we created this dashboa

Read and show values from form valid

read-and-show-values-from-form-valid Escribe un programa PHP que permita al usuario rellenar un formulario de registro con los datos de nombre, contra

Comments
  • The number of hosts in the group name and showing the number of problems

    The number of hosts in the group name and showing the number of problems

    It would be good to have the number of hosts in the group names and the number and the severity of issues showing:

    Name of Group 1 (number of hosts in all groups down) (2 Problems)
    -> Name of group 2 (number of hosts in all groups down) (1 Problem) -> Name of Group 3 (number of hosts in Group 3)

    Name of Group 1 (15) (2 Problems) -> Name of group 2 (10) (1 Problem) -> Name of Group 3 (5)

    enhancement 
    opened by AlKosmos 2
  • Doesn't work in Zabbix 5.2.7

    Doesn't work in Zabbix 5.2.7

    The new page just stays empty. No visible errors. See attached apache error log.

    [Thu Aug 26 14:51:20.054852 2021] [php7:error] [pid 13857] [client 1.2.3.4:3715] PHP Fatal error:  Uncaught Error: Call to undefined function getHostInterface() in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php:142\nStack trace:\n#0 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(212): addGroupRow(Array, Array, 'Customer/Anaxco...', 'Customer', 1, Array)\n#1 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(51): addGroupRow(Array, Array, 'Customer', '', 0, Array)\n#2 /usr/share/zabbix/include/classes/mvc/CPartial.php(109): include('/usr/share/zabb...')\n#3 /usr/share/zabbix/modules/zabbix-module-hosts-tree/views/module.monitoring.bghost.view.refresh.php(23): CPartial->getOutput()\n#4 /usr/share/zabbix/include/classes/mvc/CView.php(122): include('/usr/share/zabb...')\n#5 /usr/share/zabbix/include/classes/core/ZBase.php(618): CView->getOutput()\n#6 /usr/share/zabbix/include/classes/core/ZBase.php(547): ZBase->processResponseFinal(Object(CRouter), Object(Modules\\BGmotHosts\\ in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php on line 142, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
    [Thu Aug 26 14:51:20.054886 2021] [php7:error] [pid 14325] [client 1.2.3.4:55212] PHP Fatal error:  Uncaught Error: Call to undefined function getHostInterface() in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php:142\nStack trace:\n#0 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(212): addGroupRow(Array, Array, 'Customer/Anaxco...', 'Customer', 1, Array)\n#1 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(51): addGroupRow(Array, Array, 'Customer', '', 0, Array)\n#2 /usr/share/zabbix/include/classes/mvc/CPartial.php(109): include('/usr/share/zabb...')\n#3 /usr/share/zabbix/modules/zabbix-module-hosts-tree/views/module.monitoring.bghost.view.refresh.php(23): CPartial->getOutput()\n#4 /usr/share/zabbix/include/classes/mvc/CView.php(122): include('/usr/share/zabb...')\n#5 /usr/share/zabbix/include/classes/core/ZBase.php(618): CView->getOutput()\n#6 /usr/share/zabbix/include/classes/core/ZBase.php(547): ZBase->processResponseFinal(Object(CRouter), Object(Modules\\BGmotHosts\\ in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php on line 142, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
    [Thu Aug 26 14:51:20.055132 2021] [php7:error] [pid 13857] [client 1.2.3.4:3715] PHP Fatal error:  Uncaught Exception: Headers already sent. in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php:68\nStack trace:\n#0 /usr/share/zabbix/include/classes/core/CCookieSession.php(126): CCookieHelper::set('zbx_session', 'eyJzZXNzaW9uaWQ...', 1632574280)\n#1 [internal function]: CCookieSession->write('a4feeaee57ee2dc...', 'eyJzZXNzaW9uaWQ...')\n#2 {main}\n  thrown in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 68, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
    [Thu Aug 26 14:51:20.055243 2021] [php7:warn] [pid 13857] [client 1.2.3.4:3715] PHP Warning:  Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
    [Thu Aug 26 14:51:20.055512 2021] [php7:error] [pid 14325] [client 1.2.3.4:55212] PHP Fatal error:  Uncaught Exception: Headers already sent. in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php:68\nStack trace:\n#0 /usr/share/zabbix/include/classes/core/CCookieSession.php(126): CCookieHelper::set('zbx_session', 'eyJzZXNzaW9uaWQ...', 1632574280)\n#1 [internal function]: CCookieSession->write('a4feeaee57ee2dc...', 'eyJzZXNzaW9uaWQ...')\n#2 {main}\n  thrown in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 68, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
    [Thu Aug 26 14:51:20.055677 2021] [php7:warn] [pid 14325] [client 1.2.3.4:55212] PHP Warning:  Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
    
    opened by xenadmin 3
  • The host-centric table representation for data.

    The host-centric table representation for data.

    Hello, It is a fantastic job, thank you so much for that solution! We've waited something like this for years. It is so comfortable way to navigate through groups, compare them to each other and find the places, which in our case are related to groups. Instead of searching them in usual Monitoring-Host interface and reading through huge list of hosts or Groups.

    If it possible, it would be good to have some development around this solution. Zabbix is missing the table presentation for hosts and has the two ways for showing data for hosts:

    • Latest Data
    • Dashboards + Plain Text

    In both cases it is hard to see and read any information about the host. For instance, we have the WiFi AP with 30 SU (subscriber units - clients). In Zabbix we can see them in the "Latest Data", it needs to be expanded one item by one and this way works only for Zabbix < 5.2. In 5.4 the "Latest Data" functionality is broken. Dashboard does not support any tables.

    So, there isn't any way to see all of items and information about them in one source like a table.

    It would be good to have any way of see the table (tables) for the host.

    For example, in case of WiFi AP and SUs this could be a table with fields: Client(SU name) - Mgmt IP - MAC - Product - Firmware - Distance - RX power - TX Power

    In case of file systems: Name - Total - Used - Free - Percentage

    In case of interfaces: Name - IP Address - MAC - Status - Bits Sent - Bits received

    I will attach some pictures for illustrating this, how it is represented in Zenoss for better understanding.

    2021-08-05_12-06

    2021-08-05_12-07

    2021-08-05_12-08

    2021-08-05_12-09

    2021-08-05_12-10

    opened by AlKosmos 2
Owner
BGmot
BGmot
For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.

Super Admin All Sites Menu Also available at https://wordpress.org/plugins/super-admin-all-sites-menu/ Use | Prerequisite | Install | Filters | Demo |

Per Søderlind 18 Dec 17, 2022
A Pocketmine Plug-in For Executing Commands While You Click on a item

ItemInteract What This Plugin Do? well This Plugin Is Usefull For Some Servers Like minigames,Skyblock,Lobby etc. This plugin can execute commands whi

null 6 May 31, 2022
A plugin that helps you to edit item's NBT in-game

NBTEditor A plugin that helps you to edit item's NBT in-game Usage: Join your server and enter command /nbteditor (or /nbte). The editor will be displ

null 4 Dec 7, 2022
The Pterodactyl based panel - specifically for hosts.

hPanel Beta hPanel is a fork of Jexactyl (which is a fork of Pterodactyl) for hosting companies with a cleaner UI, less bugs & more features. Document

hPanel 18 Dec 10, 2022
Dnsmasq GUI is a simple Web GUI for editing the /etc/hosts file on a computer

dnsmasq GUI is a simple Web GUI for editing the /etc/hosts file on a computer, with the intention of using it for easily setting up results for dnsmasq use.

Alex Cheer 4 Nov 27, 2022
Makes water in cauldrons boil when there's fire under it and allows players to cook food in the boil

BoilingCauldrons Makes water in cauldrons boil when there's fire under it and allows players to cook food in the boil • Description • Planned Features

Spice 6 Apr 17, 2022
Another initiative where patient in need of Blood and recovered patients willing to donate Blood can come together under one platform and connect with each other.

This is yet another initiative where patient in need of Blood and recovered patients willing to donate Blood can come together under one platform and connect with each other.

Rohit Tiwari 1 May 5, 2022
Creating data transfer objects with the power of php objects. No php attributes, no reflection api, and no other under the hook work.

Super Simple DTO Creating data transfer objects with the power of php objects. No php attributes, no reflection api, and no other under the hook work.

Mohammed Manssour 8 Jun 8, 2023
Magento 2 module to quickly acces products, orders and customer from admin menu

Magento 2 module to quickly access product, order or customer views Introduction The Magento 2 backend can be sluggish. Ever wanted to access a produc

null 1 Dec 3, 2021
A simple social groups compatible with ActivityPub.

A simple social groups compatible with ActivityPub.

wxw.moe 23 Dec 2, 2022