diff options
author | Harald Jenny <haraldj@users.noreply.github.com> | 2021-07-05 10:29:09 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2021-10-25 16:28:15 +0200 |
commit | a08215368e5f9dc0164fcce9f5591c5310fdeb8c (patch) | |
tree | 5de77a28bc016a404ffa0a39baab672718a7bc41 | |
parent | a96161c824f7f97830f4aa4daa166013961d55f1 (diff) | |
download | monitoring-plugins-a08215368e5f9dc0164fcce9f5591c5310fdeb8c.tar.gz |
Create check_load.c
just a cosmetic fix so the load plugin display a LOAD prefix before check results
-rw-r--r-- | plugins/check_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c index bf7b94b4..0e4de54e 100644 --- a/plugins/check_load.c +++ b/plugins/check_load.c @@ -209,7 +209,7 @@ main (int argc, char **argv) else if(la[i] > wload[i]) result = STATE_WARNING; } - printf("%s - %s|", state_text(result), status_line); + printf("LOAD %s - %s|", state_text(result), status_line); for(i = 0; i < 3; i++) printf("load%d=%.3f;%.3f;%.3f;0; ", nums[i], la[i], wload[i], cload[i]); |