Révision cbfa6b45
support warning and critical environment variables
Like the mainline plugins do.
| tools/munin-plugins-busybox/open_inodes.c | ||
|---|---|---|
| 19 | 19 |
"used.info The number of currently open inodes.\n" |
| 20 | 20 |
"max.label inode table size\n" |
| 21 | 21 |
"max.info The size of the system inode table. This is dynamically adjusted by the kernel."); |
| 22 |
|
|
| 22 |
print_warncrit("used");
|
|
| 23 |
print_warncrit("max");
|
|
| 23 | 24 |
return 0; |
| 24 | 25 |
} |
| 25 | 26 |
if(!strcmp(argv[1], "autoconf")) {
|
Formats disponibles : Unified diff