template odd behavior.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

template odd behavior.

Post by benhank »

We have a service template that contains other templates:

Code: Select all

Template 1  
               --- template 2
               ---  template 3 
This template works fine if we associate it with a host group:

Code: Select all

HOSTGROUP <-------Template 1
Result: all hosts within the hostgroup are checked correctly.
Problem:
if we associate the template to a host that is not in a(any) hostgroup checks do not run.
What we have done so far:
we have removed hosts from the Hostgroup, that while in the hostgroup were being checked correctly.
we then associated the template (Template1) to those individual hosts, and no checks. I don't mean that the checks failed, they did not show up.
put the hosts back into the HG and they run.
If we take the host out of the HG, and then associate all three templates individually to the host it works.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: template odd behavior.

Post by scottwilkerson »

Did you have individual hosts specified at the service level? If so the settings here will take precedence. You can override this behavior by selecting the + in the "Host Options"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: template odd behavior.

Post by benhank »

thanks sir you can lock this
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked