KEMBAR78
OSMC2010 Open NMS Kickstart | PDF
Kickstart

Thursday, October 7, 2010
Kickstart
                                        indigo@blinky:~$ whoami && locate

                                         ///////////////////////////////////////
                                         Ronny Trommer

                                         :: OpenNMS OGP member
                                         :: ronny@opennms.org

                                         :: Student at University Fulda
                                         :: ronny.trommer@informatik.hs-fulda.de

                                         :: Co-worker at NETHINKS GmbH
                                         :: ronny.trommer@nethinks.com

                                         ///////////////////////////////////////
                                         Fulda in Germany
                                         :: irc://irc.opennms.org/opennms

                                        indigo@blinky:/usr/bin$




Thursday, October 7, 2010
OpenNMS
                                      Intro


                        U nder The Hood

                 A Bunch Of Nodes

                                The Art Of
                             Provisioning


       Useful Resources

Thursday, October 7, 2010
S Intro
     Op en                       NM         Elevator pitch

      “World’s first enterprise-grade
     network management platform
           developed under the
          open source model.”

                            GNU GPLv2    Tarus Balog, OpenNMS Maintainer since 2002

Thursday, October 7, 2010
S Intro
     Op en                  NM                    History
     Name                      Registered   Sourceforge ID
     Netsaint                  10.01.2000       1.323
     OpenNMS                   29.03.2000       4.141
     Nagios                    03.05.2001       26.589
     RRDTool                   13.01.2003       71.544
     Groundwork CE             21.02.2006      160.654
     Zenoss Core               20.03.2006      163.126
     Hyperic                   17.07.2006      172.556
     Icinga                    21.04.2009      260.128
Thursday, October 7, 2010
S Intro
     Op en                  NM           Version numbers
                                         Minor versions
         stable (even)! ! ! ! 1.0 / 1.2 / 1.6 / 1.8 / 2.0
         unstable (odd)!! ! ! 1.1 / 1.7 / 1.9


                                         Build versions
         Bugfixes and small!!     1.8.4
         enhancements! !
Thursday, October 7, 2010
S Intro
     Op en                  NM                   Build with

                   OpenJDK or Oracle Java based
                   Jetty Webapplication Server
                   PostgreSQL
                   JRobin or RRD




Thursday, October 7, 2010
S in tro
     Op en NM



                                        n e
                                   lo
                                 da
                               an
                            s t
Thursday, October 7, 2010
S in tro
     Op en NM



                                         e d
                                       at
                                 g   r
                               te
                            i n
Thursday, October 7, 2010
Under The   Hood
Thursday, October 7, 2010
Thursday, October 7, 2010
Thursday, October 7, 2010
he Hood
       nd er                    T
     U                                                    Data Model
            Node            IP Interface(s)             service(s)

                            Non-IP Interface(s)

                            Asset Informations

                            Routing / STP / Link Informations

                            Events

Thursday, October 7, 2010
Thursday, October 7, 2010
                            A Bunch Of   Nodes
fN odes
       Bunc                 ho
     A                             Auto Discovery

   “I have no idea about my network devices. You
   told me something about discovery?!”




Thursday, October 7, 2010
he Hood
       nd er                T
     U                                 Event Bus




Thursday, October 7, 2010
he Hood
       nd er                T
     U                                 Event Bus




Thursday, October 7, 2010
he Hood
       nd er                T
     U                                 Event Bus




Thursday, October 7, 2010
he Hood
       nd er                T
     U                                               Event Bus




                           message identified by UEI:
                 uei.opennms.org/internal/discovery/newSuspect


Thursday, October 7, 2010
he Hood
       nd er                T
     U                                               Event Bus




                           message identified by UEI:
                 uei.opennms.org/internal/discovery/newSuspect


Thursday, October 7, 2010
he Hood
       nd er                T
     U                           Event definition




Thursday, October 7, 2010
he Hood
       nd er                T
     U                           Event definition




Thursday, October 7, 2010
he Hood
       nd er                T
     U                                        Event definition




                            Eventd configuration and logs
                            $OPENNMS_HOME/etc/eventconf.xml
                            $OPENNMS_HOME/etc/events
                            $OPENNMS_HOME/logs/daemon/eventd.log


Thursday, October 7, 2010
fN odes
       Bunc                 ho
     A                             Auto Discovery




Thursday, October 7, 2010
fN odes
       Bunc                 ho
     A                             Auto Discovery




Thursday, October 7, 2010
fN odes
       Bunc                 ho
     A                      Rescan for ne
                                         Auto Discovery
                                         w devices




Thursday, October 7, 2010
fN odes
       Bunc                         ho
     A                                                  Auto Discovery


                            ... or discover a single IP address




Thursday, October 7, 2010
fN odes
       Bunc                 ho
     A

       “I hate discovered print servers and services.
          I want full control about provisioning!”




Thursday, October 7, 2010
vis iond
     Th eP                  ro       Directed Provisioning




Thursday, October 7, 2010
vis iond
     Th eP                  ro        Directed Provisioning




                                C hange scann
                                              ing
                                    behavior

Thursday, October 7, 2010
vis iond
     Th eP                  ro       Directed Provisioning




Thursday, October 7, 2010
vis iond
     Th eP                  ro       Directed Provisioning




Thursday, October 7, 2010
The Art Of
                            Provsioning
Thursday, October 7, 2010
vis iond
     Th eP                    ro       Enhanced Directed Discovery

   “I need full control about provisioned nodes ...
    ... and service discovery.”

                            In-House developed inventory

                            Stand-alone provisioning system

                            Discover interfaces and services

Thursday, October 7, 2010
vis iond
     Th eP                  ro  Enhanced Directed Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro   Enhanced Directed Discovery




                            Define scan be
                                         havior


Thursday, October 7, 2010
vis iond
     Th eP                  ro  Enhanced Directed Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro     Enhanced Directed Discovery
                            Rescan ever y
                                          day




Thursday, October 7, 2010
vis iond
     Th eP                  ro     Enhanced Directed Discovery
                            Rescan ever y
                                          day


                               Cus to mize d d
                                               etectors
                                 w ith paramete
                                                  rs




Thursday, October 7, 2010
vis iond
     Th eP                  ro  Enhanced Directed Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro  Enhanced Directed Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro  Enhanced Directed Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro  Enhanced Directed Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro        Enhanced Directed Discovery

                             Provisiond configuration and logs
                             $OPENNMS_HOME/etc/provisiond-configuration.xml
                             $OPENNMS_HOME/logs/daemon/provisiond.log




Thursday, October 7, 2010
vis iond
     Th eP                  ro      Policy Based Discovery




   “I need full control about provisioned nodes ...
    ... and a controlled discovery.”




Thursday, October 7, 2010
vis iond
     Th eP                    ro          Policy Based Discovery


                            Three Types of policies




Thursday, October 7, 2010
vis iond
     Th eP                    ro             Policy Based Discovery


                            Three Types of policies
                              IP based “monitoring” policy

                              SNMP data collection policy

                              Node category policy

Thursday, October 7, 2010
vis iond
     Th eP                  ro             Policy Based Discovery


                            IP based “monitoring” policy




Thursday, October 7, 2010
vis iond
     Th eP                  ro             Policy Based Discovery


                            SNMP data collection policy




Thursday, October 7, 2010
vis iond
     Th eP                  ro            Policy Based Discovery


                            Node category policy




Thursday, October 7, 2010
vis iond
     Th eP                  ro      Policy Based Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro      Policy Based Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro      Policy Based Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro      Policy Based Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro      Policy Based Discovery




Thursday, October 7, 2010
vis iond
     Th eP                  ro            CLI provisioning




                                          p rovis ion.pl


Thursday, October 7, 2010
vis iond
     Th eP                  ro         RESTful interfaces
    http://172.16.23.19:8980/ope
                                    nnms/rest/nodes/17




Thursday, October 7, 2010
s ou rc es
     U sefu l re

     Whitepapers                 http://www.opennms.org/wiki/White_Papers


     Virtual Appliance       http://www.opennms.org/wiki/Vmware-evaluation


     Get OpenNMS                     http://www.opennms.org/get-opennms/


     Get Support                       http://www.opennms.org/get-support/


     Slides OUCE                          http://www.opennms.org/wiki/UCE




Thursday, October 7, 2010

OSMC2010 Open NMS Kickstart

  • 1.
  • 2.
    Kickstart indigo@blinky:~$ whoami && locate /////////////////////////////////////// Ronny Trommer :: OpenNMS OGP member :: ronny@opennms.org :: Student at University Fulda :: ronny.trommer@informatik.hs-fulda.de :: Co-worker at NETHINKS GmbH :: ronny.trommer@nethinks.com /////////////////////////////////////// Fulda in Germany :: irc://irc.opennms.org/opennms indigo@blinky:/usr/bin$ Thursday, October 7, 2010
  • 3.
    OpenNMS Intro U nder The Hood A Bunch Of Nodes The Art Of Provisioning Useful Resources Thursday, October 7, 2010
  • 4.
    S Intro Op en NM Elevator pitch “World’s first enterprise-grade network management platform developed under the open source model.” GNU GPLv2 Tarus Balog, OpenNMS Maintainer since 2002 Thursday, October 7, 2010
  • 5.
    S Intro Op en NM History Name Registered Sourceforge ID Netsaint 10.01.2000 1.323 OpenNMS 29.03.2000 4.141 Nagios 03.05.2001 26.589 RRDTool 13.01.2003 71.544 Groundwork CE 21.02.2006 160.654 Zenoss Core 20.03.2006 163.126 Hyperic 17.07.2006 172.556 Icinga 21.04.2009 260.128 Thursday, October 7, 2010
  • 6.
    S Intro Op en NM Version numbers Minor versions stable (even)! ! ! ! 1.0 / 1.2 / 1.6 / 1.8 / 2.0 unstable (odd)!! ! ! 1.1 / 1.7 / 1.9 Build versions Bugfixes and small!! 1.8.4 enhancements! ! Thursday, October 7, 2010
  • 7.
    S Intro Op en NM Build with OpenJDK or Oracle Java based Jetty Webapplication Server PostgreSQL JRobin or RRD Thursday, October 7, 2010
  • 8.
    S in tro Op en NM n e lo da an s t Thursday, October 7, 2010
  • 9.
    S in tro Op en NM e d at g r te i n Thursday, October 7, 2010
  • 10.
    Under The Hood Thursday, October 7, 2010
  • 11.
  • 12.
  • 13.
    he Hood nd er T U Data Model Node IP Interface(s) service(s) Non-IP Interface(s) Asset Informations Routing / STP / Link Informations Events Thursday, October 7, 2010
  • 14.
    Thursday, October 7,2010 A Bunch Of Nodes
  • 15.
    fN odes Bunc ho A Auto Discovery “I have no idea about my network devices. You told me something about discovery?!” Thursday, October 7, 2010
  • 16.
    he Hood nd er T U Event Bus Thursday, October 7, 2010
  • 17.
    he Hood nd er T U Event Bus Thursday, October 7, 2010
  • 18.
    he Hood nd er T U Event Bus Thursday, October 7, 2010
  • 19.
    he Hood nd er T U Event Bus message identified by UEI: uei.opennms.org/internal/discovery/newSuspect Thursday, October 7, 2010
  • 20.
    he Hood nd er T U Event Bus message identified by UEI: uei.opennms.org/internal/discovery/newSuspect Thursday, October 7, 2010
  • 21.
    he Hood nd er T U Event definition Thursday, October 7, 2010
  • 22.
    he Hood nd er T U Event definition Thursday, October 7, 2010
  • 23.
    he Hood nd er T U Event definition Eventd configuration and logs $OPENNMS_HOME/etc/eventconf.xml $OPENNMS_HOME/etc/events $OPENNMS_HOME/logs/daemon/eventd.log Thursday, October 7, 2010
  • 24.
    fN odes Bunc ho A Auto Discovery Thursday, October 7, 2010
  • 25.
    fN odes Bunc ho A Auto Discovery Thursday, October 7, 2010
  • 26.
    fN odes Bunc ho A Rescan for ne Auto Discovery w devices Thursday, October 7, 2010
  • 27.
    fN odes Bunc ho A Auto Discovery ... or discover a single IP address Thursday, October 7, 2010
  • 28.
    fN odes Bunc ho A “I hate discovered print servers and services. I want full control about provisioning!” Thursday, October 7, 2010
  • 29.
    vis iond Th eP ro Directed Provisioning Thursday, October 7, 2010
  • 30.
    vis iond Th eP ro Directed Provisioning C hange scann ing behavior Thursday, October 7, 2010
  • 31.
    vis iond Th eP ro Directed Provisioning Thursday, October 7, 2010
  • 32.
    vis iond Th eP ro Directed Provisioning Thursday, October 7, 2010
  • 33.
    The Art Of Provsioning Thursday, October 7, 2010
  • 34.
    vis iond Th eP ro Enhanced Directed Discovery “I need full control about provisioned nodes ... ... and service discovery.” In-House developed inventory Stand-alone provisioning system Discover interfaces and services Thursday, October 7, 2010
  • 35.
    vis iond Th eP ro Enhanced Directed Discovery Thursday, October 7, 2010
  • 36.
    vis iond Th eP ro Enhanced Directed Discovery Define scan be havior Thursday, October 7, 2010
  • 37.
    vis iond Th eP ro Enhanced Directed Discovery Thursday, October 7, 2010
  • 38.
    vis iond Th eP ro Enhanced Directed Discovery Rescan ever y day Thursday, October 7, 2010
  • 39.
    vis iond Th eP ro Enhanced Directed Discovery Rescan ever y day Cus to mize d d etectors w ith paramete rs Thursday, October 7, 2010
  • 40.
    vis iond Th eP ro Enhanced Directed Discovery Thursday, October 7, 2010
  • 41.
    vis iond Th eP ro Enhanced Directed Discovery Thursday, October 7, 2010
  • 42.
    vis iond Th eP ro Enhanced Directed Discovery Thursday, October 7, 2010
  • 43.
    vis iond Th eP ro Enhanced Directed Discovery Thursday, October 7, 2010
  • 44.
    vis iond Th eP ro Enhanced Directed Discovery Provisiond configuration and logs $OPENNMS_HOME/etc/provisiond-configuration.xml $OPENNMS_HOME/logs/daemon/provisiond.log Thursday, October 7, 2010
  • 45.
    vis iond Th eP ro Policy Based Discovery “I need full control about provisioned nodes ... ... and a controlled discovery.” Thursday, October 7, 2010
  • 46.
    vis iond Th eP ro Policy Based Discovery Three Types of policies Thursday, October 7, 2010
  • 47.
    vis iond Th eP ro Policy Based Discovery Three Types of policies IP based “monitoring” policy SNMP data collection policy Node category policy Thursday, October 7, 2010
  • 48.
    vis iond Th eP ro Policy Based Discovery IP based “monitoring” policy Thursday, October 7, 2010
  • 49.
    vis iond Th eP ro Policy Based Discovery SNMP data collection policy Thursday, October 7, 2010
  • 50.
    vis iond Th eP ro Policy Based Discovery Node category policy Thursday, October 7, 2010
  • 51.
    vis iond Th eP ro Policy Based Discovery Thursday, October 7, 2010
  • 52.
    vis iond Th eP ro Policy Based Discovery Thursday, October 7, 2010
  • 53.
    vis iond Th eP ro Policy Based Discovery Thursday, October 7, 2010
  • 54.
    vis iond Th eP ro Policy Based Discovery Thursday, October 7, 2010
  • 55.
    vis iond Th eP ro Policy Based Discovery Thursday, October 7, 2010
  • 56.
    vis iond Th eP ro CLI provisioning p rovis ion.pl Thursday, October 7, 2010
  • 57.
    vis iond Th eP ro RESTful interfaces http://172.16.23.19:8980/ope nnms/rest/nodes/17 Thursday, October 7, 2010
  • 58.
    s ou rces U sefu l re Whitepapers http://www.opennms.org/wiki/White_Papers Virtual Appliance http://www.opennms.org/wiki/Vmware-evaluation Get OpenNMS http://www.opennms.org/get-opennms/ Get Support http://www.opennms.org/get-support/ Slides OUCE http://www.opennms.org/wiki/UCE Thursday, October 7, 2010