Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 416 Bytes

Trivial statsd client in C

See statsd-client.h

Included is a daemon for monitoring a Linux system. It'll wake up every minute and monitor the following:

  • load
  • cpu
  • free memory
  • free swap (disabled)
  • received bytes
  • transmitted bytes
  • procs
  • uptime

The stats sent to statsd will be in "host.MACAddress" namespace.

Usage:

uptimed statsd-host interface-to-monitor

e.g.

uptimed 172.16.42.1 eth0