Révision cbfa6b45
support warning and critical environment variables
Like the mainline plugins do.
| tools/munin-plugins-busybox/swap.c | ||
|---|---|---|
| 23 | 23 |
"swap_out.max 100000\n" |
| 24 | 24 |
"swap_out.min 0\n" |
| 25 | 25 |
"swap_out.negative swap_in"); |
| 26 |
|
|
| 26 |
print_warncrit("swap_in");
|
|
| 27 |
print_warncrit("swap_out");
|
|
| 27 | 28 |
return 0; |
| 28 | 29 |
} |
| 29 | 30 |
if(!strcmp(argv[1], "autoconf")) {
|
Formats disponibles : Unified diff