mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-07-06 23:51:46 -04:00
check_disk: implement ok summary
This commit is contained in:
parent
c09b1346ca
commit
151266ef4e
1 changed files with 3 additions and 0 deletions
|
|
@ -162,6 +162,9 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
mp_check overall = mp_check_init();
|
||||
|
||||
mp_set_ok_summary(&overall, "Filesystem checks succeeded");
|
||||
|
||||
if (config.path_select_list.length == 0) {
|
||||
mp_subcheck none_sc = mp_subcheck_init();
|
||||
xasprintf(&none_sc.output, "No filesystems were found for the provided parameters");
|
||||
|
|
|
|||
Loading…
Reference in a new issue