Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4142

add a new capsd plugin and poller plugin to monitor the SSL Certification Expiration

    Details

      Description

      I created a capsd plugin and a poller plugin to monitor the SSL Certification Expiration.
      Configuration example:
      capsd-configuration.xml:

      <protocol-plugin protocol="SSLCert" class-name="org.opennms.netmgt.capsd.plugins.SSLCertPlugin" scan="on">
      <property key="port" value="443" />
      <property key="timeout" value="5000" />
      <property key="retry" value="1" />
      </protocol-plugin>

      The capsd plugin will check whether the node has a SSL Certification.

      <service name="SSLCert" interval="300000"
      user-defined="false" status="on">
      <parameter key="retry" value="2"/>
      <parameter key="timeout" value="3000"/>
      <parameter key="port" value="443"/>
      <parameter key="expired" value="15"/>
      </service>

      <monitor service="SSLCert" class-name="org.opennms.netmgt.poller.monitors.SSLCertMonitor"/>

      This poller monitor has a parameter "expired". When the SSL certification will expire in the number of days of "expired" parameter. The service will be down.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              guangnian0412@gmail.com Joey Zhang
            • Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: