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
# This is not an inclusive list, there were things I left that, things I totally don't care about or don't know I care about | |
# snmpwalk -OT -v 2c -c "public" <your routers private ip> | |
# snmpwalk -OT -v 2c -c "public" <your routers private ip> 1.3 | |
# system | |
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 32 | |
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 0 | |
# memory info | |
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 495532 kB |
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.7.1" | |
BUILD="slack1" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" |
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="2.31" | |
BUILD="slack1" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" |
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.3.6" | |
BUILD="slack1" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" |
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
client | |
dev tun | |
proto udp | |
remote <YOUR IP OR FQDN> <YOUR PORT> | |
resolv-retry infinite | |
nobind | |
user nobody | |
group nobody | |
persist-key | |
persist-tun |
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
port <PICK A PORT> | |
proto udp | |
dev tun | |
ca ca.bundle.crt | |
cert server.crt | |
key private/server.key | |
dh dh2048.pem |
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="0.19.5" | |
BUILD="slack1" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" | |
cd "$(mktemp -d)" |
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 | |
# sudo pip install --egg SCons | |
PACKAGE="statsite" | |
VERSION="0.7.1" | |
BUILD="slack1" | |
set -e -x | |
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.0.0" | |
SHA="4d3727c" | |
BUILD="$SHA-slack1" | |
set -e -x | |
DIRNAME="$(cd "$(dirname "$0")" && pwd)" | |
OLDESTPWD="$PWD" |
NewerOlder