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:
parent
8fbe0ebe27
commit
cbfa6b4578
10 changed files with 60 additions and 5 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue