Monitoring openvz resources using rrdtool

From OpenVZ Virtuozzo Containers Wiki
Revision as of 14:55, 8 July 2008 by Vincent (talk | contribs) (New page: Category: Monitoring In this setup there is a central rrd server that collects data from several openvz hardware nodes === Setting up rrd server === Create a directory /var/rrd on c...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


In this setup there is a central rrd server that collects data from several openvz hardware nodes

Setting up rrd server

Create a directory /var/rrd on central server.

mkdir /var/rrd

In /etc/xinetd.d create a file rrdsrv

service rrdsrv
{
  disable         = no
  socket_type     = stream
  protocol        = tcp
  wait            = no
  user            = root
  only_from       = 192.168.2.0/24
  server          = /usr/bin/rrdtool
  server_args     = - /var/rrd
}

Add service in /etc/services

rrdsrv                13900/tcp


Collect script