rdrake | 15 Sep 21:54 2014

Foreign Source definitions

These rules can get pretty complicated but I don't see many examples of
them.  I want to put together a collection of examples that people are
using and post them to the wiki.

In the future, I'm thinking about doing something to make this more user
friendly.. because right now you kind of edit the policy then wait a few
hours and see if anything changed.  It would also be nice to be able to
insert comments.

Here is a copy of my config as an example.  I'm not certain all these
rules work, but you can try them for yourself if they look useful to you.

    <detectors>
        <detector name="ICMP"
class="org.opennms.netmgt.provision.detector.icmp.IcmpDetector"/>
        <detector name="SNMP"
class="org.opennms.netmgt.provision.detector.snmp.SnmpDetector"/>
    </detectors>
    <policies>
        <policy name="Docsis MAC Layer"
class="org.opennms.netmgt.provision.persist.policies.MatchingSnmpInterfacePolicy">
            <parameter key="action" value="ENABLE_COLLECTION"/>
            <parameter key="matchBehavior" value="ALL_PARAMETERS"/>
            <parameter key="ifType" value="127"/>
            <parameter key="ifAdminStatus" value="1"/>
        </policy>
        <policy name="Docsis Upstream"
class="org.opennms.netmgt.provision.persist.policies.MatchingSnmpInterfacePolicy">
            <parameter key="action" value="ENABLE_COLLECTION"/>
            <parameter key="matchBehavior" value="ALL_PARAMETERS"/>
(Continue reading)

Alek | 14 Sep 11:52 2014
Picon

service interval and rrd step value

Hello,
I'm interesting what's happen if I set a polling service interval to a 
value which is much frequently than step size in rrd definition. Values 
which appear faster than expected sample timestamp by rrd will be dropped?

Tobiasz P

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

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

Sergiu Cornea | 11 Sep 13:40 2014

Notification Grouping

Hi there,

 

I was wondering if someone can help me. I would like to create a rule based on categories and for the ‘Test’ category I wouldn’t want to be sent an email. This is what I could come up with.

 

<notification name=”Testnodes” status=”off” writeable=”yes”>

   <uei>uie.opennms.org/nodes/nodeDown</uei>

   <rule>(IPADDR != ‘0.0.0.0’ &amp; (categoryName != ‘Test’)) </rule>

  <destinationPath>Email-Admin</destinationPath>

  <text-message> ……………..</text-message>

  <subject>Test node down</subject>

</notification>

 

And also one other thing that I am interested in is that if more than 1 service is going down, how will you go about implementing that you will just get only a notification instead of ‘n’ notifications?

 

Thanks in advance,

 

Sergiu

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Sergiu Cornea | 11 Sep 16:28 2014

My email

This is my email as advised in the email.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
David cano bailen | 10 Sep 14:09 2014
Picon

Problem JRB files

Hi

My rrd directory its on RAM memory, yesterday this tmpfs partition was full and some jrb files were not being updated so i increased this and restarted marchine.

For a while they were updated but today i have checked it and some jrb files are not  updated.

I cant understand why some jrb files are updated and anothers not
, that files are from diferent services and all are collected from the same collect package.
Tmpfs partition has free space so it is not the problem now.

I have check logs but the only i can see on collectd.log is:

2014-09-10 14:07:23,732 WARN  [Collectd-Thread-26-of-50] ThresholdingSet: passedThresholdFilters: can't find value of ifHighSpeed for resource node[320].interfaceSnmp[2-1a003e51a8e2]

But i think it is not related.

Thanks
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Andrew Tai | 12 Sep 07:47 2014

help with links between cisco nexus and cisco ucs

Hi,

I’m trying to use opennms’ topology maps to show a Layer2 connection between an Nexus5628 and a UCS 6248 Fabric Interconnect. I have a fresh install of opennms 1.12.9 running on a CentOS 6.5 machine. Using the opennms UI I am able to create a requisition and add the nodes, proving the management IP of each device as well as provide the SNMP community string. When viewing the Node details I am able to see the SNMP attributes and interfaces, but I don’t see any link data on the ‘View Node Link details', and there’s no linkage showing up in the topology map.

I tried a couple things including shrinking the collection / polling intervals in links-configuration.xml as well as enabling vlan discovery for the package. I also added the system OID MIB data into the datacollection-config.xml.

Any ideas on what might be missing? Is there any more detailed information I could provide to get assistance?

Thanks,
Andrew


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
J Kephart | 11 Sep 23:21 2014

Help with Data Collection

Hi!

We're running ONMS 1.10.12, and we've attempted to add a collector
definition to the etc/datacollection directory, but we can't tell
whether or not it's actually collecting anything.  Initially, we were
seeing some errors, mainly because the vendor used invalid object
types.  We've corrected those, but still see nothing that tells us with
certainty that ONMS is collecting anything.

The collection is a small subset of the Ruckus Zone Director WLAN MIB,
which we inserted mainly to be certain that we understand how to do
this.  It contains:

--- SNIP ---
<?xml version="1.0"?>
<datacollection-group name="Ruckus-ZD">

  <resourceType name="ruckusZDWLANIndex" label="Ruckus ZD WLAN Index"
resourceLabel="${ruckusZDWLANDesc}">
    <persistenceSelectorStrategy
class="org.opennms.netmgt.collectd.PersistAllSelectorStrategy"/>
    <storageStrategy
class="org.opennms.netmgt.dao.support.IndexStorageStrategy"/>
  </resourceType>

  <group name="ruckus-zd-wlan-index" ifType="ignore">
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.1.1.1.2"
instance="ruckusZDWLANIndex" alias="ruckusZDWLANDesc" type="String" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.1.1.1.11"
instance="ruckusZDWLANIndex" alias="ruckusZDWLANNumVAP" type="Gauge32" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.1.1.1.12"
instance="ruckusZDWLANIndex" alias="ruckusZDWLANNumSta" type="Gauge32" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.1.1.1.14"
instance="ruckusZDWLANIndex" alias="ruckusZDWLANRxBytes" type="Counter64" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.1.1.1.16"
instance="ruckusZDWLANIndex" alias="ruckusZDWLANTxBytes" type="Counter64" />
  </group>
  <group name="ruckus-zd-wlan-ap" ifType="ignore">
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.2.1.1.6"
alias="ruckZDWLANAPUpTm" type="TimeTicks" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.2.1.1.14"
alias="ruckZDWLANAPNumAP" type="Gauge32" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.2.1.1.15"
alias="ruckZDWLANAPNumSta" type="Gauge32" />
    <mibObj oid=".1.3.6.1.4.1.25053.1.2.2.1.1.2.1.1.16"
alias="ruckZDWLANAPNumRog" type="Gauge32" />
  </group>

      <systemDef name="Ruckus Zone Director">
        <sysoidMask>.1.3.6.1.4.1.25053.3.1.5.</sysoidMask>
        <collect>
          <includeGroup>ruckus-zd-wlan-index</includeGroup>
          <includeGroup>ruckus-zd-wlan-ap</includeGroup>
        </collect>
      </systemDef>

</datacollection-group>
--- SNIP ---

As I said, we're not seeing errors any more, but we want to be sure that
we've configured this correctly, and that it's actually collecting.  I'd
appreciate any assistance in answering both questions.

Many thanks!

Jim

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

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

Les Mikesell | 11 Sep 22:03 2014
Picon

remove service previously specified in requisition?

I added a number of nodes with SNMP specified as a monitored service
on an interface and found that some did not actually have SNMP and
showed an outage.    Now I've removed the SNMP entry in the
requisition on some and synchronized, leaving them to autodetect but
the outage remains and snmp still shows as a monitored service.  Is
there a quick way to clear the 'monitored service' status to match the
provisioning change other than doing it through the web ui for each
node?   Eventually I'd like to have snmp working everywhere but some
are win2003 where you have to insert the right dvd to it.

-- 
   Les Mikesell
     lesmikesell <at> gmail.com

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

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

Johansson, Daniel | 11 Sep 16:48 2014

jdbc collection

Hi opennms-discuss

Opennms version: 1.12.6
OS: ubuntu 12.04

I have been trying to get some graphs from mysql querys from another server, it's a freeradius server
running mysql.
I have been following the http://www.opennms.org/wiki/JDBC_Data_Collection_Tutorial
In the attached picture I get the "Not monitored" and the polling package and monitor class is N/A

There is a Event in the node page that says "APN-Sessions data collection on interface 10.129.236.19
failed with 'An undeclared throwable was caught during data collection for interface 10.129.236.19/APN-Sessions'."

I just don't know what to do next.
Could someone help me to resolve the issues why the service isn't monitored and why the polling package and
monitor class is N/A

Below is my configuration.

BR
/Daniel

---------------------------------

/collectd-configuration.xml

<package name="databases">
  <filter>categoryName = 'Databases'</filter>
  <include-range begin="10.129.236.19" end="10.129.236.19"/>
  <service name="APN-Sessions" interval="300000" user-defined="false" status="on">
    <parameter key="collection" value="APN-Sessions"/>
    <parameter key="thresholding-enabled" value="true"/>
    <parameter key="driver" value="com.mysql.jdbc.Driver"/>
    <parameter key="user" value="radius"/>
    <parameter key="password" value="radpass"/>
    <parameter key="url" value="jdbc:mysql://10.129.236.19:3306/radius"/>
  </service>
</package>

<collector service="APN-Sessions" class-name="org.opennms.netmgt.collectd.JdbcCollector"/>
---------------------------------
/jdbc-datacollection-config.xml

<jdbc-collection name="APN-Sessions">
  <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>
  <queries>
    <query name="Total NULL sessions" ifType="ignore">
      <statement>
        <queryString>
            select count(distinct callingstationid)as 'Total NULL Sessions' from radacct where acctstoptime is NULL;
        </queryString>
      </statement>
      <columns>
        <column name="Total NULL Sessions" data-source-name="Total NULL Sessions"
            alias="Total NULL Sessions" type="gauge"/>
      </columns>
    </query>
    <query name="GTE-services sessions" ifType="ignore"
        instance-column="GTE-services sessions" resourceType="APN-Sessions">
      <statement>
        <queryString>
                        select count(distinct callingstationid)as 'GTE-Services sessions' from radacct where acctstoptime
is NULL and calledstationid = 'gte-services';
        </queryString>
      </statement>
      <columns>
        <column name="GTE-Services sessions" data-source-name="GTE-Services sessions"
            alias="GTE-services sessions" type="gauge"/>
        </columns>
    </query>
        <query name="GTE-Internet sessions" ifType="ignore"
       instance-column="GTE-Internet sessions" resourceType="APN-Sessions">
          <statement>
        <queryString>
                  select count(distinct callingstationid)as 'GTE-Internet sessions' from radacct where acctstoptime
is NULL and calledstationid = 'gte-Internet';
        </queryString>
      </statement>
      <columns>
        <column name="GTE-Internet sessions" data-source-name="GTE-Internet sessions"
        alias="GTE-Internet sessions" type="gauge"/>
      </columns>
        </query>
  </queries>
</jdbc-collection>

---------------------------------
/datacollection/APN-Sessions.xml

<datacollection-group name="GTE-Services sessions">
    <resourceType name="GTE-Services sessions" label="GTE-Services sessions"
           resourceLabel="GTE-Services sessions ${GTE-Services sessions} (index:${index})">
      <persistenceSelectorStrategy
           class="org.opennms.netmgt.collectd.PersistAllSelectorStrategy"/>
      <storageStrategy
           class="org.opennms.netmgt.dao.support.IndexStorageStrategy"/>
    </resourceType>

        <resourceType name="GTE-Internet sessions" label="GTE-Internet sessions"
           resourceLabel="GTE-Internet sessions ${GTE-Internet sessions} (index:${index})">
      <persistenceSelectorStrategy
           class="org.opennms.netmgt.collectd.PersistAllSelectorStrategy"/>
      <storageStrategy
           class="org.opennms.netmgt.dao.support.IndexStorageStrategy"/>
    </resourceType>
</datacollection-group>

------------------------------
/snmp-graph.properties.d/APN-Sessions.properties

reports=GTE-Services.Sessions,GTE-Internet.Sessions, APN-Sessions.Total

report.GTE-Services.Sessions.name=GTE-Services
report.GTE-Services.Sessions.columns="GTE-services sessions"
report.GTE-Services.Sessions.propertiesValues="GTE-services sessions"
report.GTE-Services.Sessions.type="GTE-services sessions"
report.GTE-Services.Sessions.command=--title="GTE-services sessions {GTE-services sessions}" \
 --vertical-label="Sessions" \
 DEF:b={rrd1}:"GTE-services sessions":AVERAGE \
 AREA:b#0000cc:" Sessions" \
 GPRINT:b:AVERAGE:"Avg: %8.2lf %s" \
 GPRINT:b:MIN:"Min: %8.2lf %s" \
 GPRINT:b:MAX:"Max: %8.2lf %s\\n"

report.GTE-Internet.Sessions.name=GTE-Internet
report.GTE-Internet.Sessions.columns="GTE-Internet sessions"
report.GTE-Internet.Sessions.propertiesValues="GTE-Internet sessions"
report.GTE-Internet.Sessions.type="GTE-Internet sessions"
report.GTE-Internet.Sessions.command=--title="GTE-Internet sessions {GTE-Internet sessions}" \
 --vertical-label="Sessions" \
 DEF:b={rrd1}:"GTE-Internet sessions":AVERAGE \
 AREA:b#0000cc:" Sessions" \
 GPRINT:b:AVERAGE:"Avg: %8.2lf %s" \
 GPRINT:b:MIN:"Min: %8.2lf %s" \
 GPRINT:b:MAX:"Max: %8.2lf %s\\n"

report.APN-Sessions.Total.name="Total NULL sessions"
report.APN-Sessions.Total.columns="Total NULL sessions"
report.APN-Sessions.Total.type=nodeSnmp
report.APN-Sessions.Total.command=--title="Total NULL sessions" \
 --vertical-label="# Total NULL sessions" \
 DEF:b={rrd1}:"Total NULL sessions":AVERAGE \
 AREA:b#0000cc:" Total NULL sessions" \
 GPRINT:b:AVERAGE:"Avg: %8.2lf %s" \
 GPRINT:b:MIN:"Min: %8.2lf %s" \
 GPRINT:b:MAX:"Max: %8.2lf %s\\n"
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Alejandro Galue | 10 Sep 16:37 2014

Selectively Detection of Services

Hello All,

I've created the following enhancement issue on Jira, and I would like to hear opinions and comments about it:

http://issues.opennms.org/browse/NMS-6829

The idea is to be able to "selectively detect" services in Provisiond to avoid detect all the services
declared with detectors on all the IP addresses declared on a specific requisition, or when you want to use
full auto-discover with Provisiond (as a replacement of Capsd) and is important to only detect certain
services on a specific set IPs, or detect certain services everywhere except on a specific set of IPs (like
Capsd can do).

I appreciate your thoughts, and the issue contains a small patch for the solution that provides the
functionality with less efforts.

Alejandro.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

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

alireza sadeh seighalan | 10 Sep 13:35 2014
Picon

monitoring weblogic12c with opennms

hi everyone

i am newbie in opennms. i want to monitoing oracle weblogic 12c  with opennms(1.12.9) .  i can enable snmp on weblogic server but how can i monitor with opennms? thanks inadvance
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

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

Gmane