monitoring your network with librenms - dknog (indico) · monitoring your network with librenms...

58
Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018 www.librenms.org Neil Lathwood

Upload: others

Post on 29-Sep-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Monitoring your network with LibreNMS

DKNOG8 Mar 8-9th 2018 www.librenms.org

Neil Lathwood

Page 2: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

History

Page 3: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

HistoryFork of ……….

• Actual fork was Oct 2013

• Last GPL code May 2012

• 18 months code regression

Initial fork was done by:

• Paul Gear (Project founder) (@paulgear1)

• Tyler Christiansen (@supertylerc)

Page 4: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Overview

• Open source - GPLv3

• Community driven

• Aim to be inclusive to everyone

• 5 Years old this year - Party?

Page 5: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

What is LibreNMS?

Page 6: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Auto-discovering NMS• PHP / MySQL based

• Network and Inventory information

• Data collection is done via SNMP

• Data storage via RRDTool / InfluxDB / Graphite / OpenTSDB

• Graphing via RRDTool - up and to the right

Page 7: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Like this

Page 8: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

But not like this :(

Page 9: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

GitHub Statistics

• 480+ Contributors

• 14k+ Commits

• 5k+ Pull requests

• 2.5k+ Issues

Page 10: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Installation

Page 11: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

InstallationManual install from GitHub / Composer

Virtual images available including 3rd party docker container.

User contributed automation scripts

• Ansible

• Chef

Page 12: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Vendor support

Page 13: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Vendor Support• Detection for over 350 vendors

• Continuously adding or improving support

• Working to simplify adding additional support

• Moving to yaml for detection

• OS Discovery done

• Health / Sensor Discovery done

• Processor Discovery done

Page 14: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Features

Page 15: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Auto-discovery

•CDP, LLDP or FDP

•SNMP Scan

•Even OSPF, ARP and BGP

•Service discovery

Page 16: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Dashboards

Page 17: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Alerting

Page 18: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Simple rule

Page 19: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Not so simple rule

Page 20: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Alert rules v2

Page 21: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Transports

•20+ transports available

•Email, IRC, Slack + More

•Even obscure ones like Syslog and Elasticsearch

Page 22: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Templates:(Needstobere-done

%titleSeverity:%severity{if%state==0}Timeelapsed:%elapsed{/if}Timestamp:%timestampUnique-ID:%uidRule:%name{if%faults}Faults:{foreach%faults}#%key:%value.string{/foreach}{/if}

Page 23: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Templates

Page 24: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Templates

Page 25: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Templates

Page 26: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Templates

Page 27: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Device Dependancy

Page 28: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Alerting system 2018

•Introduce new templating system

•Per rule transports

•Multiple recipients per rule

•Improved UI for group mapping

Page 29: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Authentication

Page 30: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Authentication• Active Directory

• HTTP

• LDAP

• Radius

• SSO

• 2FA

Page 31: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Logging

Page 32: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Syslog and Graylog2

Page 33: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Device configs

Page 34: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Rancid and Oxidized

Page 35: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

API

Page 36: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

API

•Extensive restful API - Currently v0

•Supports Devices, Ports, Routing, Switching

•Alerting, Inventory, Bills and Logs

•Powers the myLibreNMS mobile apps

Page 37: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Scaling

Page 38: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Distributed Polling•Allows you to scale out your install

•Supports n+1 for resilience

•Supports polling within NAT environments

Page 39: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Traffic billing

Page 40: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Traffic Billing

•CDR or Quota based

•Customer and billing references

•Data available via API

•Granular graphs available

Page 41: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Traffic Billing

Page 42: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Routing Support

Page 43: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

BGP

Page 44: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

OSPF

Page 45: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

OTV

Page 46: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

CEF

Page 47: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

PeeringDB Support

Page 48: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

PeeringDB

Page 49: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Updates

Page 50: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Automatic updates

Two available update channels:

•Development (master branch)

•Stable (GitHub releases)

Page 51: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Mobile Apps

Page 52: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Mobile Apps

Made available courtesy of Paul @ WaveDirectNow released as Open Source

Page 53: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Support

Page 54: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood
Page 55: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood
Page 56: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Asking for help

• Discord – Primary method

• Community site

• Reddit

• GitHub for bugs

Page 57: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Getting involved

•Code contributions / pull requests

•Documentation

•Help others

•Find / report bugs and ask for device support

Page 58: Monitoring your network with LibreNMS - DKNOG (Indico) · Monitoring your network with LibreNMS DKNOG8 Mar 8-9th 2018  Neil Lathwood

Contact

https://github.com/librenms/librenms

https://community.librenms.org

https://www.twitter.com/librenms

https://www.facebook.com/LibreNMS/

https://www.reddit.com/r/LibreNMS/

[email protected]

https://t.libren.ms/discord