Page 1 of 1

NagiosXI 5.5.9 - service template import issue ...

Posted: Tue May 21, 2019 3:09 am
by vishfx
Hi Nagios Team,

Am using NagiosXI 5.5.9 with Nagios Core 4.2.4 + modgearman2

Facing strange issue while importing service template by:

placing it in /usr/local/nagios/etc/import/
running /usr/local/nagiosxi/scripts/reconfigure_nagios.sh

I see that in one of the NagiosXI instance , the import is not proper and is inserting max_attempts, check_interval, retry_interval, or notification_interval values.
The same template import seems to be proper in another NagiosXI instance.

Due to this am seeing the below error:

Code: Select all

[color=#FF0000]
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Check Test AUTH Node1' on host 'iaminttst01.isus.emc.com'
Error: Could not register service (config file '/usr/local/nagios/etc/services/lemc-non-prod-layer7.cfg', starting on line 86)
   Error processing object config files!
[/color]
PFA screenshot depicting the issue.

How can I edit/modify the template to remove max_attempts, check_interval, retry_interval, notification_interval value ?

Kindly assist.

Regards,
Vish.

Re: NagiosXI 5.5.9 - service template import issue ...

Posted: Tue May 21, 2019 8:38 am
by scottwilkerson
Go into the CCM Services and edit this service and on the check settings tab remove the 0 from these values

Re: NagiosXI 5.5.9 - service template import issue ...

Posted: Tue May 21, 2019 4:05 pm
by vishfx
scottwilkerson wrote:Go into the CCM Services and edit this service and on the check settings tab remove the 0 from these values
Thanks Scott, that worked.

But, why would the import behavior vary in both NagiosXI instances ?

Regards,
Vish.

Re: NagiosXI 5.5.9 - service template import issue ...

Posted: Wed May 22, 2019 6:38 am
by scottwilkerson
It's hard to say, did the one that didn't work already have the template created with the bad values?

It's really difficult to say conclusively because I don't know the state of each before the import.