This file contains hidden or 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
# CONFIG | |
SNMP_COMMUNITY=public | |
SYSCONTACT=dan | |
SYSLOCATION=Berlin | |
# get packages | |
apt-get install snmpd xinetd vim | |
mkdir -p /opt/observium && cd /opt |
This file contains hidden or 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
#!/usr/bin/env python | |
import sys | |
import argparse | |
import tempfile | |
import webbrowser | |
import time | |
from docutils.core import publish_string | |
import locale |
This file contains hidden or 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/bash | |
# enable mod_ext_filter | |
a2enmod ext_filter | |
# create temp config file | |
cat <<EOF > /tmp/haml_sass | |
# For HAML & SASS (http://d.hatena.ne.jp/ursm/20080923/1222195693) | |
LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so |