This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# expects the following env vars | |
# METRIC_PREFIX - At least the hostname to record these stats under in graphite - collectd.someserver | |
# SNMP_HOST - the host to pull snmp stats from | |
# CARBON_HOST - The carbon host to send the stats | |
# CARBON_PORT - The carbon port to send the stats | |
NOW="$(date +%s)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VERSION="1.5.8" | |
BUILD="betable1" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" |