forked from berngp/docker-zabbix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
monitrc
33 lines (27 loc) · 1.04 KB
/
monitrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set init
set httpd
port 2812
allow myuser:mypassword
check process mysqld with pidfile /var/run/mysqld/mysqld.pid
every 2 cycles
start program = "/sbin/service mysqld start"
stop program = "/sbin/service mysqld stop"
check process zabbix-server with pidfile /var/run/zabbix/zabbix_server.pid
every 2 cycles
start program = "/sbin/service zabbix-server start"
stop program = "/sbin/service zabbix-server stop"
depends on mysqld
check process zabbix-agent with pidfile /var/run/zabbix/zabbix_agentd.pid
every 2 cycles
start program = "/sbin/service zabbix-agent start"
stop program = "/sbin/service zabbix-agent stop"
check process zabbix-java-gateway with pidfile /var/run/zabbix/zabbix_java.pid
every 2 cycles
start program = "/sbin/service zabbix-java-gateway start"
stop program = "/sbin/service zabbix-java-gateway stop"
depends on zabbix-server
check process httpd with pidfile /var/run/httpd/httpd.pid
every 2 cycles
start program = "/sbin/service httpd start"
stop program = "/sbin/service httpd stop"
depends on zabbix-server