Invalid retry_interval
Posted: Tue Sep 29, 2020 8:57 am
Hello,
I am attempting to add a new service but I keep getting an error when applying the configuration:
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service.
I have the exact same configuration set up on other nagios instances so I am not sure what the issue is. I've been able to narrow it down to the retry_interval. If the field is populated the configuration applies with no issues, if I attempt to leave it blank then the configuration will not apply. It is blank on other nagios instances so I don't know why it won't allow the field to be blank.
This applies:
This will not apply:
I am attempting to add a new service but I keep getting an error when applying the configuration:
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service.
I have the exact same configuration set up on other nagios instances so I am not sure what the issue is. I've been able to narrow it down to the retry_interval. If the field is populated the configuration applies with no issues, if I attempt to leave it blank then the configuration will not apply. It is blank on other nagios instances so I don't know why it won't allow the field to be blank.
This applies:
Code: Select all
define service {
host_name <remote host>
service_description <service name>
use xiwizard_ncpa_service
check_command check_xi_ncpa!-t '<token>' -P 5693 -M 'plugins/<plugin name>' -q '' -w -1 -c 0!!!!!!!
max_check_attempts 1
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
_xiwizard ncpa
register 1
Code: Select all
define service {
host_name <remote host>
service_description <service name>
use xiwizard_ncpa_service
check_command check_xi_ncpa!-t '<token>' -P 5693 -M 'plugins/<plugin name>' -q '' -w -1 -c 0!!!!!!!
max_check_attempts 1
check_interval 5
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
_xiwizard ncpa
register 1