iptables plugin

Andreas Ericsson ae at op5.se
Mon Mar 7 14:32:16 CET 2005


Askar Ali wrote:
> hi list,
> 
> I want to monitor our firewall "iptables" machine via nagios,  as  far  
> I know there is no plugin for this purpose .?
> or may I only check whether host is alive or not ..if I want to do this 
> what should I do
> 
> 1) define entries in hosts.cfg
> 2) may I have to define something for this host in services.cfg ? (coz 
> im only interested in host "alive" status)
> 

You'll need at least one service on the host as well. The most common 
way is to add a PING service with some moderately nice values so that 
you can get warnings in case the firewall is under heavy load (and takes 
time to respond to ICMP), and add a host-check using the same command 
but higher threshold values so you only get notified when the host is 
really down. Make sure you add your ACCEPT for icmp from the nagios 
server at the bottom of the list, so you get a warning early when the 
load is high.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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