The host check that's ultimately done is determined by a combination of factors:
- The host check defined directly in the host configuration (see the host page in the CCM).
- The host template assigned to the host itself.
- Host templates assigned to the host group the host is in.
#1 is assigned when the configuration wizard finishes. Whatever the configuration wizard puts there will supersede everything unless you clear it out.
#2 comes from the host template the wizard is using. In the NCPA host case, that's
xiwizard_ncpa_host, which uses
xiwizard_generic_host, where the ping check is coming from. This mostly only provides a fallback for if the host check is empty.
You can affect
#3 by changing what host group new hosts are put in (among other things) by adding a Configuration Wizard template and applying it on Step 1 of the wizard. You can generate one by going thru the wizard and opting to save as a template. Configuration Wizard templates hold the config values for steps 3-5 of the wizard.
Recommendation
1. Create a Host Template. Call it
TCP/5693 host check. It should be
check_tcp with
ARG1=5693
2. Modify the
xiwizard_ncpa_host host template's "Manage Templates" list to be
TCP/5693 host check instead of
xiwizard_generic_host.
3. Apply configuration.
This should not only modify the host check for all existing NCPA hosts, but new ones as well.
Another possible route
Another route you can do is to add these NCPA hosts to a host group and apply the host check that way. Unfortunately, I wasn't able to get this working 100% or it would have been my first recommendation.
1. Create a host group. Call it
TCP/5693 hosts.
2. Create a Host Template. Call it
TCP/5693 host check. When you're creating it, add it to the host group
TCP/5693 hosts by clicking "Manage Host Groups" and clicking it over to the right column.
It should be
check_tcp with
ARG1=5693
3. Apply configuration.
4. Take a host thru the configuration wizard, then on Step 3-5, make sure it gets put in the
TCP/5693 hosts Host Group.
5. On the last step, click Save Template. Call it "TCP/5693 Host"
Now, with every host you bring thru the wizard, use the "Finish With Template" button or the gear dropdown near the page title to apply this host group.