action #94753
closed
coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes
coordination #92854: [epic] limit overload of openQA webUI by heavy requests
Try out munin on o3
Added by tinita over 3 years ago.
Updated over 3 years ago.
Category:
Feature requests
Description
To have some statistical data, we could try out munin on o3.
https://munin-monitoring.org/
It gathers data every 5 minutes and writes them in rrd format, and generates a daily, werkly, monthly and yearly graph for things like load, memory, disk usage, apache accesses, network traffic.
Todo:
- Install munin and configure
- Create restricted access over http for the team, since we don't want that data to be public
Installed on o3:
# install
% zypper in munin munin-node
# config
% cd /etc/munin
% vim munin.conf
# configure hostname (e.g. openqa.opensuse.org)
# enable plugins
% cd /etc/munin/plugins
% for i in /usr/lib/munin/plugins/apache_*; do ln -s $i; done
% systemctl restart munin-node.service
HTML files are under /srv/www/htdocs/munin/
and not accessible from the webserver yet.
Apache would need the status module enabled for the apache_ plugins to work.
We also could enable some postgres plugins.
- Parent task set to #92854
- Status changed from In Progress to Resolved
Still todo:
- Enable apache status module to be able to collect statistics about apache requests/processes
- Make the generated HTML files available over the webserver, but only for "us", not for the public. Need to figure out how that can be set up in apache
These things are considered out of scope, so resolving this ticket
Anyone wanting to look at the HTML pages, do this:
rsync -a o3:/srv/www/htdocs/munin ~/o3-munin/
(where "o3" is configured in your ssh config of course)
- % Done changed from 0 to 100
- Estimated time set to 2.00 h
- Difficulty set to easy
I just included it in the wiki
The service was disabled by default, so it did not start with the reboot yesterday, so I enabled it.
Also available in: Atom
PDF