Hello,
I have a new nagios 3 configuration. I am running Debian Lenny and installed nagios through apt-get.
Last night I tried to simulate an event by popping the nic on the backup server.
I got notifications that SSH and Ping were down. But Current Load, and Disk Space continued reporting OK. And when you clicked on host detail the status was Host Up. It took about 5 minutes for SSH/Ping to report down. But I need the notifications to be sent near instantaneous. How do I get the notifications to be sent more quickly? What do I have to do to get nagios to realize that a host is DOWN?
Here is the config for the host that I brought down:
define host{
use generic-host
host_name backup
alias Backup Server
address 192.168.1.14
check_command check-host-alive
check_command check_ping!200.0,20%!600.0,60%
check_command check_all_disks!20%!10%
check_command check_procs!250!400
parents dlink-dgs1224t,gateway
}
Here is the check_all_disks service definition (I put it in the hosts.cfg file where I keep my host definitions).
# Define a service to check the disk space of the root partition
# on the local machine. Warning if < 20% free, critical if
# < 10% free space on partition.
define service{
use generic-service ; Name of service template to use
hostgroup debian-servers
service_description Disk Space
check_command check_all_disks!20%!10%
}