mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Update documentation.
This commit is contained in:
parent
2af130b06f
commit
060e772ce3
@ -8,7 +8,7 @@ In order to enable the `ExternalCommandListener` configuration use the
|
|||||||
following command and restart Icinga 2 afterwards:
|
following command and restart Icinga 2 afterwards:
|
||||||
|
|
||||||
# icinga2-enable-feature command
|
# icinga2-enable-feature command
|
||||||
|
|
||||||
Icinga 2 creates the command pipe file as `/var/run/icinga2/cmd/icinga2.cmd`
|
Icinga 2 creates the command pipe file as `/var/run/icinga2/cmd/icinga2.cmd`
|
||||||
using the default configuration.
|
using the default configuration.
|
||||||
|
|
||||||
@ -17,12 +17,12 @@ Icinga 2 through the external command pipe, for example for rescheduling
|
|||||||
a forced service check:
|
a forced service check:
|
||||||
|
|
||||||
# /bin/echo "[`date +%s`] SCHEDULE_FORCED_SVC_CHECK;localhost;ping4;`date +%s`" >> /var/run/icinga2/cmd/icinga2.cmd
|
# /bin/echo "[`date +%s`] SCHEDULE_FORCED_SVC_CHECK;localhost;ping4;`date +%s`" >> /var/run/icinga2/cmd/icinga2.cmd
|
||||||
|
|
||||||
# tail -f /var/log/messages
|
# 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 icinga-server 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: Rescheduling next check for service 'ping4'
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
> The command pipe file is owned by the group `icingacmd` with read/write
|
> 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
|
# usermod -G -a icingacmd www-data
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### External Command List
|
### External Command List
|
||||||
|
|
||||||
A list of currently supported external commands can be found on the
|
A list of currently supported external commands can be found on the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user