AvailabilityMonitor
Subscribe

From OpenNMS

Jump to: navigation, search

Quick dirty Availability Monitor Configuration setup.

Entries need to be added to the following places

  • poller-configuration
  • capsd-configuration

Poller Configuration


Add to a package the following

           <service name="AVAIL" interval="300000" user-defined="false" status="on">
                  <parameter key="retry" value="3"/>
                  <parameter key="timeout" value="3000"/>
                  <parameter key="rrd-repository" value="/opt/opennms/share/rrd/response"/>
                  <parameter key="ds-name" value="icmp"/>
           </service>

At the bottom of poller configuration file add the following line

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

Add to Capsd the following

<protocol-plugin protocol="AVAIL"
    class-name="org.opennms.netmgt.capsd.plugins.IcmpPlugin"
    scan="off" user-defined="false">
    <property key="timeout" value="2000"/>
    <property key="retry" value="1"/>
</protocol-plugin>


You Must restart OpenNMS to impletment these changes.