IMAP Platform Service

Topics marked with * relate to features available only in vFabric Hyperic.

Monitor a Remote IMAP Server

You can configure a platform service of type "IMAP" to report the availability of a remote IMAP service.

Resource Plugin, Functions, and Classes

The IMAP platform service type is managed by HQ's netservices plugin and performs the following functions:

  • Metric collection using the org.hyperic.hq.plugin.netservices.IMAPCollector class.

  • event tracking using the reportEvent method in the Collector class.

Configure the IMAP Service in HQ

You manually configure a IMAP service on operating system platform types.

  1. Navigate to the platform whose Agent will monitor the service.

  2. Select New Platform Service from the Tools menu.

  3. On New Service page, enter a name for the service and select "IMAP" from the Service Type pull-down.

  4. Supply all required values on the Configuration Properties page. Configuration options are defined below in IMAP Configuration Options.

Configuration Properties Page

The Configuration Properties page for the IMAP platform service type is shown below.

images/download/attachments/79038211/IMAPConfigOptions.png

IMAP Configuration Options

The tables below document the options in the configuration schema for the IMAP service type.

Note:
These default option values are defined by properties in the netservices plugin. descriptor:

  • port to 10

  • sslport to 143

<option> name

description

default

optional

type

Notes

Parent Schema

ssl

Use SSL

false

true

boolean

ssl

hostname

Hostname

localhost

false

Hostname of system that hosts the service to monitor. For example: mysite.com

sockaddr

port

Port

A default value for port is usually set for each type of network service by properties in the netservices plugin descriptor.

false

Port where service listens.

sockaddr

sotimeout

Socket Timeout (in seconds)

10

true

int

The maximum amount of time the agent will wait for a response to a request to the remote service.

sockaddr

IMAP Metrics

  • Availability - The IMAP service type is considered available if the agent can establish a socket connection with the IMAP server, issue a response and receive a response of type "OK".

  • Connection Metrics

    • All Inbound Connections - Number of inbound connections of all types to the service.

    • All Outbound Connections - Number of outbound connections of all types from the service.

    • Inbound Connections - Number of inbound TCP connections to the service.

    • Outbound Connections - Number of outbound TCP connections from the service.

  • Response Time - The time it took to determine service availability.

  • TCP connection state metrics - The number of connections in each connection state is reported:

    • CLOSE_WAIT

    • CLOSED

    • ESTABLISHED

    • FIN_WAIT_1

    • FIN_WAIT_2

    • LAST_ACK

    • LISTEN

    • SYN_RECEIVED

    • SYN_SEND

    • TIME_WAIT

For definitions of TCP connection states, see RFC 793.

IMAP Monitoring Defaults Page

You can enable and disable metrics, select indicator metrics, and change the collection interval for a resource type on its Monitoring Defaults page. To navigate to a resource type's Monitoring Defaults page:

  1. Click the Administration tab.

  2. Click Monitoring Defaults.

  3. Scroll down to the resource type and click Edit Metric Template.

The Monitoring Defaults page for the IMAP platform service type is shown below:

images/download/attachments/79038211/IMAPMetrics.png

Event Tracking

You can enable log tracking for a network service. If you do, the agent will log an event for responses that match the criteria you specify.

To enable log tracking, click the Enable Log Tracking box in the Monitoring section of the Configuration Properties page.

For information about HQ log tracking functionality and configuration options, and how to view log events, see Set Up Log Tracking for a Resource.