summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2ba56a)
raw | patch | inline | side by side (parent: a2ba56a)
author | octo <octo> | |
Mon, 30 Jan 2006 20:26:56 +0000 (20:26 +0000) | ||
committer | octo <octo> | |
Mon, 30 Jan 2006 20:26:56 +0000 (20:26 +0000) |
Updated `collectd.conf(5)': Added `MulticastTTL' option
Added note about new network code to `ChangeLog'
Added note about new network code to `ChangeLog'
ChangeLog | patch | blob | history | |
collectd.spec | patch | blob | history | |
configure.in | patch | blob | history | |
debian/changelog | patch | blob | history | |
src/collectd.conf.pod | patch | blob | history | |
src/hddtemp.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index f592a63aa42e5e9cea981dbc1ce7bdbec3d67120..eecef0fa420f34b9f223aea6be554638ab94967a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
-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
diff --git a/collectd.spec b/collectd.spec
index ba2e144870f7c769aabfef17d0e2f0118f433d29..ef98eecf28d25306e0dccbc755686289d19c7e58 100644 (file)
--- a/collectd.spec
+++ b/collectd.spec
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
diff --git a/configure.in b/configure.in
index 6937227e91b630fe0c0c977c19c247ffe5fb8ba4..368494689eb0dd0140f95f8f36481af0a5cfa3b6 100644 (file)
--- a/configure.in
+++ b/configure.in
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(collectd, 3.7.alpha2)
+AC_INIT(collectd, 3.7.0)
AC_CONFIG_SRCDIR(src/collectd.c)
AC_CONFIG_HEADERS(src/config.h)
AM_INIT_AUTOMAKE(dist-bzip2)
diff --git a/debian/changelog b/debian/changelog
index eaaf3a869e920393d2616dbf3b6878094ee1afd3..94e8607798826a8cf95dd016ef48f3ed4752557c 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* New upstream version
* Removed package `collectd-hddtemp'
- -- Florian Forster <octo@verplant.org> Thu, 26 Jan 2006 10:34:17 +0200
+ -- Florian Forster <octo@verplant.org> Mon, 30 Jan 2006 21:19:19 +0200
+
+collectd (3.6.2-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Florian Forster <octo@verplant.org> Tue, 24 Jan 2006 10:48:22 +0200
collectd (3.6.1-1) unstable; urgency=low
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 8880085326bbd4bab6c9f752ae535ba85516cfa8..dfbe1eabf1a79548c305163bb20135fddc138849 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
using a numeric port number or a service name. If the argument is omited the
default port B<25826> is assumed.
+=item B<MulticastTTL> I<1-255>
+
+Set the time-to-live of multicast packets. The default is a TTL of C<1>.
+
=back
=head1 PLUGIN OPTIONS
diff --git a/src/hddtemp.c b/src/hddtemp.c
index bea7edf102d891fd11daa81a95a6838ab5df57cd..9d272f5435d9d816beff17c35afb228baa3feaf7 100644 (file)
--- a/src/hddtemp.c
+++ b/src/hddtemp.c
#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)
{