mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 14:46:57 -04:00
Create check_load.c
just a cosmetic fix so the load plugin display a LOAD prefix before check results
This commit is contained in:
parent
a96161c824
commit
a08215368e
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue