NagiosXI - Service template not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI - Service template not working

Post by benjaminsmith »

Hi,

Could you send us the most recent system profile with these configurations, and we'll take a closer look? Is possible that some of those hosts are assigned to both groups?

https://support.nagios.com/kb/article/n ... e-696.html

If you'd like to learn more about object inheritance, the Nagios Core docs are especially helpful.

https://assets.nagios.com/downloads/nag ... tance.html

Thanks,
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!
Bala.Mutyam
Posts: 97
Joined: Wed Apr 29, 2020 12:18 pm

Re: NagiosXI - Service template not working

Post by Bala.Mutyam »

Hi,
Is possible that some of those hosts are assigned to both groups?
yes, some of the hosts are assigned to both groups.is that a problem? i created similar templates with hosts in both groups and there are no issues.

PM'd system profile.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI - Service template not working

Post by benjaminsmith »

Hi,

If some hosts are members of both groups, there will be a relationship with both service templates. You can always override this by setting a local check_command as local variables take precedence.

Do you know the exact name of the hosts in the questions? I can cross-check this in the configs.

Thanks,
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!
Bala.Mutyam
Posts: 97
Joined: Wed Apr 29, 2020 12:18 pm

Re: NagiosXI - Service template not working

Post by Bala.Mutyam »

Hi,

Thanks for the update.

here are the example hosts:
bmds075sqcl2p (override not working)
rmfs075sq06p (override working)

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI - Service template not working

Post by benjaminsmith »

Hi,

Yeah, those services are members of both host groups. The reason one is working and the other is not I believe is just related to the order of operations with the software.

Do you have one or two services defined in the CCM for Memory Services? If only one, try adjusting the priority order of the templates, the top assigned template will take precedent over the ones below it.

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!
Bala.Mutyam
Posts: 97
Joined: Wed Apr 29, 2020 12:18 pm

Re: NagiosXI - Service template not working

Post by Bala.Mutyam »

Hi,

Thanks for the update.

I have two services defined for Memory Services in CCM.

I have moved template definition and service definition one up and override seems to be working now.

Thanks for all your help.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NagiosXI - Service template not working

Post by benjaminsmith »

HI,
I have moved template definition and service definition one up and override seems to be working now.

Thanks for all your help.
Great! Good to hear.

Let us know if it's okay to mark this as resolved.
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!
Bala.Mutyam
Posts: 97
Joined: Wed Apr 29, 2020 12:18 pm

Re: NagiosXI - Service template not working

Post by Bala.Mutyam »

Hi,

Yes, please mark this as resolved.

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI - Service template not working

Post by scottwilkerson »

Bala.Mutyam wrote:Hi,

Yes, please mark this as resolved.

Thanks
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked