WAS THIS PAGE HELPFUL? Leave Feedback
Profiles aid in the design and management of hosts and services. Host profiles contain everything you need to configure a device other than a host name, alias, and an IP address. Host profiles can incorporate service profiles, and service profiles are made up of multiple service definitions. This page provides an overview of host profiles.
A host is a physical entity: a physical server, workstation, device, etc., that resides on your network. Services are the logical entities that hosts provide. By default, host profiles are not associated with a specific host. A host profile contains everything you need to configure a device other than a host name, IP address, and an alias. This concept will allow you to generically define the different roles of the different devices you are monitoring. Host profiles store a required host template and other host detail. One or more parent hosts and/or host groups can be added for hosts using this host profile. Host and service escalation trees can be added for a host assigned this host profile and all services on hosts using this profile. Additionally, you can add service profiles for hosts using the profile. You can then assign hosts and host groups to be managed by this host profile. When these combined definitions are assigned to a number of hosts and/or host groups, for example to 50 specific web servers, and you change one of the parameters, it would be applied to all of the specified hosts. You can make a change to either the host profile, the service profile, or in the service, which will then be applied to all associated hosts.
We'll start by naming the new host profile and attaching a host template. Then you can configure just about everything that the Nagios engine can know about the host with this form. The good part is that you can change this data at any time, and the hosts that use this profile will be updated with the new settings. This is similar to using templates in Nagios, but the difference is that Nagios templates do not support adding services. Profiles can be applied using the New Host Wizard option in the Configuration application, or later using tabs accessible in the host configuration screen or in the Configuration > Profiles section.
|When making changes you must select Save for each tab. If you do not select Save before you go to another tab, you will lose your changes. Additionally, for the saved changes to take place you must select the Apply tab to push the changes made to hosts, host groups, etc. Read the Apply screen carefully as caution should be taken before taking this action.|
This tab displays the name and description for the new host profile along with the required host template.
Parent Hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote host. The Parents tab in the host profile screen lets you add or remove parent hosts for hosts using this profile. Parent child relationships may also be managed directly by going to Hosts > Parent Child.
When a host goes down, becomes unreachable, or recovers, Nagios will find which host group(s) the host is a member of, get the contact group for each of those host groups, and notify all contacts associated with those contact groups. The host groups tab is used to add or remove host groups for hosts using this profile. Host groups may also be managed directly by going to Hosts > Host Groups.
The Escalation Trees option is used to define host and service escalation trees. Escalations trees are used to escalate contact notifications for a particular service, host, or host group. An escalation tree is a grouping of multiple escalations which is then assigned to a host, host profile, host group, or a service to escalate notifications. Escalations and escalation trees are themselves defined and configured under Configuration > Escalations. The escalation trees tab enables you to optionally select host and service escalations appropriate for a host using this profile. Assigning a service escalation tree sets the escalation for all services on hosts using this profile.
The Service Profiles tab enables you to add or remove service profiles for hosts using this profile.
The Assign Hosts tab within the host profile screen enables you to add or remove hosts to be individually managed by this profile. Removing a host means the host is no longer managed by this profile unless it is a member of a host group which is managed by this profile (see below). The host will retain its properties until the host is assigned and applied to another profile, or modified individually.
The Assign Host Groups tab enables you to add or remove host groups to be managed by this profile. Having a host group be managed by a host profile allows you to apply changes to the host profile to all the host members of the host group, without having to individually assign the host profile directly to each of the hosts. Removing a host group means the host group is no longer managed by this profile. The member hosts will retain their properties until the host group is assigned and applied to another profile, or the member hosts are modified individually.
As mentioned above, for the saved changes to take place you must select the Apply tab to push the changes made to hosts, host groups, etc.
|Read the Apply screen carefully as caution should be taken before taking this action.|
Applying a host profile at this point will modify the current service configuration across probably multiple hosts. Before taking this action, be sure to double-check: