Sha256: 8e71df81c1fad4ed9b4c5ff6ca053169cf0c6200672e78a9e75b448dbbd1c3e4
Contents?: true
Size: 473 Bytes
Versions: 23
Compression:
Stored size: 473 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-nagios-receiver) ]; then echo "Error: flapjack-nagios-receiver isn't in PATH." echo "Refusing to do anything!" exit 1 fi # Evaluate command flapjack-nagios-receiver $1 --daemonize RETVAL=$? exit $RETVAL
Version data entries
23 entries across 23 versions & 1 rubygems