From 1 to 1000 Nodes
An integration showcase with OpenNMS
Monday, November 8, 2010
OpenNMS
• Monitors everything which can be reached
• Scales up to hundreds of thousands of
Nodes & Interfaces
• Integrates...
Architecture
• Read “Enterprise Integration Patterns”
• Everything is about events
Monday, November 8, 2010
Meet some of our
daemons.
Eventd
Pollerd
Collectd
Provisiond
Linkd
Trapd
Syslogd
Notifd
Scriptd
Monday, November 8, 2010
Showcase
• OpenNMS will provision itself based on the
Domain Name Service and send a notification
Eventd
Pollerd
Collectd
P...
Preparation
• Create an empty provisioning Group in
OpenNMS (opennms.example.org) [show]
• (DNS) Zone opennms.example.org ...
Configuration
• We want to use provisiond to load all the
IPs in our Zone into OpenNMS
• Categories shall be set during im...
provisiond-configuration.xml
• import-name=”opennms.example.org”
(equals provisioning group created before)
• ..-url-resou...
Sequence
Domain
DNS-Provisioner
Scheduling
Provisioning Group
Monday, November 8, 2010
Putting it to work
• We trigger a reload of provisiond using an
event (send-event.pl..)
• provisiond imports according to ...
Let’s break something..
• To emulate a node which is unreachable, we
set a host route to localhost for that node
• [show]
...
Questions..?
• We’ll be around for the day!
Monday, November 8, 2010
You want it.
Whitepapers http://www.opennms.org/wiki/White_Papers
Virtual Appliance http://www.opennms.org/wiki/Vmware-eva...
Upcoming SlideShare
Loading in …5
×

From 1 to 1000 Nodes

1,130
-1

Published on

An integration showcase with OpenNMS at SwiNOG#21 in Bern – Alexander Finger und Ronny Trommer

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,130
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
30
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

From 1 to 1000 Nodes

  1. 1. From 1 to 1000 Nodes An integration showcase with OpenNMS Monday, November 8, 2010
  2. 2. OpenNMS • Monitors everything which can be reached • Scales up to hundreds of thousands of Nodes & Interfaces • Integrates with your infrastructure • Tells you only what’s interesting • ..has an IOS App! G nu Public License Monday, November 8, 2010
  3. 3. Architecture • Read “Enterprise Integration Patterns” • Everything is about events Monday, November 8, 2010
  4. 4. Meet some of our daemons. Eventd Pollerd Collectd Provisiond Linkd Trapd Syslogd Notifd Scriptd Monday, November 8, 2010
  5. 5. Showcase • OpenNMS will provision itself based on the Domain Name Service and send a notification Eventd Pollerd Collectd Provisiond Linkd Trapd Syslogd Notifd Scriptd Monday, November 8, 2010
  6. 6. Preparation • Create an empty provisioning Group in OpenNMS (opennms.example.org) [show] • (DNS) Zone opennms.example.org created • Allowed zone transfer to OpenNMS Server • Tested zone transfer with dig: •dig -t axfr @dnsserver opennms.example.org Monday, November 8, 2010
  7. 7. Configuration • We want to use provisiond to load all the IPs in our Zone into OpenNMS • Categories shall be set during import Monday, November 8, 2010
  8. 8. provisiond-configuration.xml • import-name=”opennms.example.org” (equals provisioning group created before) • ..-url-resource = “dns://$server/$domain” • cron-schedule: ..sic. • At this point we could filter with a regex to only import nodes matching the filter Monday, November 8, 2010
  9. 9. Sequence Domain DNS-Provisioner Scheduling Provisioning Group Monday, November 8, 2010
  10. 10. Putting it to work • We trigger a reload of provisiond using an event (send-event.pl..) • provisiond imports according to schedule • each host is probed with the configured detectors • Everything which is discovered is monitored as of now Monday, November 8, 2010
  11. 11. Let’s break something.. • To emulate a node which is unreachable, we set a host route to localhost for that node • [show] Monday, November 8, 2010
  12. 12. Questions..? • We’ll be around for the day! Monday, November 8, 2010
  13. 13. You want it. 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 http://www.opennms.org/wiki/SWINOG Monday, November 8, 2010
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×