-
Clone the Riemann Git repository (clones into directory
riemann
):
$ git clone https://github.com/aphyr/riemann.git
-
Checkout the last stable version (0.2.2 in our case):
$ cd riemann
$ git checkout tags/0.2.2
-
Add Carmine dependency to
riemann/project.clj
:
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 | |
# System-wide crontab file and cron job directory. Change these for your system. | |
CRONTAB='/etc/crontab' | |
ANACRONTAB='/etc/anacrontab' | |
CRONDIR='/etc/cron.d' | |
# Single tab character. Annoyingly necessary. | |
tab=$(echo -en "\t") |
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 | |
# Set Variables | |
EXIMLOG=/var/log/exim4/mainlog | |
MYLOG=/tmp/exim_status.log | |
OFFSETFILE=/tmp/eximstatusoffset.dat | |
EXIMSTATS=/usr/sbin/eximstats | |
LOGTAIL=/usr/sbin/logtail | |
ZABBIX_SENDER=/usr/bin/zabbix_sender | |
ZABBIX_CONF=/etc/zabbix/zabbix_agentd.conf |
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 | |
# | |
# Example 1: All blocks in list.txt, one CIDR per line | |
# cat list.txt | cidr.py | |
# | |
# Example 2: Echo CIDR blocks to stdout | |
# echo 1.2.3.0/25 1.2.3.128/25 | cidr.py | |
import sys | |
from netaddr import * |
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
require("lsqlite3") | |
-- Igmar: Wanneer closen we dat DB object eigenlijk ? | |
db = sqlite3.open('/etc/asterisk/users.sqlite') | |
--CONSOLE = "Console/dsp" -- Console interface for demo | |
--CONSOLE = "DAHDI/1" | |
--CONSOLE = "Phone/phone0" | |
TRUNK = "DAHDI/G1" |