1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-28 11:54:52 +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

@ -18,6 +18,7 @@ int forks(int argc, char **argv) {
"forks.min 0\n"
"forks.max 100000\n"
"forks.info The number of forks per second.");
print_warncrit("forks");
return 0;
}
if(!strcmp(argv[1], "autoconf")) {