thecamels-zabbix/zabbix_agentd.conf.d/security.conf

3 lines
263 B
Plaintext
Raw Normal View History

2014-08-11 14:22:34 +02:00
UserParameter=selinux-enabled, [ "$(getenforce)" = "Enforcing" ] && echo 1 || echo 0
UserParameter=firewall-enabled, sudo /sbin/iptables -L INPUT -n | grep -ci 'tcp dpts:10050'
UserParameter=firewall-md5, sudo /sbin/iptables -L INPUT -n | cksum | cut -d " " -f 1