OpenUMR-OpenNMS
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

OpenUMR-OpenNMS

on

  • 2,562 views

This presentation describes how you can integrate OpenNMS into System Center Operations Manager 2007 R2 by using OpenUMR.

This presentation describes how you can integrate OpenNMS into System Center Operations Manager 2007 R2 by using OpenUMR.

Statistics

Views

Total Views
2,562
Views on SlideShare
2,562
Embed Views
0

Actions

Likes
0
Downloads
34
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

OpenUMR-OpenNMS Presentation Transcript

  • 1. OpenUMR Cross Monitoring Integrator http://www.openumr.org Open Universal Message Receiver OpenNMS & OpsMgr 2007 R2 (Technical Presentation) Author: Markus Schneider development@openumr.org
  • 2. Agenda § About the OpenUMR Project § Aspects of OpsMgr 2007 R2 § OpenUMR in Details § OpenNMS + OpsMgr 2007 R2 § Benefits of OpenUMR § Open Discussion OpenUMR - Cross Monitoring Integrator 5/10/2010 2
  • 3. About the OpenUMR Project OpenUMR - Cross Monitoring Integrator 5/10/2010 3
  • 4. About the OpenUMR Project § „ Lightweight Integration Framework“for OpsMgr 2007 R2 § Founded in October 2009 § Hosted at CodePlex (http://openumr.codeplex.org) § Open Source that runs under the Apache License Version 2.0 § Offers more flexibility through an open integration architecture § Supports OpsMg 2007 R2 as Manager of Manager (MoM) System § Current Release: OpenUMR-Beta-1.1.0.2 OpenUMR - Cross Monitoring Integrator 5/10/2010 4
  • 5. Aspects of OpsMgr 2007 R2 OpenUMR - Cross Monitoring Integrator 5/10/2010 5
  • 6. Aspects of OpsMgr 2007 R2 § Best-of-breed monitoring solution (Management Packs) § Tow types of Monitoring: Agent based & Agentless § Uses model-based Management (Service Modeling Language) § State based management instead of alert based management § Cross-Platform Monitoring (RHEL, SLES, AIX, SOLARIS) § OpsMgr 2007 R2 Connectors - alert forwarding to remote systems § Supports SNMPv2 (including polling and trap monitoring) OpenUMR - Cross Monitoring Integrator 5/10/2010 6
  • 7. Aspects of OpsMgr 2007 R2 §„ Monitors“are one of the key concepts of OpsMgr 2007 R2 § Monitors can only produce state change information § Monitors exist in a hierarchy for every instance in the system § Rules cannot produce state information at all § Rules are single workflows that act independently Condition Change State Alert Occurs State Rollup OpenUMR - Cross Monitoring Integrator 5/10/2010 7
  • 8. OpenUMR in Details OpenUMR - Cross Monitoring Integrator 5/10/2010 8
  • 9. OpenUMR in Details - Characteristics § Lightweight integration Framework based on C#, Perl and … § Central Interface to connect NON-OpsMgr Monitoring Solutions § Converts NON-OpsMgr Events into OpsMgr Alerts § Supports decentralized Monitoring Administration § Scaleable and high available due to its modular structure § Build on OpsMgr 2007 R2 SDK functionalities OpenUMR - Cross Monitoring Integrator 5/10/2010 9
  • 10. OpenUMR in Details - Components OpenUMR (Lightweight Integration Framework) OpenUMR OpsMgr OpenUMS Wrapper (Receiver) 2007 R2 (Sender) Scripts Windows Management Script Server- Packs Interface Application C# XML Perl Perl OpenUMR - Cross Monitoring Integrator 5/10/2010 10
  • 11. OpenUMR in Details - Components OpenUMR § Windows Installer Shield § Running as Windows Service § TCP/IP Server running on Port 1773 § Maps NON-OpsMgr Events into OpsMgr Alerts § Multiple instances can run concurrently § Hearbeat Functionality OpenUMS § Interface for Message Sending § Functions: - Creation/Deletion of Monitoring Objects - Creation of OpsMgr Alerts - Closing of OpsMgr Alerts - Add Performance Data OpenUMR - Cross Monitoring Integrator 5/10/2010 11
  • 12. OpenUMR in Details - Components OpsMgr 2007 R2 § OpenUMR.Base.Library.xml Management Basic Definition for the Mapping of NON- Packs OpsMgr Events to OpsMgr Alerts § OpenUMR.Custom.Library.xml Example of a custom monitoring object that can be discovered with OpenUMS § OpenUMR.Protection.Library.xml Monitors the Application Event Log for OpenUMR Error Log Messages OpenUMR - Cross Monitoring Integrator 5/10/2010 12
  • 13. OpenUMR in Details - Components The wrapper scripts help to reproduce the Wrapper Scripts examples that are described in the OpenUMR - Quick Start Guide (http://openumr.codeplex.com/documentation) § wDiscMsg.pl Creation/Deletion of Example Monitoring Objects § wEvtMsg.pl Creates Example NON-OpsMgr Events (Warning/Critical/Harmless) The Harmless (Clearing) Serverity Level closes existing Alerts § wPerfMsg.pl Sends Example Performance Data Messages OpenUMR - Cross Monitoring Integrator 5/10/2010 13
  • 14. OpenUMR in Details - Steps of Installation Steps of Installation 1 2 3 Import the Set the Account Install a Custom Management- Privileges in Connector Packs OpsMgr 4 5 6 Send Event- / Install & Run Discover the Performance OpenUMR Monitoring Object Data- Messages (Windows Server) (OpenUMS) (OpenUMS) OpenUMR - Cross Monitoring Integrator 5/10/2010 14
  • 15. OpenUMR in Details - Architecture LIMITATION: 1x Root Management Server per Management Group OpenUMR - Cross Monitoring Integrator 5/10/2010 15
  • 16. OpenUMR in Details - OpenUMR Views in OpsMgr 2007 R2 OpenUMR.Protection.Library.xml Self-Monitoring of the OpenUMR Application OpenUMR.Custom.Component.xml Example Management Pack - gives an idea how to design your own one OpenUMR - Cross Monitoring Integrator 5/10/2010 16
  • 17. OpenUMR in Details –Management Pack Custom Monitoring class in (OpenUMR.Custom.Library) OpenUMR - Cross Monitoring Integrator 5/10/2010 17
  • 18. OpenUMR in Details –Discovery § Create a Monitoring Object in OpsMgr 2007 R2 manually § A Monitoring Object must exist before you can display any alerts § Use the wDiscMsg.pl wrapper script for the first steps (example) § Some fields can be filled with special information (OpenUMS) $> perl openums.pl -t winsvr01 -a addDiscMsg -c OpenUMR.Custom.Component -i TC6x-Wiki01 -m "EntityClass=System.Entity;Property1=TC6x- Wiki01;Property2=6.0.20;Property3=lx12345;Property4= Farm1;Property5=http://www.jspwiki.org" -q Variable field value OpenUMR - Cross Monitoring Integrator 5/10/2010 18
  • 19. OpenUMR in Details –Discovery OpenUMR - Cross Monitoring Integrator 5/10/2010 19
  • 20. OpenUMR in Details –Discovery § Send a NON-OpsMgr Event Message manually § Use the wEvtMsg.pl wrapper script for the first steps (example) $> perl openums.pl -t winsvr01 -a addEvtMsg -c OpenUMR.Custom.Component -i TC6x-Wiki01 -m "Severity=1;User=IT-Dept;Message=Tomcat6.x Web- Application failed to restart;Source=Tomcat- Monitoring;Param0=2;Param1=Support Wiki Knowledge Base;Param2=Software;Param3=WebServer;Param4=Tomcat- Monitoring;Param5=Process Monitor Script;Param6=OpsMgr/Support Wiki Knowledge Base unavailable;Param7=http://wiki.apache.org/tomcat/FAQ; Param8=1234567;Param9=Auto;Param10=Custom" -q Variable field value OpenUMR - Cross Monitoring Integrator 5/10/2010 20
  • 21. OpenUMR in Details –Event Message Sending OpenUMR - Cross Monitoring Integrator 5/10/2010 21
  • 22. OpenUMR in Detail –Event Mapping Equality criteria influence the OpenUMSender alert repeat count behavior OpenUMReceiver send Event Message OpenUMR - Cross Monitoring Integrator 5/10/2010 22
  • 23. Overview of OpenUMR –Event Mapping Equality Criteria (OpenUMR.Base.Library.xml) OpenUMR - Cross Monitoring Integrator 5/10/2010 23
  • 24. Overview of OpenUMR –Event Mapping Script - Message Param0 Param1 Param2 Param3 Param4 Param5 Param6 Param7 Param8 Param9 OpenUMR - Cross Monitoring Integrator 5/10/2010 24
  • 25. OpenNMS + OpsMgr 2007 R2 OpenUMR - Cross Monitoring Integrator 5/10/2010 25
  • 26. Better Together: OpenNMS + OpsMgr 2007 R2 OpenUMR - Cross Monitoring Integrator 5/10/2010 26
  • 27. OpenNMS + OpsMgr 2007 R2 - Components Event Flow 1 OpenNMS OpsMgr 2007 R2 OpenUMS OpenUMR OpenNMS Scriptd Management Pack scriptd- OpenUMR.OpenNMS. configuration.xml Component.xml 1 Challenge: Mapping of the OpenNMS and OpenUMR Event Message Structure OpenUMR - Cross Monitoring Integrator 5/10/2010 27
  • 28. OpenNMS + OpsMgr 2007 R2 –OpenNMS Integration Pack OpenUMR (OpenNMS Integration Pack*) OpenNMS scriptd- OpenUMR. Wrapper Management configuration. events.xml Scripts Pack xml XML XML XML Perl *OpenNMS Integration Pack planned for Release: 1.2 OpenUMR - Cross Monitoring Integrator 5/10/2010 28
  • 29. OpenNMS + OpsMgr 2007 R2 –Steps of Integration Steps of Integration 1 2 3 Import the Add openums.pl Change script- OpenNMS to the OpenNMS configuration.xml Management Pack System 4 5 6 Add Change log level Test Discovery & scriptmonitor. to „Debug“& Event Forwarding events.xml to the analyze with send-event.pl OpenNMS System scriptd.log OpenUMR - Cross Monitoring Integrator 5/10/2010 29
  • 30. OpenNMS + OpsMgr 2007 R2 - Discovery Part of the scriptd-configuration.xml Triggers the creation of a Triggers the deletion of a Monitoring Object Monitoring Object OpenNMS uei.* in eventconf.xml OpenUMR - Cross Monitoring Integrator 5/10/2010 30
  • 31. OpenNMS + OpsMgr 2007 R2 - Discovery $> send-event.pl -i 192.168.1.13 -s Discovery -p "nodelabel TC6x-Wiki02" uei.opennms.org/internal/capsd/addInterface -x 4 OpenUMR - Cross Monitoring Integrator 5/10/2010 31
  • 32. OpenNMS + OpsMgr 2007 R2 - Discovery Discovered Node/ Monitoring Object OpenUMR - Cross Monitoring Integrator 5/10/2010 32
  • 33. OpenNMS + OpsMgr 2007 R2 - Discovery Auto Discovered Monitoring Object in OpsMgr 2007 R 2 OpenUMR - Cross Monitoring Integrator 5/10/2010 33
  • 34. OpenNMS + OpsMgr 2007 R2 –Event Forwarding $> send-event.pl -n 30 -s EventKB -d "Event Knowledge Base (Wiki) is not available!" -p "Monitor checkTomcat.pl" uei.opennms.org/custom/script/statemon/negative -x 7 OpenUMR - Cross Monitoring Integrator 5/10/2010 34
  • 35. OpenNMS + OpsMgr 2007 R2 –Event Forwarding Events that are sent by send-event.pl OpenUMR - Cross Monitoring Integrator 5/10/2010 35
  • 36. OpenNMS + OpsMgr 2007 R2 –Event Forwarding OpenUMR - Cross Monitoring Integrator 5/10/2010 36
  • 37. OpenNMS + OpsMgr 2007 R2 –Event Forwarding OpenUMR - Cross Monitoring Integrator 5/10/2010 37
  • 38. Overview of OpenUMR –Event Forwarding Script - Message Param0 Param1 Param2 Param3 Param4 Param5 Param6 Param7 Param8 Param9 OpenUMR - Cross Monitoring Integrator 5/10/2010 38
  • 39. Benefits of OpenUMR OpenUMR - Cross Monitoring Integrator 5/10/2010 39
  • 40. Benefits of OpenUMR- Summary § Flexibility in handling enterprise Monitoring Challenges with OpsMgr 2007 R2 § Easy & fast integration of existing Monitoring Solutions (e. g. OpenNMS / Nagios etc… ) § Supports decentral administration („ Divide & Conquer“ ) § Open and extendable architecture § Agentless integration approach OpenUMR - Cross Monitoring Integrator 5/10/2010 40
  • 41. Benefits of OpenUMR- Conclusion § OpenUMR supports OpsMgr 2007 R2 as a MoM system § OpenUMR extends the native OpsMgr 2007 R2 capabilities § OpenUMR is an effective way of Cross Monitoring Integration OpenUMR - Cross Monitoring Integrator 5/10/2010 41
  • 42. Thank you for your interest! Questions? Questions? OpenUMR - Cross Monitoring Integrator 5/10/2010 42