Révision cbfa6b45
support warning and critical environment variables
Like the mainline plugins do.
| tools/munin-plugins-busybox/entropy.c | ||
|---|---|---|
| 17 | 17 |
"graph_info This graph shows the amount of entropy available in the system.\n" |
| 18 | 18 |
"entropy.label entropy\n" |
| 19 | 19 |
"entropy.info The number of random bytes available. This is typically used by cryptographic applications."); |
| 20 |
print_warncrit("entropy");
|
|
| 20 | 21 |
return 0; |
| 21 | 22 |
} |
| 22 | 23 |
if(!strcmp(argv[1], "autoconf")) |
Formats disponibles : Unified diff