This talk will give a brief overview of LibreNMS, network monitoring and the ecosystem that grew around LibreNMS. It will explain how to integrate LibreNMS with your current Icinga monitoring to ease network monitoring but keeping alarms in the same place. Also, you will gain some insights about metric based monitoring through graphite.
2. PROFI AG Ι Network Monitoring with LibreNMS2
What I’m talking about
Introducing LibreNMS
Features
The ecosystem around LibreNMS
Metric based monitoring with Icinga
Integration of LibreNMS and Icinga
3. PROFI AG Ι Network Monitoring with LibreNMS3
$> whoami
Falk Stern
38 years old
Consultant @ PROFI AG
Unix user since ‘95
Got pulled into the dark side of networking, loves automation.
Worked at mobile.de, akquinet, XING, Goodgame Studios
Speaks Perl and other programming languages, can’t get the hang of
Python.
4. WHAT’S LIBRENMS?
A bit of history
• Forked from Observium 2013 after the last GPL release
• Written in PHP, stores configuration in MySQL, data in RRD files
• OpenSource, great community
Features
• Produces pretty graphs
• Can do alerting
• Does discovery by scanning, xDP, OSPF, MAC addresses
• Monitors with SNMP
• Integrates with a lot of software
“…a fully featured network monitoring system that provides a wealth of features and device support.”
PROFI AG Ι Network Monitoring with LibreNMS4
5. DEVICE SUPPORT
Over 270 device families supported
- Switches
- Routers
- Integrated Management
- Dell OpenManage / HPE iLO
- Printers
- Unix Agent
PROFI AG Ι Network Monitoring with LibreNMS5
6. INTEGRATION
Integrate with
• Syslog
• Graylog2
• NFsen
• Oxidized
• PeeringDB
PROFI AG Ι Network Monitoring with LibreNMS6
Alert using
• Email
• Pagerduty
• IRC
• Slack
• Hipchat
• Pushover
• Telegram
• …
Authenticate against
• Local Users
• LDAP
• Active Directory
• Radius
• HTTP Auth
Ship metrics to
• Graphite
• InfluxDB
• OpenTSDB
29. PROFI AG Ι Network Monitoring with LibreNMS30
TRADITIONAL MONITORING
check_snmp
30. PROFI AG Ι Network Monitoring with LibreNMS31
METRIC BASED MONITORING
check_graphite
31. PROFI AG Ι Network Monitoring with LibreNMS32
SNMP Poller
stores metrics
check_graphite
32. PROFI AG Ι Network Monitoring with LibreNMS33
check_graphite
33. PROFI AG Ι Network Monitoring with LibreNMS34
Create the query string for your monitored values in Grafana
Want to detect a sudden rise in bandwidth usage?
derivative(router.ports.eth1.ifOutOctetRate)
Generic CPU load check?
devideSeries(host.system.load1,host.cpu.num-cpu)
34. BENEFITS
- Reduced load on your Icinga servers
- Everybody can explore metrics in Grafana
- Teams can build their own alerts as needed
- You still have control over central alerting
- Network and host monitoring has become much simpler
PROFI AG Ι Network Monitoring with LibreNMS35