Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.12 KB

README.md

File metadata and controls

25 lines (14 loc) · 1.12 KB

InfluxXymond

Xymon sample perl worker that puts memory stats into an Influx db

Even though I still like the default xymon rrd graphs, some people don't. Grafana is really good at displaying graphs and can read InfluxDB databases. Xymon's native rrd databases are a time series db, just like InfluxDB.

Grafana has alerting capabilities but is nowhere nearly as powerful as Xymon when it comes to real monitoring. Dashboard-wise, grafana wins hands-down.

Remember, this is just an example. I'll be learning Google's Go language while giving a refresh of Xymon a go (no pun intented).

How does it work?

Xymon has a xymond_channel http://xymon.sourceforge.net/xymon/help/manpages/man8/xymond_channel.8.html interface that hooks into one of xymond's channels (status, data, ..) and puts this out to a worker module. Doesn't sound very complicated and it really isn't. You can write a very simple script that grabs stdin and prints it to stdout or just cat:

./xymond_channel --channel=status cat

Apart from some parsing and storing it in a database, that's it.

The things you need:

  • Xymon, of course
  • influxdb
  • perl