{GPL, other}: Relicense to MIT license.
[collectd.git] / src / collectdmon.pod
1 =encoding UTF-8
2
3 =head1 NAME
4
5 collectdmon - Monitoring daemon for collectd
6
7 =head1 SYNOPSIS
8
9 collectdmon I<[options]> [-- I<collectd options>]
10
11 =head1 DESCRIPTION
12
13 collectdmon is a small "wrapper" daemon which starts and monitors the collectd
14 daemon. If collectd terminates it will automatically be restarted, unless
15 collectdmon was told to shut it down.
16
17 =head1 OPTIONS
18
19 collectdmon supports the following options:
20
21 =over 4
22
23 =item B<-c> I<E<lt>pathE<gt>>
24
25 Specify the pathname of the collectd binary. You may either specify an
26 absolute path or simply the name of the binary in which case the B<PATH>
27 variable will be searched for it. The default is "B<collectd>".
28
29 =item B<-P> I<E<lt>pid-fileE<gt>>
30
31 Specify the pid file. The default is "I</var/run/collectdmon.pid>".
32
33 =item B<-h>
34
35 Output usage information and exit.
36
37 =item I<collectd options>
38
39 Specify options that are passed on to collectd. If it is not already included,
40 B<-f> will be added to these options. See L<collectd(1)>.
41
42 =back
43
44 =head1 SIGNALS
45
46 B<collectdmon> accepts the following signals:
47
48 =over 4
49
50 =item B<SIGINT>, B<SIGTERM>
51
52 These signals cause B<collectdmon> to terminate B<collectd>, wait for its
53 termination and then shut down.
54
55 =item B<SIGHUP>
56
57 This signal causes B<collectdmon> to terminate B<collectd>, wait for its
58 termination and then restart it.
59
60 =back
61
62 =head1 SEE ALSO
63
64 L<collectd(1)>,
65 L<collectd.conf(5)>,
66 L<http://collectd.org/>
67
68 =head1 AUTHOR
69
70 collectd has been written by Florian Forster E<lt>octo at collectd.orgE<gt>
71 and many contributors (see `AUTHORS').
72
73 collectdmon has been written by Sebastian Harl E<lt>sh@tokkee.orgE<gt>.
74
75 =cut