Sha256: e5c968b41514a0bcf3cf10460b314efa5a3a1bf90aadc03b2535ebbc3cdaf6be
Contents?: true
Size: 441 Bytes
Versions: 16
Compression:
Stored size: 441 Bytes
Contents
#!/bin/bash # # Copyright (c) 2009-2013 Lindsay Holmwood <lindsay@holmwood.id.au> # # flapjack-nagios-receiver # reads from a nagios perfdata named-pipe and submits each event to the events queue in redis # PATH=/opt/flapjack/bin:$PATH if [ ! $(which flapjack) ]; then echo "Error: flapjack isn't in PATH." echo "Refusing to do anything!" exit 1 fi # Evaluate command flapjack receiver nagios $1 --daemonize RETVAL=$? exit $RETVAL
Version data entries
16 entries across 16 versions & 1 rubygems