Antw: Ping WARNING and CRITICAL

Daniel Tuecks dtuecks at neuwied.de
Fri Jan 16 11:44:54 CET 2004


HI

check_ping is a "checkcommand" (see checkcommands.cfg) used in your services.cfg file:

sample:
define service{
        use                             generic-service

        host_name                       someserver
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  somegroup
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                 check_ping!100.0,20%!500.0,60%
        }

see the last line? this is how you implement check_ping. The default syntax of check_ping is:
check_ping!warningRTA,warningPacketDrop!criticalRTA,criticalPacketDrop

hope this helps... btw you can find most of this in the nagios-docs :)

--Daniel

>>> Frank Pikelner<pikelner at rogers.com> 16.01.2004 11:28:17 >>>
I read at post at one time as to how to implement WARNINGS and CRITICAL
status when PING (ICMP) either drops enough packets or has longer latency.
Searching through the archives I have been unsuccessful at find how to
implement this in the configuration files. The only item found was:

check_ping!100.0,20%!500.0,60%

What is the correct syntax and where do I specify this?

Thank you,

Frank Pikelner
t (416) 736-7474 ext. 40 
f (416) 736-7188 
e frank.pikelner at blue-dot.ca 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn 
_______________________________________________
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


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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