packages: collectd/collectd.spec - update TODO notes - build libvirt plugin...

wiget wiget at pld-linux.org
Mon Aug 15 22:34:42 CEST 2011


Author: wiget                        Date: Mon Aug 15 20:34:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update TODO notes
- build libvirt plugin
- rel. 2

---- Files affected:
packages/collectd:
   collectd.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: packages/collectd/collectd.spec
diff -u packages/collectd/collectd.spec:1.101 packages/collectd/collectd.spec:1.102
--- packages/collectd/collectd.spec:1.101	Mon Aug 15 21:24:12 2011
+++ packages/collectd/collectd.spec	Mon Aug 15 22:34:37 2011
@@ -6,30 +6,39 @@
 #   mainstream library:
 # liboconfig  . . . . . yes (shipped version)
 # - Libraries not found by configure:
-#   libganglia  . . . . . no (gm_protocol.h not found)
-#   libiokit  . . . . . . no
+#   libcredis . . . . . . no (credis.h not found) (http://code.google.com/p/credis/)
+#   libganglia  . . . . . no (gm_protocol.h not found) (http://ganglia.info/)
+#   libiokit  . . . . . . no (Darwin only)
 #   libjvm  . . . . . . . no (javac not found)
 #   libkstat  . . . . . . no (Solaris only)
-#   libkvm  . . . . . . . no
-#   libnetapp . . . . . . no (netapp_api.h not found)
-#   librouteros . . . . . no ('routeros_api.h' not found)
-#   libtokyotyrant  . . . no (tcrdb.h not found)
-#   libvirt . . . . . . . no (pkg-config doesn't know library)
+#   libkvm  . . . . . . . no (BSD only)
+#   libmodbus . . . . . . no (pkg-config doesn't know modbus) (http://www.libmodbus.org/)
+#   libnetapp . . . . . . no (netapp_api.h not found) (properitary)
+#   libperfstat . . . . . no (AIX only)
+#   librabbitmq . . . . . no (amqp.h not found) (http://hg.rabbitmq.com/rabbitmq-c/)
+#   librouteros . . . . . no ('routeros_api.h' not found) (http://verplant.org/librouteros/)
+#   libtokyotyrant  . . . no (tcrdb.h not found) (http://1978th.net/tokyotyrant/)
 #   libyajl . . . . . . . no (yajl/yajl_parse.h not found)
+#   protobuf-c  . . . . . no 
 #   oracle  . . . . . . . no (ORACLE_HOME is not set)
 # - Disabled modules (build most of them an package):
-#   apple_sensors . . . no             (obvious)
-#   ipvs  . . . . . . . no             (ip_vs.h not found - llh to be fixed)
-#   libvirt . . . . . . no             (requires library)
-#   multimeter  . . . . no             ?
-#   onewire . . . . . . no             (needs libowfs)
-#   tape  . . . . . . . no             ?
+#   amqp    . . . . . . . no
+#   apple_sensors . . . . no             (Darwin only)
 #   gmond . . . . . . . . no
+#   ipvs  . . . . . . . . no             (ip_vs.h not found - llh to be fixed)
 #   java  . . . . . . . . no
+#   lpar... . . . . . . . no
+#   modbus  . . . . . . . no
+#   multimeter  . . . . . no             ?
 #   netapp  . . . . . . . no
+#   onewire . . . . . . . no             (needs libowfs)
 #   oracle  . . . . . . . no
+#   pinba . . . . . . . . no
+#   redis . . . . . . . . no
 #   routeros  . . . . . . no
+#   tape  . . . . . . . . no             ?
 #   tokyotyrant . . . . . no
+#   write_redis . . . . . no
 #   zfs_arc . . . . . . . no
 # - logrotate file for logfile plugin
 # - %desc -l pl for plugins
@@ -41,6 +50,7 @@
 %bcond_without	ipmi		# IPMI plugin
 %bcond_without	iptables	# iptables plugin
 %bcond_without	libesmtp	# notify_email plugin
+%bcond_without	libvirt		# libvirt plugin
 %bcond_with	multimeter	# multimeter plugin
 %bcond_without	mysql		# MySQL plugin
 %bcond_without	netlink		# netlink plugin
@@ -59,7 +69,7 @@
 Summary(pl.UTF-8):	Zbieranie informacji o systemie w plikach RRD
 Name:		collectd
 Version:	5.0.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Daemons
 Source0:	http://collectd.org/files/%{name}-%{version}.tar.bz2
@@ -98,6 +108,7 @@
 %{?with_xml:BuildRequires:	libxml2-devel}
 %{?with_sensors:BuildRequires:	lm_sensors-devel}
 %{?with_mysql:BuildRequires:	mysql-devel}
+%{?with_libvirt:BuildRequires:	libvirt-devel}
 BuildRequires:	ncurses-devel
 %{?with_snmp:BuildRequires:	net-snmp-devel}
 %{?with_ups:BuildRequires:	nut-devel}
@@ -112,6 +123,7 @@
 BuildRequires:	which
 #BuildRequires:	xfsprogs-devel
 %{?with_xmms:BuildRequires:	xmms-devel}
+BuildRequires:	yajl-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -504,6 +516,21 @@
 The IRQ plugin collects the number of times each interrupt has been
 handled by the operating system.
 
+%package libvirt
+Summary:	libvirt-plugin for collectd
+Summary(pl.UTF-8):	Wtyczka libvirt dla collectd
+Group:		Daemons
+Requires:	%{name} = %{version}-%{release}
+
+%description libvirt
+The libvirt plugin uses the virtualization API libvirt, created by
+RedHat's Emerging Technology group, to gather statistics about
+virtualized guests on a system. This way, you can collect CPU, network
+interface and block device usage for each guest without installing
+collectd on the guest systems. Because the statistics are received
+from the hypervisor directly, this works not only with
+para-virtualized hosts, but with hardware virtualized machines, too.
+
 %package load
 Summary:	load-plugin for collectd
 Summary(pl.UTF-8):	Wtyczka load dla collectd
@@ -1197,6 +1224,7 @@
 	%{__enable_disable netlink} \
 	%{__enable_disable notify notify_desktop} \
 	%{__enable_disable libesmtp notify_email} \
+	%{__enable_disable libvirt} \
 	%{__enable_disable ups nut} \
 	%{__enable_disable ping} \
 	%{__enable_disable pgsql postgresql} \
@@ -1213,7 +1241,6 @@
 	%{__disable curl bind} \
 	%{__disable xml ascent} \
 	%{__disable xml bind} \
-	--disable-libvirt \
 	--disable-ipvs
 
 
@@ -1308,6 +1335,7 @@
 %module_scripts ipmi
 %module_scripts iptables
 %module_scripts irq
+%module_scripts libvirt
 %module_scripts load
 %module_scripts logfile
 %module_scripts madwifi
@@ -1597,6 +1625,11 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/irq.conf
 %attr(755,root,root) %{_libdir}/%{name}/irq.so
 
+%files libvirt
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/libvirt.conf
+%attr(755,root,root) %{_libdir}/%{name}/libvirt.so
+
 %files load
 %defattr(644,root,root,755)
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.d/load.conf
@@ -1940,6 +1973,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2011/08/15 20:34:37  wiget
+- update TODO notes
+- build libvirt plugin
+- rel. 2
+
 Revision 1.101  2011/08/15 19:24:12  wiget
 - fix building iptables plugin
 - build curl_json, rrdcached, target_v5upgrade, varnish, threshold, perl plugins
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/collectd/collectd.spec?r1=1.101&r2=1.102&f=u



More information about the pld-cvs-commit mailing list