dnl Process this file with autoconf to produce a configure script.
-AC_INIT(collectd, 3.5.alpha2)
+AC_INIT(collectd, 3.5.0)
AC_CONFIG_SRCDIR(src/collectd.c)
AC_CONFIG_HEADERS(src/config.h)
AM_INIT_AUTOMAKE(dist-bzip2)
collectd (3.5.0-1) unstable; urgency=low
* New upstream version
+ * Added dependency to `cpufreqd | powernowd | cpudyn' to `collectd-cpufreq'
+ * Added `collectd-users'
+ * Added `--localstatedir=/var' to `./configure'
- -- Florian Forster <octo@verplant.org> Wed, 07 Dec 2005 11:50:17 +0200
+ -- Florian Forster <octo@verplant.org> Fri, 16 Dec 2005 13:06:43 +0200
collectd (3.4.0-1) unstable; urgency=low
}
#endif /* HAVE_LIBRRD */
-int pidfile_create (void)
+int pidfile_create (char *file)
{
FILE *fh;
- if ((fh = fopen (PIDFILE, "w")) == NULL)
+ if (file == NULL)
+ file = PIDFILE;
+
+ if ((fh = fopen (file, "w")) == NULL)
{
- syslog (LOG_ERR, "fopen (pidfile): %s", strerror (errno));
+ syslog (LOG_ERR, "fopen (%s): %s", file, strerror (errno));
return (1);
}
setsid ();
/* Write pidfile */
- if (pidfile_create ())
+ if (pidfile_create (pidfile))
exit (2);
/* close standard descriptors */
=over 4
+=item B<-l>
+
+Start in local mode. This is the default. No data will be sent or read to/from
+the network. Information will be read and written by the same process. See
+L<"MODES">.
+
=item B<-c>
Start in client (transmitter) mode. Data will be sent to the multicast group.
See L<"MODES">.
-=item B<-d> I<E<lt>directoryE<gt>>
+=item B<-s>
+
+Start in server (receiver) mode. Data sent to the multicast group will be read
+and stored in RRD files. See L<"MODES">.
+
+=item B<-f>
+
+Don't fork to the background. I<collectd> will also B<not> close standard file
+descriptors, detach from the session nor write a pid file. This is mainly
+thought for 'supervisioning' init replacements such as I<runit>.
+
+=item B<-D> I<E<lt>directoryE<gt>>
Sets the directory collectd should work in. All F<.rrd>-files are created in
this directory. Per default this is F</var/lib/collectd/>.
-=item B<-P> I<E<lt>directoryE<gt>>
+=item B<-M> I<E<lt>directoryE<gt>>
Sets the directory collectd should look for plugins in. Per default this is
F</usr/lib/collectd>.
-=item B<-f>
+=item B<-P> I<E<lt>fileE<gt>>
-Don't fork to the background. I<collectd> will also B<not> close standard file
-descriptors, detach from the session nor write a pid file. This is mainly
-thought for 'supervisioning' init replacements such as I<runit>.
+Sets the PID-file.
=item B<-h>
Output usage information and exit.
-=item B<-l>
-
-Start in local mode. This is the default. No data will be sent or read to/from
-the network. Information will be read and written by the same process. See
-L<"MODES">.
-
=item B<-p> I<E<lt>hostE<gt>>
Sets the host to ping periodically. This option may be given more than once to
ping multiple hosts. If this option is not given at least once no host will be
pinged.
-=item B<-s>
-
-Start in server (receiver) mode. Data sent to the multicast group will be read
-and stored in RRD files. See L<"MODES">.
-
=back
=head1 RRD FILES