From: Michael Friedrich Date: Thu, 31 Oct 2013 15:42:08 +0000 (+0100) Subject: Update documentation. X-Git-Tag: v0.0.4~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=060e772ce3fc93442eb2a18e9501a85a87f14002;p=icinga2 Update documentation. --- diff --git a/doc/3.08-external-commands.md b/doc/3.08-external-commands.md index b4ceb6157..6f560290f 100644 --- a/doc/3.08-external-commands.md +++ b/doc/3.08-external-commands.md @@ -8,7 +8,7 @@ In order to enable the `ExternalCommandListener` configuration use the following command and restart Icinga 2 afterwards: # icinga2-enable-feature command - + Icinga 2 creates the command pipe file as `/var/run/icinga2/cmd/icinga2.cmd` using the default configuration. @@ -17,12 +17,12 @@ Icinga 2 through the external command pipe, for example for rescheduling a forced service check: # /bin/echo "[`date +%s`] SCHEDULE_FORCED_SVC_CHECK;localhost;ping4;`date +%s`" >> /var/run/icinga2/cmd/icinga2.cmd - + # tail -f /var/log/messages - - Oct 17 15:01:25 nbmif icinga2: Executing external command: [1382014885] SCHEDULE_FORCED_SVC_CHECK;localhost;ping4;1382014885 - Oct 17 15:01:25 nbmif icinga2: Rescheduling next check for service 'ping4' - + + Oct 17 15:01:25 icinga-server icinga2: Executing external command: [1382014885] SCHEDULE_FORCED_SVC_CHECK;localhost;ping4;1382014885 + Oct 17 15:01:25 icinga-server icinga2: Rescheduling next check for service 'ping4' + > **Note** > > The command pipe file is owned by the group `icingacmd` with read/write @@ -31,8 +31,8 @@ a forced service check: # usermod -G -a icingacmd www-data - - + + ### External Command List A list of currently supported external commands can be found on the