Protocol Monitor Plugin

Protocol Monitors

HQ has built-in support monitor support for several standard network protocols which are typically used as platform services. These services require no awareness of the server-side implementation, be it Apache speaking HTTP, qmail speaking SMTP or OpenLDAP speaking LDAP. These generic protocol services can be embedded within a product aware plugin. For example, the Apache, iPlanet and IIS plugins all use the HTTP service for availability metrics.

Here is an example that collects metrics from various different network services within the same plugin:

<plugin>
  <server name="Hyperic External">
    <plugin type="measurement"
            class="org.hyperic.hq.product.MeasurementPlugin"/>

    <metric name="Availability"
            indicator="true"
            template="HTTP:hostname=www.hyperic.com,port=80:Availability"/>

    <metric name="Website SSL"
            template="HTTP:hostname=www.hyperic.com,port=443,ssl=true:Availability"
            units="percentage"/>

    <metric name="Support Site"
            template="HTTP:hostname=support.hyperic.com,port=80:Availability"
            units="percentage"/>

    <metric name="www.hyperic.com DNS"
            template="DNS:lookupname=www.hyperic.com:Availability"
            units="percentage"/>

    <metric name="www.hyperic.com DNS Answers"
            template="DNS:lookupname=www.hyperic.com:Answers"/>

    <metric name="www.hyperic.com DNS Authority Records"
            template="DNS:lookupname=www.hyperic.com:AuthorityRecords"/>

    <metric name="www.hyperic.com DNS Additional Records"
            template="DNS:lookupname=www.hyperic.com:AdditionalRecords"/>

    <metric name="mail.hyperic.com IMAP"
            template="IMAP:hostname=mail.hyperic.net:Availability"
            units="percentage"/>

    <metric name="mail.hyperic.com POP3"
            template="POP3:hostname=mail.hyperic.net:Availability"
            units="percentage"/>

    <metric name="mail.hyperic.com IMAP SSL"
            template="IMAP:hostname=mail.hyperic.net,ssl=true:Availability"
            units="percentage"/>

    <metric name="mail.hyperic.com POP3 SSL"
            template="POP3:hostname=mail.hyperic.net,ssl=true:Availability"
            units="percentage"/>

    <metric name="Download FTP Server"
            template="FTP:hostname=dl.hyperic.net:Availability"
            units="percentage"/>

   <metric name="Time Server"
           template="NTP:hostname=north-america.pool.ntp.org:Availability"
           units="percentage"/>
  </server>
</plugin>

Labels

 
(None)
System Monitoring Software
SourceForge.net Logo