Skip to content

Instantly share code, notes, and snippets.

View aravindgv's full-sized avatar

Aravind G V aravindgv

View GitHub Profile
@aravindgv
aravindgv / graylog2-server
Created February 20, 2014 07:49
graylog2-server Startup Script
#!/bin/sh
#Aravind G V
# graylog2-server: graylog2 message collector
#
# chkconfig: - 98 02
# description: This daemon listens for syslog and GELF messages and stores them in mongodb
#
CMD=$1
NOHUP=`which nohup`
JAVA_HOME=/usr/java/latest
@mikluko
mikluko / gist:3897117
Created October 16, 2012 03:37
Basic monit config to monitor CPU, memory and disk usage
set daemon 30 with start delay 60
set logfile syslog facility log_daemon
set httpd port 2812
allow localhost
set mailserver localhost
set alert alert@example.com but not on { instance }
mail-format {
From: noreply@example.com