diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-08-28 10:21:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 10:21:12 +0200 |
commit | 2b8b66d41e5c077a1b127a453b8373f05c56e51d (patch) | |
tree | ac3f297dd1f845b9ef1de83b5075896b181ab2cb /plugins/check_snmp.c | |
parent | f49074e802145a6a0d5cc1a24fd3d355944af5d5 (diff) | |
parent | 26a979284d1e05447523ef5153a7bd373571b97e (diff) | |
download | monitoring-plugins-2b8b66d.tar.gz |
Merge pull request #2001 from RincewindsHat/check_snmp_protocoll_documentation
Add more documentation to the help page of check_snmp regarding authe…
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 295aa9b5..937b3a5d 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -1253,10 +1253,12 @@ print_help (void) | |||
1253 | printf (" %s\n", _("SNMPv3 context")); | 1253 | printf (" %s\n", _("SNMPv3 context")); |
1254 | printf (" %s\n", "-L, --seclevel=[noAuthNoPriv|authNoPriv|authPriv]"); | 1254 | printf (" %s\n", "-L, --seclevel=[noAuthNoPriv|authNoPriv|authPriv]"); |
1255 | printf (" %s\n", _("SNMPv3 securityLevel")); | 1255 | printf (" %s\n", _("SNMPv3 securityLevel")); |
1256 | printf (" %s\n", "-a, --authproto=[MD5|SHA]"); | 1256 | printf (" %s\n", "-a, --authproto=AUTHENTICATION_PROTOCOL"); |
1257 | printf (" %s\n", _("SNMPv3 auth proto")); | 1257 | printf (" %s\n", _("SNMPv3 authentication protocol (default MD5), available options depend on the specific version of the net-snmp tools")); |
1258 | printf (" %s\n", "-x, --privproto=[DES|AES]"); | 1258 | printf (" %s\n", _("if < 5.8 SHA (1) and MD5 should be available, if >= 5.8 additionally SHA-224, SHA-256, SHA-384 and SHA-512")); |
1259 | printf (" %s\n", _("SNMPv3 priv proto (default DES)")); | 1259 | printf (" %s\n", "-x, --privproto=PRIVACY_PROTOCOL"); |
1260 | printf (" %s\n", _("SNMPv3 privacy protocol (default DES), available options depend on the specific version of the net-snmp tools")); | ||
1261 | printf (" %s\n", _("if < 5.8 DES and AES should be available, if >= 5.8 additionally AES-192 and AES-256")); | ||
1260 | 1262 | ||
1261 | /* Authentication Tokens*/ | 1263 | /* Authentication Tokens*/ |
1262 | printf (" %s\n", "-C, --community=STRING"); | 1264 | printf (" %s\n", "-C, --community=STRING"); |