Remstats An RRDtool-based Network Monitoring System by Thomas Erskine

Preview:

Citation preview

Remstats

An RRDtool-based Network Monitoring System

by Thomas Erskine <thomas.erskine@crc.ca>

Why another network monitoring system?

• The existing ones were either:– inadequate, and/or– extremely expensive, and/or– not customizable enough

1999-09-21 Remstats - NANOG 3

What did you want?

• graphs and long-term data-storage like MRTG and RRDtool

• alerts and status-levels like NOCOL• data from non-SNMP sources

What’s so great about it?

• RRDtool (thank-you Tobi)• good customizable graphs• long-term data retention in small

space• fast updates

Seriously.

• non-SNMP data collection• “At a glance” web-pages for each

host• custom web-pages with live data• custom images with live data• long-term event logs

1999-09-21 Remstats - NANOG 6

Decoupling the collector

• use other data-sources, anything you’ve got

• write your own “collector”• how about a sed script?

OK. How does it work?

• Collectors feed a standard data format to the updater

• all the collectors run in parallel• afterwards monitors do data-

specific stuff • finally the web-pages get

generated

Enough! What does it look like?

• I’m glad you asked. Let’s have a look…

1999-09-21 Remstats - NANOG 9

1999-09-21 Remstats - NANOG 10

1999-09-21 Remstats - NANOG 11

1999-09-21 Remstats - NANOG 12

1999-09-21 Remstats - NANOG 13

1999-09-21 Remstats - NANOG 14

1999-09-21 Remstats - NANOG 15

1999-09-21 Remstats - NANOG 16

1999-09-21 Remstats - NANOG 17

1999-09-21 Remstats - NANOG 18

How do I make it do all that?

• A single configuration file• Sections for graphtimes, colors, archives,

tools, scripts, alerts, oids, rrds and hosts• configuration base supplied• configuration-creation tools for some collectors

(ping, snmp and port)

The End

1999-09-21 Remstats - NANOG 21

1999-09-21 Remstats - NANOG 22

1999-09-21 Remstats - NANOG 23

[ times ]

1999-09-21 Remstats - NANOG 24

[ colors ]

1999-09-21 Remstats - NANOG 25

[ archives ]

1999-09-21 Remstats - NANOG 26

[ tools ]

1999-09-21 Remstats - NANOG 27

[ script NAME ]

1999-09-21 Remstats - NANOG 28

[ rrd ping ]

1999-09-21 Remstats - NANOG 29

[ rrd if-* ]

1999-09-21 Remstats - NANOG 30

[ host news.crc.ca]