Upgrade to Pro — share decks privately, control downloads, hide ads and more …

From 1 to 1000 Nodes

Ronny Trommer
May 21, 2012
70

From 1 to 1000 Nodes

An integration showcase on OpenNMS presented on SwiNOG 21

Ronny Trommer

May 21, 2012
Tweet

Transcript

  1. 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 Public License
  2. Showcase • OpenNMS will provision itself based on the Domain

    Name Service and send a notification Eventd Pollerd Collectd Provisiond Linkd Trapd Syslogd Notifd Scriptd
  3. 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
  4. Configuration • We want to use provisiond to load all

    the IPs in our Zone into OpenNMS • Categories shall be set during import
  5. 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
  6. 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
  7. Let’s break something.. • To emulate a node which is

    unreachable, we set a host route to localhost for that node • [show]
  8. 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