Created
September 6, 2012 11:19
-
-
Save gggeek/3655014 to your computer and use it in GitHub Desktop.
7. integrating ezperformancelogger into munin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd extension/ezperformancelogger/bin/scripts | |
chmod 755 ezmuninperflogger_ | |
sudo ln –s /var/www/ezpublish4/extension/ezperformancelogger/bin/scripts/ezmuninperflogger_ /usr/share/munin/plugins/ezmuninperflogger_ | |
# patch /var/www/ezpublish4/extension/ezperformancelogger/bin/scripts/ezmuninperflogger_ : hashbang line is wrong, use instead | |
#!/bin/bash | |
# create (as root) /etc/munin/plugin-conf.d/ezmuninperflogger | |
[ezmuninperflogger_*] | |
env.php /usr/bin/php | |
env.ezpublishroot /var/www/ezpublish4 | |
sudo service munin-node restart | |
sudo munin-node-configure --suggest –shell | |
# execute the suggested commands which start with "ln -s" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment