[smokeping-users] no data in graphs
Paul Mansfield
paul.mansfield+smokeping at grapeshot.co.uk
Wed Mar 12 15:17:47 CET 2014
here's my smokeping slave startup script which runs the slave as user
smokeping; add the "-c" option to specify a config file if needed.
#!/bin/bash
if [ "$1" == "-d" ] ; then
OPTS="--debug-daemon --nodaemon"
fi
su - smokeping -s /bin/bash -c "/usr/local/smokeping/bin/smokeping
$OPTS --master-url=http://smokeping.example.com
--cache-dir=/usr/local/smokeping/cache
--shared-secret=/usr/local/smokeping/etc/secret"
here's my master start script
#!/bin/bash
if [ "$1" == "-d" ] ; then
OPTS="--debug-daemon --nodaemon"
fi
cd /usr/local/smokeping
chown -R smokeping:smokeping data
chmod -R g+w cache data var
su - smokeping -s /bin/bash -c "cd /usr/local/smokeping ; bin/smokeping $OPTS"
More information about the smokeping-users
mailing list