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.
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
# usermod -G -a icingacmd www-data
-
-
+
+
### External Command List
A list of currently supported external commands can be found on the