Page 1 of 1
add a service
Posted: Fri Jun 18, 2021 2:12 pm
by ccheltenham
How does one add a monitor to a specific host for a service called IEC in CCM ?
Re: add a service
Posted: Fri Jun 18, 2021 3:38 pm
by dchurch
What have you tried so far? Have you received any error messages?
How services are associated with hosts
Services are associated with hosts in a variety of ways:
- The Service is associated directly with the Host (in the Host Management page tab in the Core Config Manager).
- The Service is associated with one of the Host's Templates.
- The Service is associated with a Host Group, which the Host is in.
Nagios XI: Define Once, Apply Many
Nagios XI has a powerful configuration management system that allows you to "define-once, apply-many"
For instance if you have a service check and the command that needs to be run is only different in the host address it needs to go to, you can apply that service check to a slew of hosts using a Host Group.
Convert an existing service to a shared service by disassociating it from the host, adding it to the Host Group, then change the Config Name to something descriptive like "Shared Checks."
Once you have it set up that way, adding a new host is easy. 1. Open Configure => Core Config Manager => Hosts, 2. Add a host, 3. Fill out Host Name, Address, Template: `xiwizard_ncpa_host`, Host Group: [your host group], 4. Click Save.