Ronny Trommer | 30 Jul 11:02 2014

Meetup cw32/2014

Hey Guys,

here is the next proposal for the doc meeting next week. Feel free to join:

 http://doodle.com/bb5pdq4c85a7exph

I’ve put a few things on the agenda which came to my mind

 http://assembly.opennms.eu:8000/agenda/

Feel free to add topics you want to talk about. Just reply this mail in opennms-doc mailing list and I’ll add them to the agenda.

Thank you and have a nice day
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&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
James Russo | 29 Jul 17:21 2014
Picon

Help with SNMP data collection..

Hello, 

I am just getting started with OpenNMS and I am trying to figure out how to gather data from a building automation system via SNMP. This would include things like HVAC data, HVAC State, etc. To jump in, I'd like to just start logging some values from the thermostats. There can be multiple thermostats in a system. 

So, first step would be to identify all the thermostats from the device table. 

snmpwalk -v2c -c public -Ci -m ALL 192.168.2.108 CONTROL4-DIRECTOR-MIB::deviceTable

CONTROL4-DIRECTOR-MIB::dtType.11 = STRING: "Residential Thermostat"
CONTROL4-DIRECTOR-MIB::dtType.13 = STRING: "Residential Thermostat"
CONTROL4-DIRECTOR-MIB::dtType.15 = STRING: "Residential Thermostat"

So, here my device ids are 11, 13 and 15, but for some reason the index in the subsequent tables are actually +1 of this, so 12, 14 and 16 (don't know why, just how it is)

So, then I can get the current temperature via

% snmpwalk -v2c -c public -Ci -m ALL 192.168.2.108 CONTROL4-DIRECTOR-MIB::vtValueRO.12.1101

CONTROL4-DIRECTOR-MIB::vtValueRO.12.1101 = STRING: "229"

Where, 229 is really 22.9C (divide by 10).

So, what would be involved in getting a snmp collection setup for this type of device? Would I need to write custom code for this due to the +1 or the conversion of 229 to float? What about for conversion to F from C?

I suppose the alternative would be to just hardcode the mibs in the collector and somehow assign that collector to the node? 

Thanks in advance, 

-jr





------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&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
Dhanasekaran Anbalagan | 29 Jul 14:07 2014
Picon

How to monitor Site-to-Site VPN via SNMP.

Hi Guys,

How to monitor site-to-site vpn, we have cisco-ASA-5510. How can I configure if vpn session down send alert. 

I already tried CISCO-REMOTE-ACCESS-MONITOR-MIB.

Object crasSessionState
OID 1.3.6.1.4.1.9.9.392.1.3.21.1.37
Type SessionStatus 
1:             initializing
2:             established
3:              terminating



when I try query I am getting zero value.

]# snmpwalk -v2c -c pass123 172.16.30.1 1.3.6.1.4.1.9.9.392.1.3.21.1.37
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.37.8.83.116.101.118.101.49.50.51.2490369 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.37.11.99.111.115.116.97.108.117.115.101.114.50.1527809 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.37.12.82.97.75.117.110.97.52.53.35.64.102.103.2510849 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.37.14.49.56.50.46.55.51.46.49.50.51.46.50.51.52.2084865 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.37.14.50.48.56.46.55.53.46.50.51.56.46.50.48.50.2478081 = INTEGER: 0
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.37.15.49.49.56.46.49.48.50.46.49.50.56.46.50.50.53.2158593 = INTEGER: 0


Please guide me.

In my understanding OID will be unique for site-to-site vpn please correct me. I am wrong.
 

-Dhanasekaran.

Did I learn something today? If not, I wasted it.
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&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
michael.junek | 25 Jul 20:00 2014
Picon

AUTO: Out of Office


I am out of the office until 29/07/2014.

I am out of the office until Tuesday 29th July with no access to phone or
email.

If you have any support enquiries please log a ticket by using the Support
Portal link on our website, or call 1300 765 838. You will be directed to
the helpdesk or the on-call engineer. Please note that email addresses are
not monitored outside of business hours and should not be used for logging
tickets.

Kind regards,
Michael Junek

Note: This is an automated response to your message  "opennms-discuss
Digest, Vol 99, Issue 17" sent on 25/07/2014 23:10:52.

This is the only notification you will receive while this person is away.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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

Zetan Drableg | 25 Jul 19:06 2014
Picon

ldap monitor problem

Hi,
I am attempting to setup OpenNMS to monitor LDAP on 389 and 636 with a login test.
I have installed the SSL cert into the java keystore.

While NMS says the service is up, if I change the xml config to an invalid user or password and restart, the service doesn't go red. I am expecting a simple bind with invalid password to create an outage condition. I want to verify more than the tcp port is open.

What am I doing wrong?

version 1.12.8

opennms.properties
javax.net.ssl.keyStore=/opt/opennms/etc/keystore.jks
javax.net.ssl.trustStore=/opt/opennms/etc/cacerts.jks

poller-configuration.xml
 <service name="LDAP" interval="300000" user-defined="false" status="on">
       <parameter key="port" value="389"/>
       <parameter key="version" value="3"/>
       <parameter key="searchbase" value="dc=sss,dc=pp1,dc=acme,dc=com"/>
       <parameter key="searchfilter" value="CN=opennmsXXX"/>
       <parameter key="dn" value="CN=opennmsXXX,OU=special,DC=sss,DC=pp1,DC=acme,DC=com"/>
       <parameter key="password" value="Can I login?XXX"/>
       <parameter key="retry" value="2"/>
       <parameter key="timeout" value="3000"/>
   </service>

 <service name="LDAPS" interval="300000" user-defined="false" status="on">
       <parameter key="port" value="636"/>
       <parameter key="version" value="3"/>
       <parameter key="searchbase" value="dc=sss,dc=pp1,dc=acme,dc=com"/>
       <parameter key="searchfilter" value="CN=opennmsXXX"/>
       <parameter key="dn" value="CN=opennmsXXX,OU=special,DC=sss,DC=pp1,DC=acme,DC=com"/>
       <parameter key="password" value="Can I login?XXX"/>
       <parameter key="retry" value="2"/>
       <parameter key="timeout" value="3000"/>
   </service>

  <monitor service="LDAP" class-name="org.opennms.netmgt.poller.monitors.LdapMonitor"/>
  <monitor service="LDAPS" class-name="org.opennms.netmgt.poller.monitors.LdapMonitor"/>

default-foreign-source.xml
      <detector name="LDAP" class="org.opennms.netmgt.provision.detector.simple.LdapDetector">
            <parameter key="port" value="389"/>
            <parameter key="retries" value="3"/>
        </detector>
        <detector name="LDAPS" class="org.opennms.netmgt.provision.detector.simple.LdapsDetector">
            <parameter key="port" value="636"/>
            <parameter key="retries" value="3"/>

Thanks
-Zetan503

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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
Kyle VanDyke | 25 Jul 14:56 2014

Monitoring SQL Databases

Hello,

 

I am new to OpenNMS and the mailing lists so I hope I’m doing this correctly. I’m wondering if someone could point me in the right direction about getting monitoring set up for SQL 2008 and SQL 2012 databases using OpenNMS. I’ve looked at the JDBC data collection page on the wiki and done quite a bit of googling but haven’t really got any good information and have been struggling with this. If someone could point me in the right direction or let me know the best way to monitor sql instances and databases that would be awesome.

 

Thanks,

Kyle V.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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
Hayden Katzenellenbogen | 23 Jul 21:27 2014

SNMP link up automation

Hello everyone,

 

I am sorry if this is a repost or worded poorly.

 

We currently have an implementation of ONMS version 1.8.1 it was installed some time ago by and employee who is no longer with us and there is little to no documentation on the system. I finally have the time to work on a reinstall of the system. I am not going to upgrade as I think that he wrote a bunch of customizations to the system and if it breaks I have nothing to really fall back on.

 

I have some cisco 6500s and 7200s that I have that I am testing this new implementation on. I have created the requisition groups and added one of the devices to this group. I have a policy that removes Null and admin down interfaces that I am only dealing with interfaces that are actually in service.

 

We on the 7200’s a bunch of serial interfaces some of them have IP addresses others do not (members of multilink). I have the device send linkup/linkdown traps to the ONMS box that way I do not have to rely on ICMP. The problem with ICMP is it will not tell me when a link in a multilink bundle has gone down.

 

I see the traps coming and I have created a notification for when a line goes down. The issue I am having now is that when the up trap comes in the notification is not cleared. From what I can fathom out about automations is that I cannot use the %params% in the event to identify the specific interface notice and auto acknowledge it.

 

I edited the notification to so that the numericmsg field has the nodeid and the %params[# <at> ]% but when it comes to auto acknowledging based on that it seems that that data has not yet been created in the database to match on that field.

 

I have been looking at the translations to see if the translations can change the interface parameter on the even to be the interface name vs the IP of the device sending the trap.

 

I get the feeling this is something very simple that an NMS system should do and I either overcomplicating the matter.

 

The end result of this is I want to make sure that if a line just flaps that the notification will be sent and then when it comes back suddenly the notification is  auto-acknowledged and the RESOLVED email is sent.

 

This way I will only escalate the line down to my support team if it has been down for more than a certain time. Also if it is after hours I can change the parameters so that there is a higher tolerance for a downed lines and the afterhours team can be notified on a different schedule.

 

Right now I have the link down and the link up notifications in my outstanding notifications.

 

Any help on this issue will be greatly appreciated. (sorry if I rambled)

 

 

Hayden Katzenellenbogen

 

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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 | 21 Jul 20:35 2014

FYI: [Summary] Documentation Meetup cw30/2014

Hi Guys,

we had our second bi-weekly doc meeting this evening. We talked about the following topics:

Current status quo
------------------------
- We aimed for an issue driven GitHub Pull requests workflow
 Special thanks to Ian and Cyrille who helped working out a pull-request / patch based GitHub workflow
- Branches are named in the following pattern <NMS-number_docs_MonitorName>
- During the first phase we started a draft for a documentation guideline[1] which should help to get you over the hump. It tackles different topics, like formatting conventions and even a short introduction with examples how to use AsciiDoc.
- Pull requests are made against the opennms repository branch “development/docs”
- Pull request is reviewed by second person and after review phase merged to “development/docs”
- Ben configured OpenNMS Bamboo to pick up merged pull requests, they will be compiled and deployed doc to a public location[3]
- The Wiki page structure for “How to contribute docs”[4] to solve the first entry level questions is improved. The structure is much clearer now.
- We have a Wiki template[5] for monitors which are currently in progress and are migrated to the official doc
- Status “Resolved” is used as merged to “development/docs” and published
- Status “Closed” is used as camera ready and reviewed for conventions and language issues
- Currently: 17 of 71 monitors are documented[2]
- We where able to get the meeting down from 2h to 1.5h :D

Issues and problems
---------------------------
- It is not possible to assign a JIRA task. You need special permissions to assign external user to tasks. So they can’t start a task as in progress
- Links are inconsistent on the OpenNMS.org events section[6] and the wiki events section[7]
- We talked about detectors and monitor documentation. We can remove detector/capsd and other behaviours from the monitor documentation. Creating similar section for detectors and use links if a detector exist for a given monitor
- Problems dealing with JIRA issues is a higher barrier. Evaluation if there is a possibility for an easy to use simple web form creating an issue in JIRA
- Language support in docs: There are possibilities but not focused right now.
- Embedding external content in the wiki has some security implications, XSS etc. In longterm the Wiki documentation should be slimmed down.
- Having a stable links to versions of documentation for external links, 
http://docs.opennms.org/guide-admin/stable —> http://docs.opennms.org/guide-admin/1.12.8
http://docs.opennms.org/guide-admin/testing —> http://docs.opennms.org/guide-admin/1.12.9
http://docs.opennms.org/guide-admin/unstable —> http://docs.opennms.org/guide-admin/1.13.3
http://docs.opennms.org/guide-admin/snapshot —> http://docs.opennms.org/guide-admin/1.13.4
- We haven’t checked homework[8]

Goals for the next 2 weeks
-----------------------------------
- Installing the categories plugin in MediaWiki on opennms.org
- Finding a way improving the JIRA workflow for external users, assignment, unassignment, start in progress etc.
- Improve documentation guide with describing the GitHub pull request workflow[9]
- Documentation more monitors, what done is, is done [2]
- Improving documentation guide from native language perspective (no JIRA issue yet)
- Review already documented monitors (no JIRA issue yet)

If there is something missing, just reply to the mail on the opennms-docs list
The procedure for cw32 is the same as usual. I’ll send out a doodle to opennms-docs and opennms-discuss

Thank you guys for spending your time and have a nice week.

[1] http://docs.opennms.org/guide-doc/1.13.4-SNAPSHOT/index.html
[2] http://issues.opennms.org/browse/NMS-6634
[3] http://docs.opennms.org/
[4] http://www.opennms.org/wiki/How_to_contribute_to_documentation
[5] http://www.opennms.org/wiki/Template:WIP
[6] http://www.opennms.org/
[7] http://www.opennms.org/wiki/OpenNMS:Current_events
[8] https://www.youtube.com/watch?v=vx5n21zHPm8
[9] http://issues.opennms.org/browse/NMS-6740
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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
Tarus BALOG | 18 Jul 15:58 2014

OpenNMS Training: 11-15 August

Gang:

Sorry for the interruption ...

Just a reminder that we do offer formal training on OpenNMS about once a
quarter, and the next class will be from 11-15 August here in
metropolitan Pittsboro, NC, USA.

http://www.opennms.com/training/

OpenNMS is pretty darn powerful and it can take awhile to get your brain
around it, so we hope to speed up that process with our classes. Plus,
they tend to be a lot of fun.

If you are interested and have any questions, please feel free to
contact me off-list.

... now back to your usual OpenNMS-ness

-T
-- 
Tarus BALOG, Maintainer                     Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 773 345 3645
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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

Baldwin, Jeff | 16 Jul 21:41 2014

ACL's and Categories

All,

I was able to get ACL’s working for 90% of what we need it for using the following URL:  http://www.opennms.com/this-week-in-opennms-acls-the-new-hotness/

There is one issue we’re having, and that is why I am sending this mail.  We also use Categories (categories.xml) on the main page to display our servers by functional business group.   Is there a way to apply ACL’s/Filters to the categories.xml?

OpenNMS Version:  1.10.7
OS Version:   RHEL 5.8

Example from categories.xml:

            <category>
                <label><![CDATA[PECO_DA]]></label>
                <comment>PECO_DA</comment>
                <normal>99.99</normal>
                <warning>97</warning>
                <service>ICMP</service>
                <rule><![CDATA[catincPECO_DA]]></rule>
            </category>

The goal is to show the above category ONLY if the logged in user is = “peco”, for example.   It would not display any other categories to user “peco”.

Any/all help is appreciated.

-jeff
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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 | 16 Jul 19:35 2014

Docs now online

Hey guys,

just to follow up. Ben configured Bamboo to build and deploy the opennms-doc module. We have currently
three parts where you can at least see something:

Documentation Guide: Kickstart to get familiar with AsciiDoc
http://docs.opennms.org/guide-doc/1.13.4-SNAPSHOT/

Release Notes converted to AsciiDoc
http://docs.opennms.org/releasenotes/1.13.4-SNAPSHOT/

Administrators Guide where we document the monitors
http://docs.opennms.org/guide-admin/1.13.4-SNAPSHOT/

Thanks for all the work
Ronny
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
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