summaryrefslogtreecommitdiffstats
path: root/plugins/check_snmp.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-05-21 11:59:45 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2024-05-21 11:59:45 (GMT)
commitc862f705f393c89c78d63a10a66b5abe1d2d432e (patch)
treeda29a3ed0255ede160303605a24d8870ba9598da /plugins/check_snmp.c
parent3deea4cc630d9442b8e5f18c50c5929e7e61333b (diff)
downloadmonitoring-plugins-c862f705f393c89c78d63a10a66b5abe1d2d432e.tar.gz
Add more documentation to the help page of check_snmp regarding authentication and privacy options
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r--plugins/check_snmp.c10
1 files 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)
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 additionaly 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 additionaly 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");