Help on alert ping

Andreas Ericsson ae at op5.se
Mon Jan 31 00:48:29 CET 2005


Jack A. Kanimea wrote:
> Hi,
> Has anyone tried the alert in nagios to only alert as down only if the
> sites is down for say 15min and then alert as down as well as when it up
> for 15min sure than alert.
> 
> At the moment when get alerts as soon it is down although I can still
> pinging. But some of our remote sites have long timeout period and only
> show ping out for a period of time which doesn't mean it down. Any helkp
> is greated appreciated.
> 
> I currently using check_icmp. in /usr/local/nagios/etc/checkcommads.cfg
> 

Try downloading the new check_icmp and running it in host-check mode.

Do the following;
download http://devel.op5.se/oss/check_icmp-1.0.tar.gz
unpack and build (tar xvzf ....; make)
install -s -m 4755 check_icmp /usr/local/libexec/check_icmp
cd /usr/local/libexec/check_icmp
chmod 4755 check_icmp
ln -s check_icmp check_host

Then edit your misccommands.cfg to point to the check_host symlink 
instead. This will cause check_icmp to run in host-check mode and return 
OK upon any received packet, no matter the RTA or packet loss.

> 
> # 'check-host-alive' command definition
> define command{
>         command_name    check-host-alive
>         command_line  /usr/local/nagios/libexec/check_icmp -H
> $HOSTADDRESS$
>                }
> 
> thanks in advance,
> Jack K
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> 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
> 

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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