Nagios ping frequency

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
pavs
Posts: 1
Joined: Tue Aug 25, 2015 6:41 am

Nagios ping frequency

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios ping frequency

Post by tmcdonald »

That seems right. What is the behavior you are experiencing in practice?
Former Nagios employee
Locked