[Ovirt-devel] [PATCH] Add new counters to collectd on hosts, add rrdtool-ruby to wui

mark wagner mwagner at redhat.com
Thu Jun 5 03:08:15 UTC 2008


Arrrgggghhhh

mark wagner wrote:
> (Hopefully) simple changes to do two different things
> 1) add some additional stats to be collected via collectd on the 
> managed nodes
> 2) add the package rrdtool-ruby to the wui.  This is required for the 
> stats API to access the rrd with Ruby
>
> I don't have privs in the repo so if someone acks and can send it 
> along it'd be appreciated.
>
> -mark
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel
Signed-off-by: root <root at perf11.lab.bos.redhat.com>
---
 ovirt-host-creator/common-post.ks |    9 +++++++++
 wui/ovirt-wui.spec                |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ovirt-host-creator/common-post.ks 
b/ovirt-host-creator/common-post.ks
index 088f920..526a8dc 100644
--- a/ovirt-host-creator/common-post.ks
+++ b/ovirt-host-creator/common-post.ks
@@ -295,6 +295,9 @@ LoadPlugin network
 LoadPlugin libvirt
 LoadPlugin memory
 LoadPlugin cpu
+LoadPlugin load
+LoadPlugin interface
+LoadPlugin disk
 
 <Plugin libvirt>
         Connection "qemu:///system"
@@ -305,6 +308,12 @@ LoadPlugin cpu
 <Plugin network>
         Server "@COLLECTD_SERVER@" @COLLECTD_PORT@
 </Plugin>
+
+<Plugin interface>
+       Interface "eth0"
+       IgnoreSelected false
+</Plugin>
+
 EOF
 
 echo "Clearing kerberos config"
diff --git a/wui/ovirt-wui.spec b/wui/ovirt-wui.spec
index 269b7de..e1482f0 100644
--- a/wui/ovirt-wui.spec
+++ b/wui/ovirt-wui.spec
@@ -25,6 +25,7 @@ Requires: pwgen
 Requires: httpd >= 2.0
 Requires: mod_auth_kerb
 Requires: ruby-libvirt >= 0.0.2
+Requires: rrdtool-ruby
 Requires: iscsi-initiator-utils
 Requires: cyrus-sasl-gssapi
 Requires(post):  /sbin/chkconfig
-- 
1.5.4.5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080604/1ab870fb/attachment.htm>


More information about the ovirt-devel mailing list