4 # Provides: shinken-poller
7 # Default-Start: 2 3 4 5
9 # Short-Description: Shinken poller daemon
10 # Description: Shinken is a monitoring tool and the Poller
11 # is one of its daemon. This one gets the configuration from the arbiter
12 # His purpose is to actually do the checks ordered by the schedulers,
13 # and then sends the results to the schedulers specified in the
17 ### BEGIN INIT INFO Redhat
18 # Shinken Starts Shinken Poller
20 # chkconfig: 345 99 01
21 # description: Start Shinken poller daemon
24 # Author: Gabes Jean <naparuba@gmail.com>
25 # Olivier LI-KIANG-CHEONG <lkco@gezen.fr>
30 curdir
=$
(dirname "$0")
32 export SHINKEN_MODULE_FILE
="$NAME" ## for 'shinken' init script to see that it's called by us
34 "$curdir/shinken" -m poller $@