-2006-01-28, Version 3.7.0
+2006-01-30, Version 3.7.0
* The `battery' plugin has been added. It collects information about
laptop batteries..
* The MySQL plugin has been improved: It now writes two more RRD
* The `hddtemp' plugin can now be configured to connect to another
address and/or port than localhost.
* The `df' plugin now prefers `statvfs' over `statfs'.
+ * The network code has been rewritten. collectd now supports unicast
+ and multicast, and IPv4 and IPv6. Also, the TTL of multicast packets
+ can be set in the configfile.
2006-01-24, Version 3.6.2
* Due to a bug in the configfile handling collectd wouldn't start in
Summary: Statistics collection daemon for filling RRD files.
Name: collectd
-Version: 3.6.1
+Version: 3.7.0
Release: 1
Source: http://verplant.org/collectd/%{name}-%{version}.tar.gz
License: GPL
files it's very fast and easy on the system. Also, the statistics are very
fine grained since the files are updated every 10 seconds.
-%package hddtemp
-Summary: hddtemp-module for collectd.
-Group: System Environment/Daemons
-Requires: collectd = %{version}, hddtemp >= 0.3
-%description hddtemp
-This plugin for collectd provides querying the hddtemp-daemon. For more
-information see hddtemp's homepage: http://www.guzu.net/linux/hddtemp.php
-
%package mysql
Summary: mysql-module for collectd.
Group: System Environment/Daemons
%attr(0755,root,root) %{_sbindir}/collectd
%attr(0444,root,root) %{_mandir}/man1/*
%attr(0444,root,root) %{_mandir}/man5/*
+%attr(0444,root,root) %{_libdir}/%{name}/battery.so*
%attr(0444,root,root) %{_libdir}/%{name}/cpu.so*
%attr(0444,root,root) %{_libdir}/%{name}/cpufreq.so*
%attr(0444,root,root) %{_libdir}/%{name}/df.so*
%attr(0444,root,root) %{_libdir}/%{name}/disk.so*
+%attr(0444,root,root) %{_libdir}/%{name}/hddtemp.so*
%attr(0444,root,root) %{_libdir}/%{name}/load.so*
%attr(0444,root,root) %{_libdir}/%{name}/memory.so*
%attr(0444,root,root) %{_libdir}/%{name}/nfs.so*
%attr(0444,root,root) %{_libdir}/%{name}/users.so*
%dir /var/lib/collectd
-%files hddtemp
-%attr(0444,root,root) %{_libdir}/%{name}/hddtemp.so*
-
%files mysql
%attr(0444,root,root) %{_libdir}/%{name}/mysql.so*
%attr(0444,root,root) %{_libdir}/%{name}/sensors.so*
%changelog
+* Mon Jan 30 2006 Florian octo Forster <octo@verplant.org> 3.7.0-1
+- New upstream version
+- Removed the extra `hddtemp' package
+
+* Tue Jan 24 2006 Florian octo Forster <octo@verplant.org> 3.6.2-1
+- New upstream version
+
* Fri Jan 20 2006 Florian octo Forster <octo@verplant.org> 3.6.1-1
- New upstream version
#include <netinet/tcp.h>
#include <libgen.h> /* for basename */
-#if 0
-/* LOCALHOST_ADDR
- The ip address 127.0.0.1, as a 32 bit. */
-#define LOCALHOST_ADDR 0x7F000001
-
-/* HDDTEMP_PORT
- The tcp port the hddtemp daemon is listening on. */
-#define HDDTEMP_PORT 7634
-#endif
-
#define HDDTEMP_DEF_HOST "127.0.0.1"
#define HDDTEMP_DEF_PORT "7634"
*
* FIXME:
* we need to create a new socket each time. Is there another way?
+ * Hm, maybe we can re-use the `sockaddr' structure? -octo
*/
static int hddtemp_query_daemon (char *buffer, int buffer_size)
{