fooker / opennms-bsf-scripts

Scripts for OpenNMS BSF monitors and detectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opennms-bsf-scripts

Scripts for OpenNMS BSF monitors and detectors

Example poller-configuration.xml

<service name="SPAM-Blacklist-Monitor" interval="7200000" user-defined="true" status="on">
  <parameter key="file-name" value="/etc/opennms/scripts/SpamBlackListMonitor.groovy"/>
  <parameter key="lang-class" value="groovy"/>
  <parameter key="bsf-engine" value="org.codehaus.groovy.bsf.GroovyEngine"/>
  <parameter key="run-type" value="exec" />
  <parameter key="retry" value="1" />
  <parameter key="timeout" value="60000" />
  <parameter key="timeout" value="60000" />
  <parameter key="threads" value="60000" />
  <parameter key="providers.v4" value="/path/to/my/dnsbl-providers-v4" />
  <parameter key="providers.v6" value="/path/to/my/dnsbl-providers-v6" />
  <parameter key="file-extensions" value="groovy,gy"/>
  <parameter key="rrd-repository" value="/opt/opennms/share/rrd/response"/>
  <parameter key="rrd-base-name" value="dnsrbl"/>
</service>
<monitor service="SPAM-Blacklist-Monitor" class-name="org.opennms.netmgt.poller.monitors.BSFMonitor"/>

About

Scripts for OpenNMS BSF monitors and detectors

License:GNU General Public License v3.0


Languages

Language:Groovy 100.0%