Page 1 of 1

Nagios ping frequency

Posted: Tue Aug 25, 2015 7:01 am
by pavs
Hi,

New to nagios. I have setup nagios to ping a bunch of servers to check for uptime. But the configuration I have doesn't seem to ping as often as I want it to. Basically I want nagios to ping server every 60 seconds, whether its up or not.

my config (server/Selice.cfg) :

Code: Select all

define host {
        use                             linux-server
        host_name                       Selise
        alias                           Client
        address                         103.230.4.42
        check_period                    24x7
        notification_interval           30
        notification_period             24x7
        check_interval                  1      ; Actively check the host every 1 minutes
        retry_interval                  1      ; Schedule host check retries at 1 minute intervals
        max_check_attempts              5      ; Check each Linux host 5 times (max)

}

define service {
        use                             generic-service
        host_name                       Selise
        service_description             PING
        check_command                   check_ping!100.0,20%!500.0,60%
}
nagios.cfg is default I havent changed anything. Please let me know what I have to do to change it to 1 min ping to update status, regardless of the outcome.

I am using NagiosĀ® Coreā„¢ 4.1.1 on ubuntu 14.04

Thanks for any help.

Re: Nagios ping frequency

Posted: Tue Aug 25, 2015 9:10 am
by tmcdonald
That seems right. What is the behavior you are experiencing in practice?