Adddding new monitoring Templates
This commit is contained in:
1
zabbix_agentd.conf.d/bind.conf
Normal file
1
zabbix_agentd.conf.d/bind.conf
Normal file
@@ -0,0 +1 @@
|
||||
UserParameter=bind.version, named -v
|
||||
1
zabbix_agentd.conf.d/dovecot.conf
Normal file
1
zabbix_agentd.conf.d/dovecot.conf
Normal file
@@ -0,0 +1 @@
|
||||
UserParameter=dovecot.version, dovecot --version
|
||||
2
zabbix_agentd.conf.d/exim.conf
Normal file
2
zabbix_agentd.conf.d/exim.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
UserParameter=exim.version, exim -bV | head -1 | cut -d " " -f 3
|
||||
UserParameter=mailqueue-exim,sudo exim -bp | awk '{print $3}' | grep -c '^[0-9A-Z]'
|
||||
@@ -1,8 +1,8 @@
|
||||
UserParameter=nfs[*], df | grep -cw $1
|
||||
UserParameter=mount[*], df | grep -c $1
|
||||
UserParameter=mdstat,egrep -ce "F|_" /proc/mdstat
|
||||
UserParameter=netstat[*], ss -nat | grep -c $1
|
||||
UserParameter=mysqlnetstat[*], ss -nat | grep 3306 | grep -c $1
|
||||
UserParameter=mailqueue,mailq | grep -v 'Mail queue is empty' | grep -c '^[0-9A-Z]'
|
||||
UserParameter=chkconfig[*], chkconfig --list | grep "$1" | cut -d ":" -f 4 | grep -c on
|
||||
UserParameter=chkconfig[*], chkconfig --list | grep "$1" | cut -d ":" -f 5 | grep -c on
|
||||
UserParameter=sockstat.sockets,cat /proc/net/sockstat|grep sockets|cut -d' ' -f 3
|
||||
UserParameter=sockstat.tcp.inuse,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 3
|
||||
UserParameter=sockstat.tcp.orphan,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 5
|
||||
@@ -12,4 +12,4 @@ UserParameter=sockstat.tcp.mem,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 11
|
||||
UserParameter=sockstat.udp.inuse,cat /proc/net/sockstat|grep UDP:|cut -d' ' -f 3
|
||||
UserParameter=sockstat.udp.mem,cat /proc/net/sockstat|grep UDP:|cut -d' ' -f 5
|
||||
UserParameter=check_chmod[*], stat --format '%a' $1
|
||||
UserParameter=os-full, cat /etc/issue | head -1
|
||||
UserParameter=os-full, cat /etc/issue | head -1
|
||||
|
||||
1
zabbix_agentd.conf.d/sensors.conf
Normal file
1
zabbix_agentd.conf.d/sensors.conf
Normal file
@@ -0,0 +1 @@
|
||||
UserParameter=lm_sensors[*], sh /etc/zabbix/bin/lm_sensors.sh "$1"
|
||||
Reference in New Issue
Block a user