Invalid retry_interval

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
meganwilliford
Posts: 101
Joined: Tue Aug 06, 2019 7:49 am

Invalid retry_interval

Post by meganwilliford »

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:

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
This will not apply:

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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Invalid retry_interval

Post by benjaminsmith »

Hi Megan,

So those are required parameters for the service and perhaps it's not correctly inheriting the settings correctly or you may have some kind error in the configurations

Run through the following and let me know if you get more detailed info on the error.

Go to Configure > CCM > Tools > Config File Management:

1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Core

Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked