Managing Host – Services
- Select Hosts from the Configuration menu options.
- Expand the Hosts drop-down menu.
- Select a Host to manage.
- Select the Services tab.
- In the Services screen, you will see the Host name, and the Services that are currently associated with the Host. These Services are displayed after selecting the Service from the drop-down box and selecting Add Services You can Add, Modify, and Remove Services for this Host. use the Ctrl and Shift keys to select several Services at once.
Note: Managing Services from this page will in all likelihood put the Host out of sync with its Service Profiles. After making changes, use caution when applying Profile to this Host.
Figure 5.6.6a. Services
Multiple Instance Service Checks
The classic Configuration behavior is the single instance Check. A Service is assigned to a Host and it performs a single Check. To perform a second Check using the same Check Command required the configuration of a second Service. For example, the Check command check_disk is configured on the Service by arguments to specify the partition on the drive to check. So, to check drives C and D on a Host, a Service for each would be created (e.g. check_disk_c and check_disk_d) and assigned to the Host. This works well if you wish to monitor drives C and D the same way across many Hosts, but suppose the host is unique? The new alternative is to create a single generic Service, check_disk, assign it to a Host, add instances for each drive, and then set the arguments accordingly.
If this check is the same as other checks on this host, where the check command is the same, all of the settings on the service detail page are the same, and only the arguments differ, you can define a set of checks here without creating new services. For example, a disk check can be defined for multiple partitions, or an snmp check on a network device can be defined for multiple interfaces. Enter a name to add a single instance or enter a range of numbers to add a list of numbered instances prefixed with an underscore. The instance names are appended to the service name so we recommend using an underscore for the first character in the name.
While in the Services tab as in Figure 5.6.6a. above, to access the Service Detail screen for any Service select details next to the Service Name. Alternatively you can directly access the Manage Host Service screen by selecting the Service from the navigation tree under a Host name, Figure 5.6.6b..
Figure 5.6.6b. Multiple Instance Service Checks