MDL-87648 router: Add check report data for router configuration

This commit is contained in:
Andrew Nicols
2026-01-22 11:26:06 +08:00
parent ba68156c83
commit 55ab5d6758
10 changed files with 349 additions and 2 deletions
+2 -2
View File
@@ -142,7 +142,8 @@ foreach ($checks as $check) {
);
$summary = str_replace("\n", "\n" . $prefix . ' ', $summary);
$output .= sprintf( $format, '', ' ' . $summary);
$output .= sprintf($format, '', ' ' . $summary);
$output .= sprintf($format, '', ' ' . html_to_text($result->get_details(), width: 0, dolinks: false));
if ($options['verbose']) {
$actionlink = $check->get_action_link();
@@ -168,4 +169,3 @@ if ($output) {
// NRPE shell exit code.
exit($exitcode);