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

Version Path
flapjack-1.3.0rc2 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.3.0rc1 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.2 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.1 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.1rc3 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.1rc2 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.1rc1 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.0 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.0rc2 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.2.0rc1 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.1.0 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.0.0 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.0.0rc6 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.0.0rc5 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.0.0rc3 dist/etc/init.d/flapjack-nagios-receiver
flapjack-1.0.0rc2 dist/etc/init.d/flapjack-nagios-receiver