Sankaran, Raji | 27 Aug 20:37 2015

OpenNMS unable to collect data from a node

Hi,

We are trying to use OpenNMS to monitor few of our nodes and set up thresholds/alarms so that email is sent when certain thresholds are exceeded.

We have added few VMs running netsnmp in OpenNMS. But, we are unable to get information related to disk utilization, CPU utilization,Node state,Memory utilization etc.

Steps we did to add a node:

1.       A VM in which an snmp agent runs and netsnmp is set up

2.       In OpenNMS GUI, go to Admin->Quick Add-Node and give all relevant information

3.        In Admin->Configure OpenNMS-> Configure SNMP Data Collection per Interface

4.       Select the “Collect” option for the node added.

5.       Go to the Node->Resource Graphs

6.       We were expecting values related to UCD-SNMP MIB .But we do not see any related information.

We are using opennms-16.0.2 . The machine has net-snmp 5.7.2 installed.

Can you please let us know where we are going wrong or what are the steps needed to set up the monitoring correctly?

Raji Sankaran
Software Engineer II

Media Data Intelligence

Raji.Sankaran <at> ccur.com
678-258-4118 (office)
201-580-0306(mobile)

 
CONCURRENT  |  4375 River Green Parkway  | Suite 100 | Duluth, GA 30096  |  www.ccur.com

 

------------------------------------------------------------------------------
_______________________________________________
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
Ronny Trommer | 27 Aug 15:20 2015

Meetup at WriteTheDocs conference in Prague

FYI: I’m attending the WriteTheDocs conference in Prague

https://ti.to/writethedocs/write-the-docs-eu-2015

If somebody is around or wants to join.

-rt
------------------------------------------------------------------------------
_______________________________________________
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
khoffer | 22 Aug 02:13 2015

Clearing Alarms

I am working on some new stuff, and I have tweaked a few things to try and
make it work but i am having a issue with getting an alarm to clear.

I thought I had everything setup but no mater what i do when the clear event
comes in the alarm still indicates the original severity and it never
updates the severity.

  <event>
      <mask>
         <maskelement>
            <mename>id</mename>
            <mevalue>.1.3.6.1.4.5</mevalue>
         </maskelement>
         <maskelement>
            <mename>generic</mename>
            <mevalue>6</mevalue>
         </maskelement>
         <maskelement>
            <mename>specific</mename>
            <mevalue>7</mevalue>
         </maskelement>
      </mask>
      <uei>uei.opennms.org/traps/ABR/acroEvent</uei>
      <event-label>ABR defined trap event: acroEvent</event-label>
      <descr>
%uei%:%nodeid%:%parm[#1]%:%parm[#4]%:%parm[#5]%:%parm[#7]%:%parm[#8]%
&lt;p>The event is generated when N-Central creates an
event.&lt;/p>&lt;table>

        &lt;tr>&lt;td>&lt;b>
        acroEventType&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#1]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.1&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#2]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.2&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#3]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.3&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#4]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.4&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#5]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>
        &lt;tr>&lt;td>&lt;b>
        acroEventText.5&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#6]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>
        &lt;tr>&lt;td>&lt;b>
        acroEventText.6&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#7]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>
        &lt;tr>&lt;td>&lt;b>
        acroEventText.7&lt;/b>&lt;/td>&lt;td>&lt;/td>&lt;td>
        %parm[#8]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

&lt;/table>
        </descr>
        <logmsg dest="logndisplay">%parm[#4]% indicates problem on device
%parm[#5]% for %parm[#7]% occured at %parm[#8]%
        </logmsg>
      <severity>Critical</severity>
      <alarm-data
reduction-key="%uei%:%nodeid%:%parm[#1]%:%parm[#4]%:%parm[#5]%:%parm[#7]%"
alarm-type="1" auto-clean="false"/>
   </event>

====== CLEAR ======

   <event>
      <mask>
         <maskelement>
            <mename>id</mename>
            <mevalue>.1.3.6.1.4.5</mevalue>
         </maskelement>
         <maskelement>
            <mename>generic</mename>
            <mevalue>6</mevalue>
         </maskelement>
         <maskelement>
            <mename>specific</mename>
            <mevalue>2</mevalue>
         </maskelement>
      </mask>
      <uei>uei.opennms.org/traps/ABR/acroEventClear</uei>
      <event-label>ABR defined trap event: acroEvent</event-label>
      <descr>
&lt;p>The event is generated when N-Central creates an
event.&lt;/p>&lt;table>

        &lt;tr>&lt;td>&lt;b>
        acroEventType&lt;/b>&lt;/td>&lt;td>
        %parm[#1]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.1&lt;/b>&lt;/td>&lt;td>
        %parm[#2]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.2&lt;/b>&lt;/td>&lt;td>
        %parm[#3]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.3&lt;/b>&lt;/td>&lt;td>
        %parm[#4]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

        &lt;tr>&lt;td>&lt;b>
        acroEventText.4&lt;/b>&lt;/td>&lt;td>
        %parm[#5]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>
        &lt;tr>&lt;td>&lt;b>
        acroEventText.5&lt;/b>&lt;/td>&lt;td>
        %parm[#6]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>
        &lt;tr>&lt;td>&lt;b>
        acroEventText.6&lt;/b>&lt;/td>&lt;td>
        %parm[#7]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>
        &lt;tr>&lt;td>&lt;b>
        acroEventText.7&lt;/b>&lt;/td>&lt;td>
        %parm[#8]%;&lt;/td>&lt;td>&lt;p>&lt;/p>&lt;/td>&lt;/tr>

&lt;/table>
        </descr>
        <logmsg dest="logndisplay">%parm[#4]% indicates problem on device
%parm[#5]% for %parm[#7]% occured at %parm[#8]%
        </logmsg>
      <severity>Cleared</severity>
      <alarm-data
clear-key="uei.opennms.org/traps/ABR/acroEvent:%nodeid%:%parm[#1]%:%parm[#4]%:%parm[#5]%:%parm[#7]"
reduction-key="uei.opennms.org/traps/ABR/acroEvent:%nodeid%:%parm[#1]%:%parm[#4]%:%parm[#5]%:%parm[#7]%"
alarm-type="2" auto-clean="false"/>
   </event>

--
View this message in context: http://opennms.530661.n2.nabble.com/Clearing-Alarms-tp7592664.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
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

Phil Daws | 22 Aug 12:19 2015
Picon

Process Monitoring

Good day,

We are running OpenNMS 16.0.2 and am trying to see how one can detect and monitor a particular process
running on a server.  The problem is that I need to be able to check the parameters of what is being executed
and not the actual initializing process.  As you can see below ruby is the process but it is executing
chef-client, and that is what I wish to ensure is always running.

HOST-RESOURCES-MIB::hrSWRunPath.4735 = STRING: "/opt/chef/embedded/bin/ruby"
HOST-RESOURCES-MIB::hrSWRunParameters.4735 = STRING: "/opt/chef/bin/chef-client -i 900 -s 0"

Any thoughts on how one goes about doing this please with provisioning ?

Thank you.

------------------------------------------------------------------------------
_______________________________________________
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

Jake Kasper | 21 Aug 23:44 2015

Custom MIB OID Names

Hello,

We are running a custom MIB for a custom application which is running on our servers. I have successfully imported the MIB and am getting meaningful stats as well as parsing received traps.

 

My problem comes from the fact that we have custom interfaces (LTE) which only show up with the OID and not the actual interface name under the resource graphs. I’m wondering if it’s possible to get the status of the interfaces on the main node page as well as make the interfaces show the name and not the OID. Screen shot below is example:

 

 

------------------------------------------------------------------------------
_______________________________________________
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
caneylan | 21 Aug 20:23 2015
Picon

multiple snmp community strings

Hi all,

I am wondering if it's possible to tell OpenNMS to try multiple community
strings for the same IP address in snmp-config.xml.

For example:

<snmp-config version="v2c" read-community="public" timeout="5000" retry="3"
xmlns="http://xmlns.opennms.org/xsd/config/snmp">
        <definition version="v2c" read-community="foo" timeout="5000"
retry="1" max-vars-per-pdu="4">
                <range begin="0.0.0.0" end="255.255.255.255"/>
        </definition>
        <definition version="v2c" read-community="bar" timeout="5000"
retry="1" max-vars-per-pdu="4">
                <range begin="0.0.0.0" end="255.255.255.255"/>
        </definition>

It appears that with this config, all nodes will get tied to the "foo"
community string and "bar" will not be tried.

Basically, I have a situation where there's no rhyme or reason to what IP is
configured with what community string, so I'd really just like to be able to
tell OpenNMS to try a list of possible strings instead of hard coding a long
list of <specific>'s.

Thanks!
Chris

--
View this message in context: http://opennms.530661.n2.nabble.com/multiple-snmp-community-strings-tp7592661.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
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

sean.mcdonald | 19 Aug 22:46 2015

Performance Data Exporter and Web API

Hi,

 

I am writing a performance data exporter, according to the specification laid out at this link: http://www.opennms.org/wiki/Performance_Data_Exporter_Specification, so that I can create my own graphs of data across a group of nodes, instead of for individual nodes. I want to be able to do analytics - a statistical view over a collection of devices, for example of CPU utilization, memory, disk or network IO, aggregates, etc.

 

In the link mentioned above, Step 4 of the Acceptance Criteria states that my process should:

 

parse[s] the path field of the incoming performance data messages and then use[s] the attributes in this key field to query the OpenNMS web services for additional information about the target of this performance metric (for instance, hostname, IP address, etc.).”

 

I have successfully implemented Steps 1-3, and can parse the incoming performance data messages for their fields, but I am stuck at the part that refers to querying the OpenNMS web services for additional information. I’ve checked the REST API documentation ( http://www.opennms.org/wiki/ReST ), and while I’ve figured out how to use the data that I getting from the performance data messages to GET node data using the API, I am unsure as to how to use that data to get the “additional information” described in Step 4 of the acceptance criteria.

 

For example, data from a selection of performance data messages looks like the following (I’ve formatted the data in tabular format, and added the column headers. Each row is a separate message):

 

Path,owner,timestamp,value

/opt/opennms/share/rrd/snmp/22/Ethernet1-001c73b50862/ifOutUcastPkts.jrb,172.18.254.163,1439564986000,1865.0

/opt/opennms/share/rrd/response/10.57.61.39/icmp.jrb,10.57.61.39,1439564704000,899.0

/opt/opennms/share/rrd/response/10.75.72.102/icmp.jrb,10.75.72.102,1439564705000,76762.0

/opt/opennms/share/rrd/response/10.59.65.138/ssh.jrb,10.59.65.138,1439564702000,5.777022

/opt/opennms/share/rrd/response/10.57.61.39/icmp.jrb,10.57.61.39,1439564704000,899.0

/opt/opennms/share/rrd/response/10.75.72.102/icmp.jrb,10.75.72.102,1439564705000,76762.0

/opt/opennms/share/rrd/snmp/11/dskIndex/local-1/ns-dskAvailLow.jrb,10.75.72.102,1439564709000,190225552.0

/opt/opennms/share/rrd/snmp/11/dskIndex/local-1/ns-dskUsedLow.jrb,10.75.72.102,1439564709000,76929024.0

/opt/opennms/share/rrd/snmp/11/dskIndex/local-1/ns-dskTotalLow.jrb,10.75.72.102,1439564709000,281446240.0

/opt/opennms/share/rrd/snmp/11/dskIndex/local-1/ns-dskUsedHigh.jrb,10.75.72.102,1439564709000,0.0

/opt/opennms/share/rrd/snmp/11/dskIndex/local-1/ns-dskPercentNode.jrb,10.75.72.102,1439564709000,0.0

/opt/opennms/share/rrd/snmp/11/dskIndex/kdump/ns-dskTotal.jrb,10.75.72.102,1439564709000,53637628.0

/opt/opennms/share/rrd/snmp/11/dskIndex/kdump/ns-dskPercent.jrb,10.75.72.102,1439564709000,0.0

/opt/opennms/share/rrd/snmp/11/dskIndex/kdump/ns-dskAvail.jrb,10.75.72.102,1439564709000,50728836.0

 

 

How do I take this data (particularly the path) and query the REST API for additional information? What does that additional information look like? The examples given in the REST API documentation don’t seem to fit quite right, and while the Measurements API (http://www.opennms.org/wiki/ReST#Measurements_API) seems the most promising, I’m unable to use it because my team is currently using version 12 of OpenNMS, and doesn’t plan to upgrade anytime soon. Is there any way for me to retrieve the data that I need without using the Measurements API? I’d appreciate any assistance. Thanks.

 

Kind Regards,

 

Sean McDonald

Specialized Infrastructure - Engineering

sean.mcdonald <at> barclays.com

Barclays, 745 7th Ave 16th Floor, New York 10019

 

_______________________________________________

This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.

For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com.

_______________________________________________

------------------------------------------------------------------------------
_______________________________________________
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
Amnox | 20 Aug 11:08 2015
Picon

Missing ifindex - Manual Links

I am trying to create manual links by following this post
http://opennms.530661.n2.nabble.com/Links-between-Nodes-td7580966.html

When I query the ifservices table for the ifindex, it appears some
(majority) of the nodes do not have the ifindex values.

I have also tried using REST API to query for the ifindex, with no luck.

- Is there any other way I can find the ifindex for the nodes?
- Am I missing something in the configuration which I need to do to capture
the ifindex?
- Is it possible to create links without specifying the ifindex? I noticed
the ifindex field has a "not null" constraint.

--
View this message in context: http://opennms.530661.n2.nabble.com/Missing-ifindex-Manual-Links-tp7592653.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
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

Mike Xun Ma | 18 Aug 21:14 2015
Picon
Picon

SNMP Notice Alert setup.

Hi,

>From a temperature Sensor with SNMP card, I got response from SNMPwalk, I have the OIDs.
The node has been added to OpenNMS with SNMP interface.

I have defined a datacollection using the datacollection-group.
Then from OpenNMS interface, I created Threshold, add Provisioning Requisitions. Then setup two
Notifications Low and high.

At this time, I only want to get alert email don't need graphs.

What I have to do? Should I have to setup Event? Can I get alert without event?

Thanks a lot!

Mike

------------------------------------------------------------------------------
_______________________________________________
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

Todd Heide | 18 Aug 19:37 2015
Picon

Setting up Compass

I found the APP for Opennms, called Compass, however, I have not been able to find out how to enable OpenNMS so
that Compass will work. It gets errors saying does not support Availability API, updating node
geolocation, reporting server, etc, requires Horizon 15.0.2.  I am running the latest version of
Horizon. 

------------------------------------------------------------------------------
_______________________________________________
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

Picon

How to use send-event.pl and send-trap.pl?

Hi all,

 

could you please tell me how to correctly use the send-event.pl and send-trap.pl scripts?

I generated custom events (traps) using the SNMP MIB Compiler.

 

Now I want to test this event configuration using “./send-event.pl uei.opennms.org/traps/DATA-DOMAIN-MIB/powerSupplyFailedAlarm”, but this always generates an indeterminate event “An event with no matching configuration was received from interface .”

I already checked the documentation!

 

Same for send-trap.pl:

Received unformatted enterprise event (enterprise:.1.3.6.1.4.1.19746.2.6.1 generic:6 specific:0). 1 args: .1.3.6.1.4.1.19746.2.6.11="OpenNMS Rules! (10)"

 

I even tested these scripts with the standard OpenNms events (e.g. Cisco events) with the same result!

 

Can someone tell me how to use these scripts correctly in order to test custom events?

 

Regards,

Robin

 

------------------------------------------------------------------------------
_______________________________________________
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