Closed (fixed)
Project:
Barracuda
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2013 at 20:15 UTC
Updated:
22 Jan 2014 at 23:10 UTC
Jump to comment: Most recent
Comments
Comment #1
jim kirkpatrick commentedAnd I thought I'd add a quick how-to for Nginx monitoring in case it helps resolve this, or other people...
1. Edit
/etc/collectd/collectd.confand uncomment the LoadPlugin nginx line near the top (remove #).2. Add (or adapt commented section) in same file like below -- note that
hostmaster.fqdnis the name of your master Aegir instance and the fully qualified domain name).3. Adding a new 'location' to
/var/aegir/config/server_master/nginx/vhost.d/cgp.hostmaster.fqdnso the file looks like this -- making sure to change [server ip] to the correct IP(s). :4. Restart cgp and nginx:
service nginx restart, thenservice collectd restart5. Done (I think!) and CGP will shortly start showing Nginx graphs.
(Note that MySQL is easy too, though I think the best way there is to add a new limited access DB user... is that true?)
Comment #2
jim kirkpatrick commentedGrammar tweak in title.
Comment #3
omega8cc commentedNice idea. Patches are welcome!
Comment #4
radimklaskaJust two little things:
;after[server ip]service cgp restartit'sservice collectd restartWorks like a charm, thanks!
Comment #5
jim kirkpatrick commentedThanks radimklaska, post edited with your corrections...
I hope to try my hand at the patch for this soon (baby permitting!), so hopefully this will be out-the-box for BOA 2.0.7.
Comment #5.0
jim kirkpatrick commentedpoliter ask
Comment #6
omega8cc commentedNginx monitoring is now included by default when collectd is installed.