1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-23 06:35:42 +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

@ -17,6 +17,7 @@ int entropy(int argc, char **argv) {
"graph_info This graph shows the amount of entropy available in the system.\n"
"entropy.label entropy\n"
"entropy.info The number of random bytes available. This is typically used by cryptographic applications.");
print_warncrit("entropy");
return 0;
}
if(!strcmp(argv[1], "autoconf"))