Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • rincewind/monitoring-plugins
  • janitor-team/proposed/pkg-monitoring-plugins
  • christo-guest/pkg-monitoring-plugins
  • nagios-team/monitoring-plugins
4 results
Show changes
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 6a7daf11a..15ec04c04 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -59,8 +59,8 @@ bool ssl = false;
char *opt_file = NULL;
char *opt_group = NULL;
unsigned int db_port = MYSQL_PORT;
-int check_slave = 0, warn_sec = 0, crit_sec = 0;
-int ignore_auth = 0;
+bool check_slave = false;
+bool ignore_auth = false;
int verbose = 0;
static double warning_time = 0;
@@ -456,10 +456,10 @@ process_arguments (int argc, char **argv)
db_port = atoi (optarg);
break;
case 'S':
- check_slave = 1; /* check-slave */
+ check_slave = true; /* check-slave */
break;
case 'n':
- ignore_auth = 1; /* ignore-auth */
+ ignore_auth = true; /* ignore-auth */
break;
case 'w':
warning = optarg;
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index e9c15e648..e25d7a79a 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -2190,8 +2190,6 @@ print_usage (void)
printf ("%s\n", _("In the first form, make an HTTP request."));
printf ("%s\n\n", _("In the second form, connect to the server and check the TLS certificate."));
#endif
- printf ("%s\n", _("WARNING: check_curl is experimental. Please use"));
- printf ("%s\n\n", _("check_http if you need a stable version."));
}
void
...@@ -4,4 +4,6 @@ ...@@ -4,4 +4,6 @@
10_check_curl_fix_redirects 10_check_curl_fix_redirects
11_check_curl_raise_ssl_issue 11_check_curl_raise_ssl_issue
12_check_curl_add_docu 12_check_curl_add_docu
13_check_mysql_fix_variables
14_check_curl_remove_experimental_state
# feature patches # feature patches