new install, ping services not working

Anthony Lieuallen Anthony at PromoHut.com
Tue May 4 16:03:34 CEST 2004


I've recently set up nagios and am enjoying a number of the things it is
capable of.  I'm having trouble setting up any services to do a "ping" of a
host.  Below is what I think are the appropriate sections of my .cfg files

define service {
        host_name               r.1
        service_description     ping-first-hop-router
        check_command           check_ping
        max_check_attempts      8
        normal_check_interval   6
        retry_check_interval    1
        check_period            always
        notification_interval   0
        notification_period     always
        notification_options    w,u,c,r
        contact_groups          admin
}

define host {
        host_name               r.1
        alias                   Router Hop 1
        address                 66.0.192.246
        max_check_attempts      8
        notification_interval   0
}

define hostgroup {
        hostgroup_name  routers
        alias           Routers
        contact_groups  admin
        members         r.1, r.2
}

I have three services set up just like that, and in nagios it says:
"check_ping: %s: Warning threshold must be integer or percentage!"
I assume that the check_ping plugin is not functioning properly.  I'm quite
sure my plugins in general are working, because the one non-ping service I
have set up is in an OK state in nagios.

Have I configured something incorrectly?  Any other leads?  Thanks in
advance!


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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