Zabbix

From UVOO Tech Wiki
Revision as of 15:57, 18 June 2020 by Busk (talk | contribs)
Jump to navigation Jump to search

Prometheus or Zabbix are good options depending on needs.

Using Prometheus

You may want to check these out and do the docker way

Login to Zabbix Server

https://monitor.pyr8.io

use Zimbra example.io login without domain i.e. busk

Install zabbix agent in active mode on current host

https://github.com/jeremybusk/zabbix/blob/master/zabbix-install-agent.sh

wget https://raw.githubusercontent.com/jeremybusk/zabbix/master/zabbix-install-agent.sh
sed -i 's/^DOMAIN=.*/DOMAIN="pyr8.io"/g' zabbix-install-agent.sh
chmod +x zabbix-install-agent.sh
./zabbix-install-agent.sh

Zabbix Syslog Logging

https://blog.zabbix.com/zabbix-log-file-monitoring/7378/

Your host should automatically appear in Zabbix hosts https://monitor.example.com/hosts.php?ddreset=1

If not, let admin know as there may be some permissions on Zabbix server to allow auto-registration of the agent.

If not using passive checks, agent host is on nat network foreign to server host, in zabbix agent config set agent interfaces to use IP : 127.0.0.1

You can use a proxy to do active checks on networks behind firewalls.

You have items(metrics), triggers and actions.

You set the logic how you want it to work. You can write your own custom scripts to work within the framework.

Notifications

https://www.zabbix.com/notification

https://wiki.example.io/mediawiki/index.php/Notification

Resources

Zabbix Architecture

https://www.zabbix.com/documentation/current/manual/distributed_monitoring/proxies