mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-07-15 19:52:58 -04:00
check_swap: implement ok summary
This commit is contained in:
parent
793f218d10
commit
649b201568
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,9 @@ int main(int argc, char **argv) {
|
|||
|
||||
double percent_used;
|
||||
mp_check overall = mp_check_init();
|
||||
|
||||
mp_set_ok_summary(&overall, "Swap check is OK");
|
||||
|
||||
if (config.output_format_is_set) {
|
||||
mp_set_format(config.output_format);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue