Fix wrong command being rendered for passive service check results
refs #6854
This commit is contained in:
parent
ddc121d1cc
commit
abfef2cc11
|
@ -126,7 +126,7 @@ class IcingaCommandFileCommandRenderer implements IcingaCommandRendererInterface
|
||||||
} else {
|
} else {
|
||||||
/** @var \Icinga\Module\Monitoring\Object\Service $object */
|
/** @var \Icinga\Module\Monitoring\Object\Service $object */
|
||||||
$commandString = sprintf(
|
$commandString = sprintf(
|
||||||
'PROCESS_SVC_CHECK_RESULT;%s;%s',
|
'PROCESS_SERVICE_CHECK_RESULT;%s;%s',
|
||||||
$object->getHost()->getName(),
|
$object->getHost()->getName(),
|
||||||
$object->getName()
|
$object->getName()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue