Difference between revisions of "Zabbix"
imported>Jeremy-busk |
|||
Line 24: | Line 24: | ||
./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.pyr8.io/hosts.php?ddreset=1 | Your host should automatically appear in Zabbix hosts https://monitor.pyr8.io/hosts.php?ddreset=1 |
Revision as of 05:28, 9 March 2020
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
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.pyr8.io/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