Nrpe + invalid values


#1

Hi,

I have installed nrpe on both the client and server. But it is giving me the following error when i check the config file.

Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service ‘Current Users’ on host 'remotehost’
Error: Could not register service (config file ‘/usr/local/nagios//etc/hosts.cfg’, starting on line 138)

My hosts.cfg file is as below, i have followed exactly as per the documentation.
define host{
name linux-box ; Name of this template
use generic-host ; Inherit default values
check_period 24x7
check_interval 5
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
}

What is the default values for these directives