Hello,

Is-it possible to use snmp-interface-poller-configuration to enable SNMP Data 
Collection automatically and not with UI ?
I want to enable data collection on each interface where snmpifalias LIKE 
'%-COLLECT%'.
I have changed the configuration and enabled service SnmpPoller on OpenNMS.
But it does not work ...

<?xml version="1.0"?>
<?castor 
class-name="org.opennms.netmgt.snmpinterfacepoller.SnmpInterfacePollerConfiguration"?>
<snmp-interface-poller-configuration threads="30" service="SNMP">
  <node-outage>
    <critical-service name="ICMP" />
    <critical-service name="SNMP" />
  </node-outage>
  <package name="STD">
    <filter>IPADDR != '0.0.0.0'</filter>
    <include-range begin="1.1.1.1" end="254.254.254.254" />
    <interface name="Others" criteria="snmpiftype = 6 AND snmpifoperstatus='1' 
AND snmpifalias LIKE '%-COLLECT%'" interval="300000" user-defined="false" 
status="on"/>
  </package>

  <!--  package name="overwritesnmpvalues">
    <filter>IPADDR != '0.0.0.0'</filter>
    <include-range begin="1.1.1.1" end="254.254.254.254" />
    <interface name="Ethernet" criteria="snmpiftype = 6" interval="300000" 
user-defined="false" status="on"
    port="161" timeout="1000" retry="1" max-vars-per-pdu="10" />
  </package-->
</snmp-interface-poller-configuration>

Regards,
Samuel Mutel.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to