Smokeping | Master slave configuration


First hint:
Run the slave daemon with --debug when testing
On SLAVE:
chown smokeping /etc/smokeping
chmod 755 /etc/smokeping
chown smokeping /etc/smokeping/slavesecret.txt
chmod 600 /etc/smokeping/slavesecret.txt
chown smokeping /etc/smokeping/smokeping_secrets
chmod 600 /etc/smokeping/smokeping_secrets

Om MASTER:
chown smokeping /etc/smokeping/smokeping_secrets
chgrp apache /etc/smokeping/smokeping_secrets
chmod 640 /etc/smokeping/smokeping_secrets

The //MASTER/cgi-bin/smokeping.fcgi file is owned by apache as a user and as a group

Maybe set --slave-name to avoid confusion in MASTERs config file

SLAVEs slavesecret.txt file contains only one word and shoul correspond to MASTERs smokeping_secrets file.

Make all directories on //MASTER/var/lib/smokeping writable for the user running apache and for the user running smokeping.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s