ez projects / ezmunin / forum / general / changes to make this work w...
You need to be logged in to post messages in the forums. New users may register here.
|
Member since: Posts: 1 |
Tuesday 27 January 2009 8:20:45 am You can modify this to produce different statistics for each instance on a shared ezPublish box like so:
sfrazer-mbp:Downloads sfrazer$ diff ezpublish.old ezpublish.new 26a27 > EZPUBLISH_INSTANCE=`basename $0` 46c47 < echo 'graph_title eZ Publish statistics' --- > echo 'graph_title ' $EZPUBLISH_INSTANCE ' statistics' 52c53 < echo 'graph_category eZ Publish' --- > echo 'graph_category eZ - ' $EZPUBLISH_INSTANCE 69c70 < echo 'graph_info Statistics for an eZ Publish instance' --- > echo 'graph_info Statistics for eZ Publish instance ' $EZPUBLISH_INSTANCE Next, when you create the symlink, instead of calling it "ezpublish," make it the same name as the website you are monitoring like so: sudo ln -sv /usr/share/munin/plugins/www.example.com /etc/munin/plugins Then, name the section of /etc/munin/plugin-conf.d/munin-node the same as the website name: [www.example.com] env.dbusername root env.dbpassword publish env.dbname ezpublish40 Now you can have multiple ez Publish websites monitored on the same server, all from a single munin script. |
|
Member since: Posts: 22 |
Tuesday 27 January 2009 9:33:00 am Hi Scott,
thanks for the patch. Actually I am rewriting everything and I added other monitors I already wrote : ezpublish_content which monitors : - content objects - content object attributes - content nodes - content object relations ezpublish_users which monitors : - ezusers and I plan to write this week : ezpublish_cache (almost there actually) which will monitor : - cache-blocks - view cache writing a plugin to monitor the amount of binary files is also planned but I do not know when I will do it. Your patch will be integrated in the next release. Thanks :) |
|
Member since: Posts: 22 |
Tuesday 27 January 2009 3:30:10 pm Patch applied in trunk rev : 8.
|
You need to be logged in to post messages in the forums. New users may register here.