Remote Poller seems to disregard "<include-range begin="..." end="..." />" and polls ALL hosts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Remote Poller seems to disregard "<include-range begin="..." end="..." />" and polls ALL hosts

Jimisola Laursen
Administrator
Hi,

I have problem and I suspect that there is something wrong with my configuration.

The Remote Poller polls ALL hosts that the OpenNMS have detected/found even though I explicitly specified that the package should only include range 192.168.1.20 to 192.168.1.21.

I only want the Remote Poller to poll/monitor those IP address. As it is now this Remote Poller has a service up percentage status of ~0.2% because it tries to contact over a hundred hosts that which it can't access from it network.

Have I missed something in my configuration or? I have restarted OpenNMS without any success.

Regards,
Jimisola

My configuration files are shown below (strings that identifies the company I work for have been remove

monitoring-locations.xml:

<?xml version="1.0" encoding="UTF-8"?>
<monitoring-locations-configuration
  xmlns="http://www.opennms.org/xsd/config/monitoring-locations"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://xmlns.opennms.org/xsd/config/monitoring-locations
                      http://www.opennms.org/xsd/config/monitoring-locations.xsd ">
  <locations>
<location-def location-name="CORPUSERS" monitoring-area="TEST" polling-package-name="XTE Remote"/>
<location-def location-name="OTHER" monitoring-area="TEST" polling-package-name="XTE Remote"/>
  </locations>
</monitoring-locations-configuration>

poller-configuration.xml:

<package name="XTE Remote" remote="true">
  <filter>IPADDR IPLIKE *.*.*.*</filter>
  <include-range begin="192.168.1.20" end="192.168.1.21" />

  <rrd step="300">
    <rra>RRA:AVERAGE:0.5:1:2016</rra>
    <rra>RRA:AVERAGE:0.5:12:1488</rra>
    <rra>RRA:AVERAGE:0.5:288:366</rra>
    <rra>RRA:MAX:0.5:288:366</rra>
    <rra>RRA:MIN:0.5:288:366</rra>
  </rrd>

  <service name="RDP" interval="300000" user-defined="false" status="on">
    <parameter key="retry" value="1" />
    <parameter key="port" value="3389" />
    <parameter key="timeout" value="3000" />
    <parameter key="rrd-repository" value="/var/lib/opennms/rrd/response" />
    <parameter key="rrd-base-name" value="rdp" />
    <parameter key="ds-name" value="rdp" />
  </service>
  <service name="SSH" interval="300000" user-defined="false" status="on">
    <parameter key="retry" value="1" />
    <parameter key="banner" value="SSH" />
    <parameter key="port" value="22" />
    <parameter key="timeout" value="3000" />
    <parameter key="rrd-repository" value="/var/lib/opennms/rrd/response" />
    <parameter key="rrd-base-name" value="ssh" />
    <parameter key="ds-name" value="ssh" />
  </service>

  <downtime interval="30000" begin="0" end="300000"/>             
  <downtime interval="300000" begin="300000" end="43200000"/>     
  <downtime interval="600000" begin="43200000" end="432000000"/> 
</package>