How to manage host services

This page outlines how to manage Nagios configured host services (services previously applied to a specific host). 

A hosts configuration defines a physical server, workstation, device, etc. which reside on your network, and Services are the logical entities hosts provide. You can easily manage a host service configurations by going to Configuration > Nagios Monitoring > Hosts > Hosts, then navigating to the host service. You will see the Manage Host Service page with four tabs titled; Service Detail, Service Check, Service Dependencies, and Service Externals. Each of these are referenced in the tabs below. 

Tips

  • When first configuring a host, if a host profile is selected the services from the host profile's service profile will be included in the list of host services, and any individually selected services will also be part of the host definition.
  • If you would like to create a new service to apply to a host(s) see How to configure services.
  • If you make any changes, click Save before proceeding to another tab.
  • After all configuration changes you need to perform a commit operation.
  • Hovering over the symbol displays a description of each directive.

Service Detail

A hosts Service Detail includes the host name, service name, the appliedservice template and specified service object directives. A checked Inherit box indicates the directive is inherited from the service template. To override a particular template value, first uncheck the check box, then provide a custom value. This changes this host service only.

For help with Nagios notification escalations see How to configure Nagios escalations and Notifications and Downtime.

If you have changes, click so Save and optionally continue with the next tab Service Check.

service detail

Service Check

The Service Check tab within the Manage Host Service page allows you to edit and test a service check command with the host, apply externals, and manage multiple instances. if you are satisfied with the check as inherited from the template, do nothing on this page. Otherwise uncheck the inherit checkbox and make the necessary changes. 

Don't forget to Save the service check with the new service and optionally continue with the next tab Service Dependencies.

service check

Service Dependencies

The Service Dependencies tab in the Manage Host Service page allows you to add or remove service dependencies.

The Dependency field is service dependency template that defines a master service relationship on this host. Select from the list a host where the Master service resides.

Optionally continue with the next tab Service Externals.

service dependencies

Service Externals

Externals are used to create configuration files for external applications, such as the GroundWork Distributed Monitoring Agent (GDMA). A service external provides the detail relevant to a particular service, that will end up in such a file.

The service externals you manage in this tab originate as generic service externals, established under Configuration > Nagios Monitoring > Services > Service externals. Once you apply a service external to a particular host service, that copy becomes independently modifiable. You can choose to manage changes to the copies from the generic service external, or modify the individual copies and manage them separately.

service externals

Related articles