Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Monitoring openvz resources using rrdtool

518 bytes added, 07:19, 9 July 2008
no edit summary
=== Collect script ===
Put the following script on the openvz hardware nodes(ubc_rrd_collect.sh):
#!/bin/sh
fi
done
 
=== Usage ===
 
ubc_rrd_collect.sh [update] [init] [send]
 
update - run this to update rrd files
init - scan system and create rrd files
send - use this to send commands to rddtool
 
=== Setting up cron ===
 
Run update every 5 minutes:
 
*/5 * * * * /path/to/ubc_rrd_collect.sh update send | grep -v '^OK'
 
Run init every hour (or run it manually when needed):
0 * * * * /path/to/ubc_rrd_collect.sh init send | grep -v '^OK'
10
edits