Changes

Jump to: navigation, search

Monitoring openvz resources using munin

566 bytes added, 06:32, 31 August 2011
Undo revision 10871 by 217.195.167.74 (Talk)
[[Category: Monitoring]]
[http://exchange.munin-monitoring.org/plugins/openvzcpu/details There is a plugin available on the Munin Exchange web site] which tracks CPU usage accross different containers. [http://exchange.munin-monitoring.org/plugins/openvz_/details A second is also available via the Munin plugin exchange] which tracks beancounter values. Additionally, there are several plugins available on this page to monitor beancounter values in [http://munin.projects.linpro.no/ Munin].The third one tries to combine the other two. (FIXME, maybe these should live in the Munin Exchange too?)
= "Simple" munin plugin =
done
if [ "$STATSCNT" == "1" ]; then
echo maxheld.label Maxheld
echo maxheld.draw LINE2
echo $name".value "$value;
if [ "$STATSCNT" == "1" ]; then
echo maxheld.value $top
echo barrier.value $warn
This simple script will generate an overview of the requested stat from all VE's.
When using vzlist your saved from any changes to the beancounters.
 
== Usage ==
Simply append the variable you want to monitor:
<source lang="bash">ln -s /usr/share/munin/plugins/openvz_ /etc/munin/plugins/openvz_physpages</source>
<source lang="bash">
#
# $Log$
#
# 2008/08/14 Rene Weselowski <http://www.dead.at>
#
#
#%# family=auto
Anonymous user

Navigation menu