NRPE: How to use retry_interval?


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

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,



even i am facing the same problem . could you solve it


Here is what my host definition looks like:

define host{ use linux-server host_name <host-name> alias alias address <Server-IP-Address> max_check_attempts 5 notification_interval 120 notification_period 24x7 }

I would take off “register 0”, you dont really need it. It causes more problems than it will help.

[EDIT: Here is a couple of websites that I use as a reference;

These are always nice to have when you forget something!!!]


in the host defination there should be an entry for retry_interval.

but there is an error in executing it as specified above .
i think i am facing the problem in terms of its syntax