New monitoring stuff
This commit is contained in:
3
zabbix_agentd.conf.d/mysql-slave.conf
Normal file
3
zabbix_agentd.conf.d/mysql-slave.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
UserParameter=repSBM,echo "show slave status\G;" | HOME=/etc/zabbix mysql | grep 'Seconds_Behind_Master' | awk '{print $2}'
|
||||
UserParameter=repIOrun,echo "show slave status\G;" | HOME=/etc/zabbix mysql | grep -c 'Slave_IO_Running: Yes'
|
||||
UserParameter=repSQLrun,echo "show slave status\G;" | HOME=/etc/zabbix mysql | grep -c 'Slave_SQL_Running: Yes'
|
||||
1
zabbix_agentd.conf.d/nginx.conf
Normal file
1
zabbix_agentd.conf.d/nginx.conf
Normal file
@@ -0,0 +1 @@
|
||||
UserParameter=nginx[*],/etc/zabbix/bin/nginx-check.sh "$1" "$2"
|
||||
Reference in New Issue
Block a user