Skip to content

Commit

Permalink
bugfix: add info check result mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhilton committed Sep 15, 2024
1 parent c8b7def commit 4e637cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ private static function process_check_and_get_result(check $check): resultmessag
// Map check result to nagios level.
$map = [
result::OK => resultmessage::LEVEL_OK,
result::INFO => resultmessage::LEVEL_OK,
result::NA => resultmessage::LEVEL_OK,
result::WARNING => resultmessage::LEVEL_WARN,
result::CRITICAL => resultmessage::LEVEL_CRITICAL,
Expand Down

0 comments on commit 4e637cf

Please sign in to comment.