Skip to content

Instantly share code, notes, and snippets.

popt-1.10.2.3-34.el5
cyrus-sasl-lib-2.1.22-7.el5_8.1
info-4.8-14.el5
procps-3.2.7-26.el5
libgpg-error-1.4-2
file-4.17-28
libpng-1.2.10-17.el5_8
hmaccalc-0.9.6-4.el5
gamin-0.1.7-10.el5
libsysfs-2.1.0-1.el5
{
"handlers": {
"pagerduty": {
"type": "pipe",
"mutator": "preserve_pagerduty_alert",
"severities": [
"critical",
"ok"
],
}
MAIN:
setDirection("out");
CLASS SNIPPET:
public String getDirection ()
{
return this.direction;
}

Keybase proof

I hereby claim:

  • I am jmherbst on github.
  • I am jmherbst (https://keybase.io/jmherbst) on keybase.
  • I have a public key whose fingerprint is 2336 9913 E60E 386B 7D4A B117 B328 FBA6 FC4D 3277

To claim this, I am signing this object:

@jmherbst
jmherbst / gist:9937228
Created April 2, 2014 16:07
sensu-server.log
{"timestamp":"2014-04-02T15:45:10.155601+0000","level":"info","message":"handling event","event":{"client":{"name":"example.net","address":"192.1.1.25","subscriptions":["base","example.net","hosted"],"timestamp":1396453493},"check":{"name":"testing_email_handler","output":"{ \"summary\": \"0 sessions appear to have been affected by this outage\", \"hostname\": \"example.net\", \"details\": [{ \"account_id\": 111111, \"failed\": 1, \"sessions\": [ \"This is a fake session for testing\" ] } ]}","status":2,"handlers":["email_failed_sessions"],"occurrences":1,"issued":1396453510,"history":["2","2","2","2","2","2","2","2"]},"occurrences":8,"action":"create"},"handler":{"type":"pipe","command":"email_failed_sessions.rb","severities":["critical"],"name":"email_failed_sessions"}}
{"timestamp":"2014-04-02T15:45:14.793360+0000","level":"info","message":"handler output","handler":{"type":"pipe","command":"email_failed_sessions.rb","severities":["critical"],"name":"email_failed_sessions"},"output":"only handling every
appendonly no
appendfsync everysec
daemonize yes
databases 16
dbfilename master.rdb
dir /var/lib/redis
bind 0.0.0.0
port 6379
logfile "/var/log/redis/redis1.log"
loglevel debug
@jmherbst
jmherbst / check_test_occ.json
Created December 31, 2013 18:46
Check definition for testing occurences
{
"checks": {
"check_test_occ": {
"command": "check-procs.rb -p testing_occ -C 0 -c 0 -w 1",
"subscribers": [
"sensu"
],
"handlers": [
"logstash"
],