Sha256: 951572dcb6ce3895cefcb6c76cdff50957cc50794b70f6a403aa1c26154ae8af
Contents?: true
Size: 461 Bytes
Versions: 4
Compression:
Stored size: 461 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 RETVAL=$? exit $RETVAL
Version data entries
4 entries across 4 versions & 1 rubygems