aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_dhcp.c2
-rw-r--r--plugins-root/check_icmp.c2
-rw-r--r--plugins/check_apt.c2
-rw-r--r--plugins/check_by_ssh.c2
-rw-r--r--plugins/check_cluster.c2
-rw-r--r--plugins/check_dig.c2
-rw-r--r--plugins/check_disk.c2
-rw-r--r--plugins/check_dns.c2
-rw-r--r--plugins/check_dummy.c2
-rw-r--r--plugins/check_fping.c2
-rw-r--r--plugins/check_game.c2
-rw-r--r--plugins/check_hpjd.c2
-rw-r--r--plugins/check_http.c2
-rw-r--r--plugins/check_ide_smart.c2
-rw-r--r--plugins/check_ldap.c2
-rw-r--r--plugins/check_load.c2
-rw-r--r--plugins/check_mrtg.c2
-rw-r--r--plugins/check_mysql.c2
-rw-r--r--plugins/check_mysql_query.c2
-rw-r--r--plugins/check_nagios.c2
-rw-r--r--plugins/check_nt.c2
-rw-r--r--plugins/check_ntp.c2
-rw-r--r--plugins/check_ntp_peer.c2
-rw-r--r--plugins/check_ntp_time.c2
-rw-r--r--plugins/check_nwstat.c2
-rw-r--r--plugins/check_overcr.c2
-rw-r--r--plugins/check_pgsql.c2
-rw-r--r--plugins/check_ping.c2
-rw-r--r--plugins/check_procs.c2
-rw-r--r--plugins/check_radius.c2
-rw-r--r--plugins/check_real.c2
-rw-r--r--plugins/check_smtp.c2
-rw-r--r--plugins/check_snmp.c2
-rw-r--r--plugins/check_ssh.c2
-rw-r--r--plugins/check_swap.c2
-rw-r--r--plugins/check_tcp.c2
-rw-r--r--plugins/check_time.c2
-rw-r--r--plugins/check_ups.c2
-rw-r--r--plugins/check_users.c2
-rw-r--r--plugins/negate.c2
-rw-r--r--plugins/urlize.c2
41 files changed, 41 insertions, 41 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index ba35197e..2a1875c4 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -1418,7 +1418,7 @@ void print_help(void){
void
print_usage(void){
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s [-v] [-u] [-s serverip] [-r requestedip] [-t timeout]\n",progname);
printf (" [-i interface] [-m mac]\n");
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index 5f0224d5..6d8ba099 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1344,6 +1344,6 @@ print_help(void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf(" %s [options] [-H] host1 host2 hostN\n", progname);
}
diff --git a/plugins/check_apt.c b/plugins/check_apt.c
index 14804943..7efa596b 100644
--- a/plugins/check_apt.c
+++ b/plugins/check_apt.c
@@ -461,6 +461,6 @@ print_help (void)
void
print_usage(void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [[-d|-u|-U]opts] [-n] [-t timeout]\n", progname);
}
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index a569c195..ff27b396 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -450,7 +450,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s -H <host> -C <command> [-fqv] [-1|-2] [-4|-6]\n"
" [-S [lines]] [-E [lines]] [-t timeout] [-i identity]\n"
" [-l user] [-n name] [-s servicelist] [-O outputfile]\n"
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index fe497d40..d4e39e0f 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -271,7 +271,7 @@ void
print_usage(void)
{
- printf(_("Usage:"));
+ printf("%s\n", _("Usage:"));
printf(" %s (-s | -h) -d val1[,val2,...,valn] [-l label]\n", progname);
printf("[-w threshold] [-c threshold] [-v] [--help]\n");
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 6f4d8e77..06f59c80 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -351,7 +351,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -l <query_address> [-H <host>] [-p <server port>]\n", progname);
printf (" [-T <query type>] [-w <warning interval>] [-c <critical interval>]\n");
printf (" [-t <timeout>] [-a <expected answer address>] [-v]\n");
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index f2ed983b..49136255 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -977,7 +977,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s -w limit -c limit [-W limit] [-K limit] {-p path | -x device}\n", progname);
printf ("[-C] [-E] [-e] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n");
printf ("[-t timeout] [-u unit] [-v] [-X type]\n");
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 43167122..73b560ca 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -483,6 +483,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]\n", progname);
}
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c
index e72bf30b..3cfc9ede 100644
--- a/plugins/check_dummy.c
+++ b/plugins/check_dummy.c
@@ -119,6 +119,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s <integer state> [optional text]\n", progname);
}
diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index d2c945dd..dd3f86d1 100644
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
@@ -429,6 +429,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s <host_address> -w limit -c limit [-b size] [-n number] [-T number] [-i number]\n", progname);
}
diff --git a/plugins/check_game.c b/plugins/check_game.c
index 815c72d6..5496c4dc 100644
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
@@ -328,7 +328,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s [-hvV] [-P port] [-t timeout] [-g game_field] [-m map_field] [-p ping_field] [-G game-time] [-H hostname] <game> <ip_address>\n", progname);
}
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index 97411d18..51a0099a 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -411,6 +411,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host [-C community]\n", progname);
}
diff --git a/plugins/check_http.c b/plugins/check_http.c
index a21669c0..7f773c83 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1430,7 +1430,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s -H <vhost> | -I <IP-address> [-u <uri>] [-p <port>]\n",progname);
printf (" [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]\n");
printf (" [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]\n");
diff --git a/plugins/check_ide_smart.c b/plugins/check_ide_smart.c
index b0517395..b942461b 100644
--- a/plugins/check_ide_smart.c
+++ b/plugins/check_ide_smart.c
@@ -524,7 +524,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname);
printf (" [-O <auto-off>] [-n <nagios>]\n");
}
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 11644a1f..b933ff28 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -449,7 +449,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]",progname);
printf ("\n [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n",
#ifdef HAVE_LDAP_SET_OPTION
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 99e2a15f..1bdb06aa 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -322,6 +322,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15\n", progname);
}
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 07013ee6..d6162f35 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -379,7 +379,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n",progname);
printf ("[-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n");
}
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index b3caf4b5..d9b4e537 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -422,7 +422,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s [-d database] [-H host] [-P port] [-s socket]\n",progname);
printf (" [-u user] [-p password] [-S]\n");
}
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c
index cae47187..cf9d8dfb 100644
--- a/plugins/check_mysql_query.c
+++ b/plugins/check_mysql_query.c
@@ -322,7 +322,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf (" %s -q SQL_query [-w warn] [-c crit] [-H host] [-P port] [-s socket]\n",progname);
printf (" [-d database] [-u user] [-p password]\n");
}
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c
index 1a809164..6485aa9a 100644
--- a/plugins/check_nagios.c
+++ b/plugins/check_nagios.c
@@ -310,6 +310,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -F <status log file> -e <expire_minutes> -C <process_string>\n", progname);
}
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index e4d64e8f..32d4ff6c 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -756,7 +756,7 @@ void print_help(void)
void print_usage(void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host -v variable [-p port] [-w warning] [-c critical]\n",progname);
printf ("[-l params] [-d SHOWALL] [-u] [-t timeout]\n");
}
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index e752bd9f..ac89def7 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -880,6 +880,6 @@ print_usage(void)
{
printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or"));
printf ("%s\n\n", _("check_ntp_time instead."));
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf(" %s -H <host> [-w <warn>] [-c <crit>] [-j <warn>] [-k <crit>] [-v verbose]\n", progname);
}
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index abe91a52..62ac9aed 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -715,7 +715,7 @@ void print_help(void){
void
print_usage(void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf(" %s -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C <crit>]\n", progname);
printf(" [-j <warn>] [-k <crit>] [-v verbose]\n");
}
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index 1ea3e893..f0f74b4e 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -634,7 +634,7 @@ void print_help(void){
void
print_usage(void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf(" %s -H <host> [-w <warn>] [-c <crit>] [-v verbose]\n", progname);
}
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index 6e092867..81c55752 100644
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
@@ -1682,6 +1682,6 @@ void print_help(void)
void print_usage(void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n",progname);
}
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c
index 606799f1..16ada20d 100644
--- a/plugins/check_overcr.c
+++ b/plugins/check_overcr.c
@@ -464,6 +464,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\n", progname);
}
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 06e1127b..19c3117d 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -474,7 +474,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [-H <host>] [-P <port>] [-c <critical time>] [-w <warning time>]\n", progname);
printf (" [-t <timeout>] [-d <database>] [-l <logname>] [-p <password>]\n");
}
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index db8e623f..ecdd6183 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -598,7 +598,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n", progname);
printf (" [-p packets] [-t timeout] [-4|-6]\n");
}
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 8655f6a3..2151fb38 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -757,7 +757,7 @@ be the total number of running processes\n\n"));
void
print_usage (void)
{
- printf (_("Usage: "));
+ printf ("%s\n", _("Usage:"));
printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname);
printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n");
printf (" [-C command] [-t timeout] [-v]\n");
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index d5907dde..61d84fb8 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -382,7 +382,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host -F config_file -u username -p password\n\
[-P port] [-t timeout] [-r retries] [-e expect]\n\
[-n nas-id] [-N nas-ip-addr]\n", progname);
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 1f8ae429..d67e1904 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -448,6 +448,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v]\n", progname);
}
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 6707ec53..b7028e6c 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -816,7 +816,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host [-p port] [-e expect] [-C command] [-f from addr]", progname);
printf ("[-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]\n");
printf ("[-S] [-D days] [-v] [-4|-6]\n");
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 3f0deb70..2bc6024f 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -953,7 +953,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]\n",progname);
printf ("[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]\n");
printf ("[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]\n");
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index b9b8a2d3..2509b860 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -299,7 +299,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [-46] [-t <timeout>] [-r <remote version>] [-p <port>] <host>\n", progname);
}
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index c5682d78..ce1f6022 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -555,7 +555,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname);
printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname);
}
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 555b8b9a..178bd568 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -648,7 +648,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname);
printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n");
printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n");
diff --git a/plugins/check_time.c b/plugins/check_time.c
index 9e81d9ee..3dcc662c 100644
--- a/plugins/check_time.c
+++ b/plugins/check_time.c
@@ -368,7 +368,7 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H <host_address> [-p port] [-u] [-w variance] [-c variance]\n",progname);
printf (" [-W connect_time] [-C connect_time] [-t timeout]\n");
}
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index aef8e116..30c9357a 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -657,6 +657,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]\n", progname);
}
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 061c2fe9..8368612a 100644
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
@@ -226,6 +226,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s -w <users> -c <users>\n", progname);
}
diff --git a/plugins/negate.c b/plugins/negate.c
index 869b9d9d..96f45578 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -289,6 +289,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s [-t timeout] [-Towcu STATE] [-s] <definition of wrapped plugin>\n", progname);
}
diff --git a/plugins/urlize.c b/plugins/urlize.c
index 5fb3aca0..6bb42db0 100644
--- a/plugins/urlize.c
+++ b/plugins/urlize.c
@@ -194,6 +194,6 @@ print_help (void)
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf ("%s\n", _("Usage:"));
printf ("%s <url> <plugin> <arg1> ... <argN>\n", progname);
}