Upload
ronny
View
996
Download
1
Embed Size (px)
DESCRIPTION
An integration showcase with OpenNMS at SwiNOG#21 in Bern – Alexander Finger und Ronny Trommer
Citation preview
From 1 to 1000 NodesAn 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 with your infrastructure
• Tells you only what’s interesting
• ..has an IOS App!
Gnu P
ublic
Licen
se
Monday, November 8, 2010
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
Provisiond
Linkd
Trapd
Syslogd
Notifd
Scriptd
Monday, November 8, 2010
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
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
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
SequenceDomain
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 schedule
• each host is probed with the configured detectors
• Everything which is discovered is monitored as of now
Monday, November 8, 2010
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
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-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