author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 9 Feb 2016 22:27:29 +0000 (23:27 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 9 Feb 2016 22:27:29 +0000 (23:27 +0100) |
1 | 2 | |||
---|---|---|---|---|
contrib/redhat/collectd.spec | patch | | diff1 | | diff2 | | blob | history |
src/collectd.conf.pod | patch | | diff1 | | diff2 | | blob | history |
src/daemon/plugin.c | patch | | diff1 | | diff2 | | blob | history |
src/daemon/utils_ignorelist.c | patch | | diff1 | | diff2 | | blob | history |
src/processes.c | patch | | diff1 | | diff2 | | blob | history |
src/write_sensu.c | patch | | diff1 | | diff2 | | blob | history |
version-gen.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc contrib/redhat/collectd.spec
Simple merge
diff --cc src/collectd.conf.pod
index fde349314729b9273c4185c8b78dc05f6a63202a,0eabec7f2bd56e5a8bf7f6a523ce8051a292cd77..6a94edc49cc4b2a8f082c4258cac1750a4996a6c
+++ b/src/collectd.conf.pod
=back
+=head2 Plugin C<notify_nagios>
+
+The I<notify_nagios> plugin writes notifications to Nagios' I<command file> as
+a I<passive service check result>.
+
+Available configuration options:
+
+=over 4
+
+=item B<CommandFile> I<Path>
+
+Sets the I<command file> to write to. Defaults to F</usr/local/nagios/var/rw/nagios.cmd>.
+
+=back
+
=head2 Plugin C<ntpd>
+ The C<ntpd> plugin collects per-peer ntpd data such as time offset and time
+ dispersion.
+
+ For talking to B<ntpd>, it mimics what the B<ntpdc> control program does on
+ wire - using B<mode 7> specific requests. This mode is deprecated with
+ newer B<ntpd> releases (4.2.7p230 and later). For the C<ntpd> plugin to work
+ correctly with them, the ntp daemon must be explicitly configured to
+ enable B<mode 7> (which is disabled by default). Refer to the I<ntp.conf(5)>
+ manual page for details.
+
+ Available configuration options for the C<ntpd> plugin:
+
=over 4
=item B<Host> I<Hostname>
diff --cc src/daemon/plugin.c
Simple merge
diff --cc src/daemon/utils_ignorelist.c
Simple merge
diff --cc src/processes.c
Simple merge
diff --cc src/write_sensu.c
Simple merge
diff --cc version-gen.sh
index 493a6ebfb26c71580c87c2d62a631c6af4228ea4,e0ad124e237e063416099a588ada8fc4158e7d44..d7c6a7655e28fd5e311a08a2911ddd4ddb1a773a
--- 1/version-gen.sh
--- 2/version-gen.sh
+++ b/version-gen.sh
#!/bin/sh
- DEFAULT_VERSION="5.5.0.git"
+ DEFAULT_VERSION="5.5.1.git"
-VERSION="`git describe 2> /dev/null | grep collectd | sed -e 's/^collectd-//'`"
+if [ -d .git ]; then
+ VERSION="`git describe --dirty=+ --abbrev=7 2> /dev/null | grep collectd | sed -e 's/^collectd-//' -e 's/-/./g'`"
+fi
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"