diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_curl.c | 2 | ||||
-rw-r--r-- | plugins/check_mysql.c | 8 | ||||
-rw-r--r-- | plugins/check_snmp.c | 10 |
3 files changed, 10 insertions, 10 deletions
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index e9c15e6..e25d7a7 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
@@ -2190,8 +2190,6 @@ print_usage (void) | |||
2190 | printf ("%s\n", _("In the first form, make an HTTP request.")); | 2190 | printf ("%s\n", _("In the first form, make an HTTP request.")); |
2191 | printf ("%s\n\n", _("In the second form, connect to the server and check the TLS certificate.")); | 2191 | printf ("%s\n\n", _("In the second form, connect to the server and check the TLS certificate.")); |
2192 | #endif | 2192 | #endif |
2193 | printf ("%s\n", _("WARNING: check_curl is experimental. Please use")); | ||
2194 | printf ("%s\n\n", _("check_http if you need a stable version.")); | ||
2195 | } | 2193 | } |
2196 | 2194 | ||
2197 | void | 2195 | void |
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index 6a7daf1..15ec04c 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c | |||
@@ -59,8 +59,8 @@ bool ssl = false; | |||
59 | char *opt_file = NULL; | 59 | char *opt_file = NULL; |
60 | char *opt_group = NULL; | 60 | char *opt_group = NULL; |
61 | unsigned int db_port = MYSQL_PORT; | 61 | unsigned int db_port = MYSQL_PORT; |
62 | int check_slave = 0, warn_sec = 0, crit_sec = 0; | 62 | bool check_slave = false; |
63 | int ignore_auth = 0; | 63 | bool ignore_auth = false; |
64 | int verbose = 0; | 64 | int verbose = 0; |
65 | 65 | ||
66 | static double warning_time = 0; | 66 | static double warning_time = 0; |
@@ -456,10 +456,10 @@ process_arguments (int argc, char **argv) | |||
456 | db_port = atoi (optarg); | 456 | db_port = atoi (optarg); |
457 | break; | 457 | break; |
458 | case 'S': | 458 | case 'S': |
459 | check_slave = 1; /* check-slave */ | 459 | check_slave = true; /* check-slave */ |
460 | break; | 460 | break; |
461 | case 'n': | 461 | case 'n': |
462 | ignore_auth = 1; /* ignore-auth */ | 462 | ignore_auth = true; /* ignore-auth */ |
463 | break; | 463 | break; |
464 | case 'w': | 464 | case 'w': |
465 | warning = optarg; | 465 | warning = optarg; |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 295aa9b..937b3a5 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"); |