Merge "Adding collectl element."

This commit is contained in:
Jenkins 2014-05-08 16:54:17 +00:00 committed by Gerrit Code Review
commit 39ec89a3fa
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Installs the collectl package for gathering performance data when needed.
The default configuration file /etc/collectl.conf has been changed to examine
cpu, disk, memory, network and process stats only and record eth and bond
stats for the networks. Both raw and plottable files will be produced.

View File

@ -0,0 +1 @@
os-apply-config

View File

@ -0,0 +1,10 @@
#!/bin/bash
set -eux
install-packages collectl
# The default configuration has been changed to examine cpu, disk, memory,
# network and process stats only and only record eth and bond stats for the
# networks. Both raw and plottable files will be produced.
sudo sed -i "/^DaemonCommands/c\DaemonCommands = -f /var/log/collectl -r00:00,7 -m -F60 -scdmnZ --rawnetfilt eth|bond -P --rawtoo" /etc/collectl.conf