mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-30 00:54:30 +02:00
parent
ed2d4e627c
commit
1728095c53
@ -243,7 +243,7 @@ void ExternalCommandProcessor::ProcessHostCheckResult(double time, const std::ve
|
|||||||
else if (exitStatus == 1)
|
else if (exitStatus == 1)
|
||||||
state = StateCritical;
|
state = StateCritical;
|
||||||
else
|
else
|
||||||
BOOST_THROW_EXCEPTION(std::invalid_argument("Invalid status code: " + arguments[2]));
|
BOOST_THROW_EXCEPTION(std::invalid_argument("Invalid status code: " + arguments[1]));
|
||||||
|
|
||||||
result->SetState(state);
|
result->SetState(state);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user