]> granicus.if.org Git - icinga2/commitdiff
cluster: Add log message to config handler.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 26 Sep 2013 07:39:09 +0000 (09:39 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 26 Sep 2013 07:39:09 +0000 (09:39 +0200)
components/cluster/clusterlistener.cpp
doc/3.3-object-types.md
doc/mkdoc.sh

index c3f4459da6410f369879d150b51833eb8244b772..147ceb56fc1a640bfbf59755a03b4b2f21bed5c3 100644 (file)
@@ -566,6 +566,8 @@ void ClusterListener::NewClientHandler(const Socket::Ptr& client, TlsRole role)
                }
        }
 
+       Log(LogInformation, "cluster", "Sending " + Convert::ToString(config->GetLength()) + " config files to endpoint '" + endpoint->GetName());
+
        Dictionary::Ptr params = boost::make_shared<Dictionary>();
        params->Set("identity", GetIdentity());
        params->Set("config_files", config);
index 45af77edc8d79c11f98f3fe3b0899cfa40569f42..8550065a233805ae91f4620bb50edf1f525105ed 100644 (file)
@@ -16,6 +16,7 @@ Attributes:
 
   ----------------|----------------
   severity        |**Optional.** The minimum severity for this log. Can be "debug", "information", "warning" or "critical". Defaults to "information".
+  ----------------|----------------
 
 FileLogger
 ----------
@@ -560,4 +561,4 @@ Attributes:
   node            |**Required.** The hostname/IP address of the remote Icinga 2 instance.
   service         |**Required.** The service name/port of the remote Icinga 2 instance.
   config\_files   |TODO
-  accept\_config  |TODO
\ No newline at end of file
+  accept\_config  |TODO
index 1e4e05dc58c229757bff8261cbf92e9e09d09100..28358a0ab73d96b3a1315bcd559f3146bab8ed1b 100755 (executable)
@@ -1,2 +1,19 @@
 #!/bin/sh
-pandoc -f markdown_mmd *.md -o icinga2.pdf
+cd -- `dirname $0`
+cat <<HTML
+<!DOCTYPE html>
+<html>
+<xmp theme="united" style="display:none;">
+HTML
+
+for file in *.md; do
+       cat $file
+       echo
+done
+
+cat <<HTML
+</xmp>
+
+<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script>
+</html>
+HTML