Fix wrong command being rendered for passive service check results

refs #6854
This commit is contained in:
Johannes Meyer 2014-12-11 15:53:12 +01:00
parent ddc121d1cc
commit abfef2cc11
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class IcingaCommandFileCommandRenderer implements IcingaCommandRendererInterface
} else {
/** @var \Icinga\Module\Monitoring\Object\Service $object */
$commandString = sprintf(
'PROCESS_SVC_CHECK_RESULT;%s;%s',
'PROCESS_SERVICE_CHECK_RESULT;%s;%s',
$object->getHost()->getName(),
$object->getName()
);