NagiosXI 5.5.9 - service template import issue ...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

NagiosXI 5.5.9 - service template import issue ...

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Go into the CCM Services and edit this service and on the check settings tab remove the 0 from these values
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked