Dear readers
I get this error while varifying the nagios.cfg file
Error: Invalid host object directive 'retry_interval'.
Error: Could not add object property in file '/usr/local/nagios/etc/remote_host2.cfg' on line 10.
I have installed
nagios-2.9.tar.gz
nagios-plugins-1.4.8.tar.gz
nrpe-2.7.1.tar.gz
and have made a new file in /usr/local/nagios/etc/remote_host2.cfg where I have put
define host{
name linux-box ; Name of this template
use generic-host ; Inherit default values
check_period 24x7
check_interval 5
retry_interval 1
max_check_attempts 10
check_command check-host-alive
notification_period 24x7
notification_interval 30
notification_options d,r
contact_groups admins
register 0 ; DONT REGISTER THIS - ITS A TEMPLATE
}
Does anyone know what could be wrong?
Lots of love,
Louise