Recommended Plugin for Monitoring iptables

Marc Powell marc at ena.com
Tue Jan 20 23:04:46 CET 2009


On Jan 20, 2009, at 3:00 PM, Kaplan, Andrew H. wrote:

> Hi there --
>
> Thanks for your reply. I simply want to ensure that 'iptables -vnL'
> comes back with output indicating that firewall rules are in effect.

I don't use it but the first hit on google looks promising...

http://www.google.com/search?q=nagios+check_iptables

"The script does not (and can not) detect "stupid" rules. It's purpose  
is to ensure that iptables and the configured rules (whatever they may  
be) are loaded.

It is useful to identify situations such as:
- forgetting to start iptables at boot
- stopping iptables for testing and forgetting to restart
- etc

Normal condition is where all tables have 1 or more rules.
Critical condition is when a table (any table) has 0 rules. "

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list