Nagios don't check

João Paulo Vaz da Silva joao.paulo at orbitel.com.br
Tue Oct 19 21:09:28 CEST 2004


Hi guys,

My Nagios don't check host command check_ping:

checkcommands.cfg

# 'check_ping' command definition
define command{
        command_name    check_ping
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c 
$ARG2$ -p 5
        }

# 'check-host-alive' command definition
define command{
        command_name    check-host-alive
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 
3000.0,80% -c 5000.0,100% -p 1
        }


host.cfg
# 'router1' host definition
define host{
        use                     generic-host            ; Name of host 
template to use
                                                                                                                             

        host_name                      router1
        alias                                Router  #1
        address                           10.4.1.70
        check_command             check-host-alive
        max_check_attempts      10
        notification_interval       120
        notification_period         24x7
        notification_options       d,u,r
        }

service.cfg

# Service definition
define service{
        use                             generic-service         ; Name 
of service template to use
                                                                                                                             

        host_name                          router1
        service_description             PING
        is_volatile                           0
        check_period                      24x7
        max_check_attempts          3
        normal_check_interval       3
        retry_check_interval           1
        contact_groups                    nagios-admin
        notification_interval            120
        notification_period              24x7
        notification_options             w,u,c,r
        check_command                  check_ping
        }

Thanks

João Paulo


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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