Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple,...

26
All content © 2020 Internet Systems Consortium, Inc. Stork Dashboard for Kea May 2020 Vicky Risk, Product Manager Tomek Mrugalski, Director of DHCP Development 1

Transcript of Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple,...

Page 1: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Stork Dashboard for KeaMay 2020

Vicky Risk, Product Manager Tomek Mrugalski, Director of DHCP Development

1

Page 2: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

What is Stork?

• A graphical management dashboard•Makes open source Kea easier to use•Open source (MPL) + leverages open source•Central server + agents•Monthly feature releases - rapid development•Ubuntu 19.10, CentOS 8, FreeBSD 12•Docker optional

2

Page 3: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Target Uses

•Simple, yet comprehensive Kea monitoring and fault management•Replacement for Anterius (a popular GSOC project, but not maintained)•Eventually - troubleshooting tool for BIND + Kea

3

Page 4: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Requirements from Users

1. display pool utilization, alarm on thresholds2. monitor disk space, cpu utilization3. monitor, test HA pair status4. monitor on-going lease activity (LPS), total active

leases5. monitor time to assign a lease, detect unusual

slowdowns

4

Page 5: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Current Features• Monitor multiple Kea and BIND services• Configuration inspection• subnets, pool, shared networks (per server, aggregated list)• filtering/search mechanism

• Host Reservations• Focus Stork on features Grafana can’t easily do• Display pool utilization (total, pool, reserved, in use)• Single mode/HA/LB status

• Health status:• CPU/mem utilization• Uptime, time since reconfig, version• # of queries• Response time?

• DHCP traffic exchange details in Grafana

5

Page 6: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Features TBD

•Log viewer •Alarms (leverage Grafana for this)•Current lease status information•Complex admin roles and privileges•Event Timings (latency)• ‘Real user testing’ - automated service probing •Modify configuration, configuration controls much later

6

Page 7: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Stork Architecture

7

Stork ServerReST API

Prometheus

GrafanaStork API calls gRPC over http2

Prometheus http

Kea with Stork Agent

Kea with Stork Agent

Kea with Stork Agent

Page 8: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Stork Deployment•Stork server▪ May be dedicated node▪ May be colocated with Kea▪ Install from packages▪ Run natively on Ubuntu 18.04 or

later▪ Stork server will not run on every

OS that Kea runs on▪ Prometheus and Grafana▪ on the stork server or remote

▪ Agent▪ Install on every Kea server you

want to manage▪ Ubuntu, CentOS8, Fedora, Debian

8

Page 9: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

About the Demo

•Traffic generation w/perfdhcp•open source, distributed with Kea

9

Page 10: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Summary

•https://gitlab.isc.org/isc-projects/stork - bookmark it!•We need feedback on requirements, priorities, User Interface, bugs, operational use cases

•Debian, RPM packages at https://cloudsmith.io/~isc/repos/stork/packages/•stork-users mailing list at lists.isc.org - subscribe•a recording of this webinar will be posted at https://www.isc.org/presentations/

10

Page 11: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc. 11Photo courtesy of Tomek Mrugalski

Page 12: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Demoslides in case of network/demo malfunction

12

Page 13: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Login screen

13

Not terribly exiciting, but it will get better

Page 14: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Empty dashboard

14

Lone and empty place. Let’s get this place going.

Page 15: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Adding new agent

15

Adding is simple: address or FQDN and port

Page 16: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Detecting apps

16

Agent detects running/crashed/offline apps automatically.

Page 17: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Inspecting Kea

17

Page 18: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Pool utilization

18

Pool utilization, warning(80%), critical (90%) thresholds, Grafana links

Page 19: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Shared networks view

19

Page 20: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Dashboard

20

Page 21: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Host Reservations

21

Page 22: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

HA status (all good)

22

Page 23: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

HA status (problems detected)

23

(Need a better slide)

Page 24: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

BIND9 status: Cache hit ratio

24

Page 25: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Grafana: All DHCP subnets

25

Page 26: Stork Dashboard for KeaAll content © 2020 Internet Systems Consortium, Inc. Target Uses •Simple, yet comprehensive Kea monitoring and fault management •Replacement for Anterius

All content © 2020 Internet Systems Consortium, Inc.

Grafana : Single subnet

26