1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

support warning and critical environment variables

Like the mainline plugins do.
This commit is contained in:
Helmut Grohne 2013-01-30 12:14:28 +01:00
parent 8fbe0ebe27
commit cbfa6b4578
10 changed files with 60 additions and 5 deletions

View file

@ -19,7 +19,8 @@ int open_inodes(int argc, char **argv) {
"used.info The number of currently open inodes.\n"
"max.label inode table size\n"
"max.info The size of the system inode table. This is dynamically adjusted by the kernel.");
print_warncrit("used");
print_warncrit("max");
return 0;
}
if(!strcmp(argv[1], "autoconf")) {