Sounds like what you want is to know one of two things:

The iptables module is loaded: 

Code:
/bin/lsmod | /bin/grep iptables



Or more importantly that the iptables ruleset is what you expect:

Code:
/sbin/iptables -L | /usr/bin/wc -l



Test to see if that is greater than 8 lines, or grep for a specific rule that 
you care about. You can create a nagios plugin for this, or possibly use ssh 
monitoring.

------------------------
 Torleiv Ringer




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=7183#7183

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to