1. 修改 /etc/init.d/gmetad
export RRDCACHED_ADDRESS=unix:/tmp/rrdcached.sock
2. 修改 /etc/default/rrdcached
BASE_PATH=/var/lib/ganglia/rrds/
PIDFILE=/tmp/rrdcached.pid
SOCKFILE=/tmp/rrdcached.sock
SOCKGROUP=nogroup
DAEMON_GROUP=nogroup
DAEMON_USER=nobody
NETWORK_OPTIONS="-L"
BASE_OPTIONS="-B -F -R"
3. chown -R nobody:nogroup /var/lib/rrdcached/journal
4. 修改 /var/www/html/ganglia/conf_default.php
$conf['rrdcached_socket'] = 'unix:/tmp/rrdcached.sock';
5. service stop gmetad
service stop rrdcached
service start rrdcached
service start gmetad
service apache2 restart
沒有留言:
張貼留言