mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 17:20:05 -04:00
check_snmp: Put all privproto/authproto options into help (#2261)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
This commit is contained in:
parent
1eace3a997
commit
1211edf2ea
1 changed files with 3 additions and 3 deletions
|
|
@ -1034,13 +1034,13 @@ void 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", "-a, --authproto=[MD5|SHA|SHA224|SHA256|SHA384|SHA512]");
|
||||
printf(" %s\n", _("SNMPv3 auth proto"));
|
||||
#ifdef HAVE_USM_DES_PRIV_PROTOCOL
|
||||
printf(" %s\n", "-x, --privproto=[DES|AES]");
|
||||
printf(" %s\n", "-x, --privproto=[DES|AES|AES192|AES256]");
|
||||
printf(" %s\n", _("SNMPv3 priv proto (default DES)"));
|
||||
#else
|
||||
printf(" %s\n", "-x, --privproto=[AES]");
|
||||
printf(" %s\n", "-x, --privproto=[AES|AES192|AES256]");
|
||||
printf(" %s\n", _("SNMPv3 priv proto (default AES)"));
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue