[HOWTO] Install Zabbix on Finch / Qjail-3.4
Posted: 21 Jun 2014 21:33
Description:
Zabbix is client/server based an system monitoring tool. It is the main competitor of Naigos.
http://www.zabbix.com/screenshots.php
HOW-TO Link:
https://gist.github.com/dreamcat4/9e938d53c29340c17958
Requires Finch v1.20. (version check included).
These cmds can all be copy-pasted and should "just work". However if you wish, it is possible to change some variables near the top. For example "jail_ip=", "jail_loopback=" and "jailname=".
Zabbix Overview:
There are several components of zabbix: agent, server, and frontend. The agent instance is run on any computer in your LAN which you wish to monitor. There are versions os zabbix_agent for many platforms, including Linux, Windows, Mac OS X and FreeBSD. (zabbix also has pre-made templates for monitoring each operating system). Each zabbix_agent runs as a daemon and reports it's data back it's data to zabbix_server (x1) which is a headless 'C' daemon. Then "zabbix_frontend" is actually the PHP web application which offers the GUI Browser interface and controls the zabbix_server.
Additionally, any lesser network devices that cannot run zabbix_agent, but instead have SNMP (printers, routers, etc.) can report their data back to zabbix_server also for monitoring.
NOTES:
All the commands were tested on FINCH + QJAIL, not theBrig. The zabbix frontend is served by NGINX and PHP-FPM. With MYSQL for the Database backend (to store the data). All nginx and PHP configuration is included (inlined). So can just copy-paste, no editing in a text editor.
Be aware that (from inside a jail), the local zabbix_agent may not be able to see some certain information about the local host system (NAS4Free / FreeNAS / pfSense). Because from inside of a jail some things are restricted and it cannot access. However most things are OK.
If some aspect you really need to monitor is not visible, then just install a 2nd zabbix_agent into the finch chroot. I didn't provide instruction for doing that but it is well documented in the same HOWTO gist link above.
Zabbix is client/server based an system monitoring tool. It is the main competitor of Naigos.
http://www.zabbix.com/screenshots.php
HOW-TO Link:
https://gist.github.com/dreamcat4/9e938d53c29340c17958
Requires Finch v1.20. (version check included).
These cmds can all be copy-pasted and should "just work". However if you wish, it is possible to change some variables near the top. For example "jail_ip=", "jail_loopback=" and "jailname=".
Zabbix Overview:
There are several components of zabbix: agent, server, and frontend. The agent instance is run on any computer in your LAN which you wish to monitor. There are versions os zabbix_agent for many platforms, including Linux, Windows, Mac OS X and FreeBSD. (zabbix also has pre-made templates for monitoring each operating system). Each zabbix_agent runs as a daemon and reports it's data back it's data to zabbix_server (x1) which is a headless 'C' daemon. Then "zabbix_frontend" is actually the PHP web application which offers the GUI Browser interface and controls the zabbix_server.
Additionally, any lesser network devices that cannot run zabbix_agent, but instead have SNMP (printers, routers, etc.) can report their data back to zabbix_server also for monitoring.
NOTES:
All the commands were tested on FINCH + QJAIL, not theBrig. The zabbix frontend is served by NGINX and PHP-FPM. With MYSQL for the Database backend (to store the data). All nginx and PHP configuration is included (inlined). So can just copy-paste, no editing in a text editor.
Be aware that (from inside a jail), the local zabbix_agent may not be able to see some certain information about the local host system (NAS4Free / FreeNAS / pfSense). Because from inside of a jail some things are restricted and it cannot access. However most things are OK.
If some aspect you really need to monitor is not visible, then just install a 2nd zabbix_agent into the finch chroot. I didn't provide instruction for doing that but it is well documented in the same HOWTO gist link above.