Hi all,
I have problem with iptables status. I used Zabbix version 1.4.5 running on CentOS5.
to perform monitoring iptables, I imported template Template_iptstate as attached file and add into zabbix_agentd.conf parameters as follow:
UserParameter=iptstate.tcp,iptstate -s | grep tcp | wc -l
UserParameter=iptstate.tcp.syn,iptstate -s | grep SYN | wc -l
UserParameter=iptstate.tcp.timewait,iptstate -s | grep TIME_WAIT | wc -l
UserParameter=iptstate.tcp.established,iptstate -s | grep ESTABLISHED | wc -l
UserParameter=iptstate.tcp.close,iptstate -s | grep CLOSE | wc -l
UserParameter=iptstate.udp,iptstate -s | grep udp | wc -l
UserParameter=iptstate.icmp,iptstate -s | grep icmp | wc -l
UserParameter=iptstate.other,iptstate -s -t | head -2 |tail -1 | sed 's/^.*OTHER: //'
I checking on agent and give parameter is good, but in Zabbix Server i can't get data iptstate from agent clients.
May i help me what is problem? and Howto Monitoring Iptables.
Regards,
John Nguyen
I have problem with iptables status. I used Zabbix version 1.4.5 running on CentOS5.
to perform monitoring iptables, I imported template Template_iptstate as attached file and add into zabbix_agentd.conf parameters as follow:
UserParameter=iptstate.tcp,iptstate -s | grep tcp | wc -l
UserParameter=iptstate.tcp.syn,iptstate -s | grep SYN | wc -l
UserParameter=iptstate.tcp.timewait,iptstate -s | grep TIME_WAIT | wc -l
UserParameter=iptstate.tcp.established,iptstate -s | grep ESTABLISHED | wc -l
UserParameter=iptstate.tcp.close,iptstate -s | grep CLOSE | wc -l
UserParameter=iptstate.udp,iptstate -s | grep udp | wc -l
UserParameter=iptstate.icmp,iptstate -s | grep icmp | wc -l
UserParameter=iptstate.other,iptstate -s -t | head -2 |tail -1 | sed 's/^.*OTHER: //'
I checking on agent and give parameter is good, but in Zabbix Server i can't get data iptstate from agent clients.
May i help me what is problem? and Howto Monitoring Iptables.
Regards,
John Nguyen
Comment