[monitoring-plugins] Add more documentation to the help page of ...
RincewindsHat
git at monitoring-plugins.org
Wed Aug 28 10:30:11 CEST 2024
Module: monitoring-plugins
Branch: master
Commit: c862f705f393c89c78d63a10a66b5abe1d2d432e
Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
Date: Tue May 21 13:59:45 2024 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c862f70
Add more documentation to the help page of check_snmp regarding authentication and privacy options
---
plugins/check_snmp.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 295aa9b..898b6ab 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -1253,10 +1253,12 @@ print_help (void)
printf (" %s\n", _("SNMPv3 context"));
printf (" %s\n", "-L, --seclevel=[noAuthNoPriv|authNoPriv|authPriv]");
printf (" %s\n", _("SNMPv3 securityLevel"));
- printf (" %s\n", "-a, --authproto=[MD5|SHA]");
- printf (" %s\n", _("SNMPv3 auth proto"));
- printf (" %s\n", "-x, --privproto=[DES|AES]");
- printf (" %s\n", _("SNMPv3 priv proto (default DES)"));
+ printf (" %s\n", "-a, --authproto=AUTHENTICATION_PROTOCOL");
+ printf (" %s\n", _("SNMPv3 authentication protocol (default MD5), available options depend on the specific version of the net-snmp tools"));
+ printf (" %s\n", _("if < 5.8 SHA (1) and MD5 should be available, if >= 5.8 additionaly SHA-224, SHA-256, SHA-384 and SHA-512"));
+ printf (" %s\n", "-x, --privproto=PRIVACY_PROTOCOL");
+ printf (" %s\n", _("SNMPv3 privacy protocol (default DES), available options depend on the specific version of the net-snmp tools"));
+ printf (" %s\n", _("if < 5.8 DES and AES should be available, if >= 5.8 additionaly AES-192 and AES-256"));
/* Authentication Tokens*/
printf (" %s\n", "-C, --community=STRING");
More information about the Commits
mailing list