Update documentation.

This commit is contained in:
Michael Friedrich 2013-10-31 16:42:08 +01:00
parent 2af130b06f
commit 060e772ce3
1 changed files with 8 additions and 8 deletions

View File

@ -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