2. Monitoring TCP Services

Use the Service menu to manage and monitor services that are running on your networks. To access the Services pages, from the left Navigational menu, choose Services. The Services Overview appears.

The Services overview shows the folders and sub-folders and lists all of the services that have been added to the system to monitor.

2.1. Zenstatus

ZenStatus performs monitoring of TCP services. It is configured by turning on monitoring of a service under the “Services” root on the Navigation Toolbar. Service monitoring can be turned on a service class but this can be overridden on any service instance. For example, “SMTP” will be monitored by default but it may not be a critical service on all boxes. If this is the case, it may be removed on specific devices. Also, if the service is configured to only listen on localhost (127.0.0.1) the service will not be monitored.

2.2. Adding a Service To Monitor

To add a service to monitor:

  1. From the Services Overview page, in the Services text field, enter the name of the service you want to monitor.

  2. Click the Add button.

    The service appears in the Services list.

    Figure 11.1. Services List - Classes tab

    Services List - Classes tab

  3. To set monitoring to True, click the Edit tab and set the Monitor pop-up to True. The service is now being monitored.

2.3. Monitoring Status Service Status Information

To view the status information associated with a given service, select the service from the Services list in the Services Overview page.

The Individual Service Status tab appears.

Figure 11.2. Individual Service Status Tab

Individual Service Status Tab

This tab shows you a summary of the details associated with this service. You can see the name of the service, whether its monitored or not, a Description, any associated Service Keys and a List of Devices where the service is currently running. To change any of this information, click the Edit tab.

2.4. Editing Service Information

To edit the information that appears on the Individual Service Status tab, from the Individual Services page, click the Edit tab.

Figure 11.3. Individual Service- Edit Tab

Individual Service- Edit Tab

From this screen, use the Monitor pop-up to select True to monitor the service and False to not monitor the service. You can also add any associated Service Keys or enter a brief Description.

2.5. Configuring Service zProperties

You can configure zProperties either for all services, for an individual service or for any services that fall further down in the service hierarchy tree. To configure them for all services click the zProperties tab from the Service Overview tab. To configure zProperties for an individual service, click on the service name in the Service Overview and then click the zProperties tab for that service. The Service zProperties Tab appears.

Figure 11.4. Individual Service - zProperties Tab

Individual Service - zProperties Tab

You can configure the following zProperties for an individual service from this tab:

  • ZFailSeverity

  • ZHideFieldsFromList

  • zMonitor

    For more information about the Services zProperties, see the zProperties Appendix.

2.6. Using the Predefined /Server/Scan Device Class

The /Server/Scan device class is an example configuration for monitoring TCP services on devices using a port scan. You can use this device class as a reference for your own configuration; or, if you have a device that you want to be monitored for service availability alone, you can place it under this device class. Zenoss will not collect performance data for devices in this class.

2.7. Monitoring a Service Using a Service Class

This section will show you how to set up monitoring of an IP service across a group of devices using a service class.

  1. Navigate to the OS tab for a device you have loaded into the system.

    The OS Tab for a device appears.

    Figure 11.5. Showing Processes to Monitor

    Showing Processes to Monitor

  2. In the IP Services area, click the link to the service you want to monitor.

    The service summary for the service you have selected appears.

    Figure 11.6. Service Summary

    Service Summary

  3. From here set the Monitored flag to True to monitor this service for only this machine. You can also set this service to be monitored system-wide.

  4. To monitor a service system wide, click the Click the Service Class link.

    This page will show you everywhere the service is running and whether the service is monitored or not.

  5. Click the Edit tab and set Monitored to True.

    This will turn on monitoring for every instance of this service in the system.

  6. Click Save.

  7. Click the Status tab once again.

    Most of the instances of the Service will now be set to green, meaning they are monitored and up. The ones that remain unmonitored indicate that they have this service class set to not monitor at a local level.