summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b649333)
raw | patch | inline | side by side (parent: b649333)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 14 Apr 2010 10:11:45 +0000 (06:11 -0400) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Wed, 14 Apr 2010 12:33:06 +0000 (08:33 -0400) |
Bug #2832884 reported problem with translations outputting pot file
headers. This is caused by "" matching the header of the translation
files.
This patch moves gettext macros inside utils macros and update some
french translations.
headers. This is caused by "" matching the header of the translation
files.
This patch moves gettext macros inside utils macros and update some
french translations.
48 files changed:
index 8a11b321673db79a124dcbda7b3e2d9cd05fa906..47033b212c265aeaafbd9c6ce912cc13bca3adff 100644 (file)
--- a/NEWS
+++ b/NEWS
check_ldap now allows for specifying an empty LDAP base
Fix compilation error of pst3 in Solaris 8
Fix check_radius returning OK on unexpected results (Craig Leres - #2911752)
+ Fix translations when extra-opts aren't enabled (Jan Wagner - #2832884)
WARNINGS
Updated developer documentation to say that performance labels should not have an equals sign or
single quote in the label
index bdd348f20dc50c54a3e0872ba0d1e6cfdf21c6b2..51ac96eab7246b75926ede2e73eff82edf65eecc 100644 (file)
print_usage();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf (" %s\n", "-s, --serverip=IPADDRESS");
printf (" %s\n", _("IP address of DHCP server that we must hear from"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
return;
}
index 2a1b8133757521c83473143bddf0bb052a3d0ddd..590bb1a65d5e0a5c915fe1284c7ff5b2fe089bba 100644 (file)
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-H");
printf (" %s\n", _("specify a target"));
*/
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_apt.c b/plugins/check_apt.c
index 3da54bcfcd03c7623cb4bf67f9ddbe673330dcb0..7276f0310871000157fa1f62754f50cdafaeb28f 100644 (file)
--- a/plugins/check_apt.c
+++ b/plugins/check_apt.c
print_usage();
- printf(_(UT_HELP_VRSN));
- printf(_(UT_EXTRA_OPTS));
+ printf(UT_HELP_VRSN);
+ printf(UT_EXTRA_OPTS);
- printf(_(UT_TIMEOUT), timeout_interval);
+ printf(UT_TIMEOUT, timeout_interval);
printf (" %s\n", "-U, --upgrade=OPTS");
printf (" %s\n", _("[Default] Perform an upgrade. If an optional OPTS argument is provided,"));
#ifdef NP_EXTRA_OPTS
printf("\n");
printf("%s\n", _("Notes:"));
- printf(_(UT_EXTRA_OPTS_NOTES));
+ printf(UT_EXTRA_OPTS_NOTES);
#endif
- printf(_(UT_SUPPORT));
+ printf(UT_SUPPORT);
}
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 793c03d347365c4febb4405af8f3ba046b3aba02..b688d4350ca3ae040e79d47c5645f270363f23c7 100644 (file)
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
print_usage ();
- printf (_(UT_HELP_VRSN));
+ printf (UT_HELP_VRSN);
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', "none");
+ printf (UT_HOST_PORT, 'p', "none");
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
printf (" %s\n", "-1, --proto1");
printf (" %s\n", _("tell ssh to use Protocol 1 [optional]"));
printf (" %s\n", _("Call ssh with '-o OPTION' (may be used multiple times) [optional]"));
printf (" %s\n","-q, --quiet");
printf (" %s\n", _("Tell ssh to suppress warning and diagnostic messages [optional]"));
- printf (_(UT_WARN_CRIT));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_WARN_CRIT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_VERBOSE);
printf("\n");
printf (" %s\n", _("The most common mode of use is to refer to a local identity file with"));
printf (" %s\n", _("the '-i' option. In this mode, the identity pair should have a null"));
#ifdef NP_EXTRA_OPTS
printf("\n");
printf("%s\n", _("Notes:"));
- printf(_(UT_EXTRA_OPTS_NOTES));
+ printf(UT_EXTRA_OPTS_NOTES);
#endif
- printf(_(UT_SUPPORT));
+ printf(UT_SUPPORT);
}
index 89b1a0e1ca338305cdcaac5ec4d44ce6ca226bf6..f2322271e4b00ec4b888cfdc1c4c6f186d148ea9 100644 (file)
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
printf("\n");
printf("%s\n", _("Options:"));
- printf(_(UT_EXTRA_OPTS));
+ printf(UT_EXTRA_OPTS);
printf (" %s\n", "-s, --service");
printf (" %s\n", _("Check service cluster status"));
printf (" %s\n", "-h, --host");
printf (" %s\n", _("The status codes of the hosts or services in the cluster, separated by"));
printf (" %s\n", _("commas"));
- printf(_(UT_VERBOSE));
+ printf(UT_VERBOSE);
printf("\n");
printf("%s\n", _("Notes:"));
- printf(_(UT_THRESHOLDS_NOTES));
+ printf(UT_THRESHOLDS_NOTES);
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
printf ("\n");
printf (" %s\n", "check_cluster -s -d 2,0,2,0 -c @3:");
printf (" %s\n", _("Will alert critical if there are 3 or more service data points in a non-OK state") );
- printf(_(UT_SUPPORT));
+ printf(UT_SUPPORT);
}
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index 08be937361082a3bf4c291c031230ff75103209d..45189b000d222ce7c4ca0a7186103bafaabaddfa 100644 (file)
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
print_usage ();
- printf (_(UT_HELP_VRSN));
+ printf (UT_HELP_VRSN);
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
printf (" %s\n","-l, --query_address=STRING");
printf (" %s\n",_("Machine name to lookup"));
printf (" %s\n",_("was in -l"));
printf (" %s\n","-A, --dig-arguments=STRING");
printf (" %s\n",_("Pass STRING as argument(s) to dig"));
- printf (_(UT_WARN_CRIT));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_WARN_CRIT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("Examples:"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 5c0eec592615e413f518e6b71bc3ccce39fa6d1e..633aa5fce071160bef77930e557cc9661579475e 100644 (file)
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-w, --warning=INTEGER");
printf (" %s\n", _("Exit with WARNING status if less than INTEGER units of disk are free"));
printf (" %s\n", _("Regular expression to ignore selected path/partition (case insensitive) (may be repeated)"));
printf (" %s\n", "-i, --ignore-ereg-path=PATH, --ignore-ereg-partition=PARTITION");
printf (" %s\n", _("Regular expression to ignore selected path or partition (may be repeated)"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf (" %s\n", "-u, --units=STRING");
printf (" %s\n", _("Choose bytes, kB, MB, GB, TB (default: MB)"));
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf (" %s\n", "-X, --exclude-type=TYPE");
printf (" %s\n", _("Ignore all filesystems of indicated type (may be repeated)"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
printf ("\n");
printf (" %s\n", "check_disk -w 100M -c 50M -C -w 1000M -c 500M -p /foo -C -w 5% -c 3% -p /bar");
printf (" %s\n", _("Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M"));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 873dcae084bb6a69447363d8e6d043036e71269f..a921429859dd8320d9d292575a01e0a8f299a12e 100644 (file)
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" -H, --hostname=HOST\n");
printf (" %s\n", _("The name or address you want to query"));
printf (" -c, --critical=seconds\n");
printf (" %s\n", _("Return critical if elapsed time exceeds value. Default off"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c
index 8c3f53540267d352723c92fe21ba55bb700f31dd..e72bf30bbfa4bffb27c2d3979d9bc528607bf9cd 100644 (file)
--- a/plugins/check_dummy.c
+++ b/plugins/check_dummy.c
print_usage ();
- printf (_(UT_HELP_VRSN));
+ printf (UT_HELP_VRSN);
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_fping.c b/plugins/check_fping.c
index b27389d723974b7d171f077e456fe7fe13289750..4e6533fa359e537f6be0076b7ba6b4bef69d609c 100644 (file)
--- a/plugins/check_fping.c
+++ b/plugins/check_fping.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-H, --hostname=HOST");
printf (" %s\n", _("name or IP Address of host to ping (IP Address bypasses name lookup, reducing system load)"));
printf (" %s (default: fping's default for -t)\n", _("Target timeout (ms)"),PACKET_COUNT);
printf (" %s\n", "-i, --interval=INTEGER");
printf (" %s (default: fping's default for -p)\n", _("Interval (ms) between sending packets"),PACKET_COUNT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf (" %s\n", _("THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time (ms)"));
printf (" %s\n", _("which triggers a WARNING or CRITICAL state, and <pl> is the percentage of"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_game.c b/plugins/check_game.c
index b1b6f7c063f4b4b4f4d27330a494abfae5fb58af..bcde103888fcaa9b468a665d78ae461b52e3ce4c 100644 (file)
--- a/plugins/check_game.c
+++ b/plugins/check_game.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-p");
printf (" %s\n", _("Optional port of which to connect"));
printf (" %s\n", "-pf");
printf (" %s\n", _("Field number in raw qstat output that contains ping time"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (" %s\n", _("http://www.activesw.com/people/steve/qstat.html before you can use this plugin."));
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index add9cc82db6fa536f8db8bd769362a328424a85d..e4e8e6e514c071ddc65c6974e9115de52f0d2e33 100644 (file)
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-C, --community=STRING");
printf (" %s", _("The SNMP community name "));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 0a8910c318fa39a71c8a706b993dfe4bb23b0703..6c53f7ad495e0bb2d264de080b1e5ffc202babff 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
printf ("\n");
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-H, --hostname=ADDRESS");
printf (" %s\n", _("Host name argument for servers using host headers (virtual host)"));
printf (" %s", _("Port number (default: "));
printf ("%d)\n", HTTP_PORT);
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
#ifdef HAVE_SSL
printf (" %s\n", "-S, --ssl");
printf (" %s\n", "-m, --pagesize=INTEGER<:INTEGER>");
printf (" %s\n", _("Minimum page size required (bytes) : Maximum page size required (bytes)"));
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (" %s\n", _("checking a virtual server that uses 'host headers' you must supply the FQDN"));
printf (" %s\n", _("(fully qualified domain name) as the [host_name] argument."));
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#ifdef HAVE_SSL
printf ("\n");
printf (" %s\n", _("the certificate is expired."));
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
index e036a37ae2afe89fbdeff4da09ad04d5ce640eb2..3811dc12059739c7b3b8516c2e24ac6b29de2bb8 100644 (file)
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-d, --device=DEVICE");
printf (" %s\n", _("Select device DEVICE"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
/* todo : add to the long nanual as example
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 400d74ad7655f38bdba16a722b7b76e5076ab625..66834e88c6fc55b588a98219a6ef75f3589bbbbc 100644 (file)
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
printf (" %s\n", "-a [--attr]");
printf (" %s\n", _("ldap attribute to search (default: \"(objectclass=*)\""));
printf (" (%s %d)\n", _("default protocol version:"), DEFAULT_PROTOCOL);
#endif
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (" %s\n", _("to define the behaviour explicitly instead."));
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
/* todo
diff --git a/plugins/check_load.c b/plugins/check_load.c
index 940d37ec9417cf54cc9b31c3acd6ceb93aef09ae..450a4fc3bc3afa99c9017b12bb447629c0c6e2e5 100644 (file)
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-w, --warning=WLOAD1,WLOAD5,WLOAD15");
printf (" %s\n", _("Exit with WARNING status if load average exceeds WLOADn"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
void
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 65260ed1bae406c8da0ff55d98ab65fc180e7467..6736c117f8bf2305a2875733993fefe7e0234c9c 100644 (file)
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-F, --logfile=FILE");
printf (" %s\n", _("The MRTG log file containing the data you want to monitor"));
printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from"));
printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
#ifdef NP_EXTRA_OPTS
- printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
+ printf (" -%s", UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
index 376a50995754dd0ba8257c3107730150964850da..1234bff498afd042066b2cf066ab0e16b1a2c6e6 100644 (file)
--- a/plugins/check_mrtgtraf.c
+++ b/plugins/check_mrtgtraf.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-F, --filename=STRING");
printf (" %s\n", _("File to read log from"));
printf (" %s\n", _(" reports. I'm not sure why this is right now, but will look into it"));
printf (" %s\n", _(" for future enhancements of this plugin."));
#ifdef NP_EXTRA_OPTS
- printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
+ printf (" -%s", UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 05d2b019c276c627f6e4ed8bc5277cb1936db693..ce190621d60f507cbcccf59eb39490ba6b721639 100644 (file)
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'P', myport);
+ printf (UT_HOST_PORT, 'P', myport);
printf (" %s\n", "-s, --socket=STRING");
printf (" %s\n", _("Use the specified socket (has no effect if -H is used)"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
printf ("\n");
printf (" %s\n", _("You must specify -p with an empty string to force an empty password,"));
printf (" %s\n", _("overriding any my.cnf settings."));
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
index 47dd86163daee69a0381b0f4e2d92c238713935a..40adf09279fca709006a1ddd9da9548e27a01df8 100644 (file)
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" -q, --query=STRING\n");
printf (" %s\n", _("SQL query to run. Only first column in first row will be read"));
- printf (_(UT_WARN_CRIT_RANGE));
- printf (_(UT_HOST_PORT), 'P', myport);
+ printf (UT_WARN_CRIT_RANGE);
+ printf (UT_HOST_PORT, 'P', myport);
printf (" %s\n", "-s, --socket=STRING");
printf (" %s\n", _("Use the specified socket (has no effect if -H is used)"));
printf (" -d, --database=STRING\n");
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
printf ("\n");
printf (" %s\n", _("You must specify -p with an empty string to force an empty password,"));
printf (" %s\n", _("overriding any my.cnf settings."));
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_nagios.c b/plugins/check_nagios.c
index 954ff711707dfc4402283d1cd7a197fe51af66e1..24ddadd71ef87c3d25ea47c9435bfd558e814c80 100644 (file)
--- a/plugins/check_nagios.c
+++ b/plugins/check_nagios.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-F, --filename=FILE");
printf (" %s\n", _("Name of the log file to check"));
printf (" %s\n", _("Minutes aging after which logfile is considered stale"));
printf (" %s\n", "-C, --command=STRING");
printf (" %s\n", _("Substring to search for in process arguments"));
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
printf ("\n");
printf ("%s\n", _("Examples:"));
printf (" %s\n", "check_nagios -e 5 -F /usr/local/nagios/var/status.log -C /usr/local/nagios/bin/nagios");
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index d038efe72dd51beeed116be8db8e2027db62aefc..c877f9cc6d4857b019c8b2590677aa7205524163 100644 (file)
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
print_usage();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf ("%s\n", _("Options:"));
printf (" %s\n", "-H, --hostname=HOST");
printf (" %s\n", _("One fix for this is to change the port to something else on check_nt "));
printf (" %s\n", _("and on the client service it\'s connecting to."));
#ifdef NP_EXTRA_OPTS
- printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
+ printf (" -%s", UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index fdbdc141281868e9c3510f36a40806f060a55b99..35fddec9038f00888805b78970ddea99c0190b54 100644 (file)
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
printf ("\n\n");
print_usage();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
- printf (_(UT_HOST_PORT), 'p', "123");
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
+ printf (UT_HOST_PORT, 'p', "123");
printf (" %s\n", "-w, --warning=THRESHOLD");
printf (" %s\n", _("Offset to result in warning status (seconds)"));
printf (" %s\n", "-c, --critical=THRESHOLD");
printf (" %s\n", _("Warning threshold for jitter"));
printf (" %s\n", "-k, --jcrit=THRESHOLD");
printf (" %s\n", _("Critical threshold for jitter"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_VERBOSE);
printf("\n");
printf("%s\n", _("Notes:"));
- printf(_(UT_THRESHOLDS_NOTES));
+ printf(UT_THRESHOLDS_NOTES);
#ifdef NP_EXTRA_OPTS
printf("\n");
- printf(_(UT_EXTRA_OPTS_NOTES));
+ printf(UT_EXTRA_OPTS_NOTES);
#endif
printf("\n");
printf(" %s\n", _("(See Notes above for more details on thresholds formats):"));
printf(" %s\n", ("./check_ntp -H ntpserv -w 0.5 -c 1 -j -1:100 -k -1:200"));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
printf ("%s\n", _("WARNING: check_ntp is deprecated. Please use check_ntp_peer or"));
printf ("%s\n\n", _("check_ntp_time instead."));
index 0512058de40e88a2f628cb7a74ae21f18ab4cef9..fa18cfb920eb72f8e11dd124c362647769dc5b0a 100644 (file)
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
printf ("\n\n");
print_usage();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
- printf (_(UT_HOST_PORT), 'p', "123");
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
+ printf (UT_HOST_PORT, 'p', "123");
printf (" %s\n", "-q, --quiet");
printf (" %s\n", _("Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized"));
printf (" %s\n", "-w, --warning=THRESHOLD");
printf (" %s\n", _("Warning threshold for number of usable time sources (\"truechimers\")"));
printf (" %s\n", "-n, --tcrit=THRESHOLD");
printf (" %s\n", _("Critical threshold for number of usable time sources (\"truechimers\")"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_VERBOSE);
printf("\n");
printf("%s\n", _("This plugin checks an NTP server independent of any commandline"));
printf(" %s\n", _("plugin will not check the clock offset between the local host and NTP"));
printf(" %s\n", _("server; please use check_ntp_time for that purpose."));
printf("\n");
- printf(_(UT_THRESHOLDS_NOTES));
+ printf(UT_THRESHOLDS_NOTES);
#ifdef NP_EXTRA_OPTS
printf("\n");
- printf(_(UT_EXTRA_OPTS_NOTES));
+ printf(UT_EXTRA_OPTS_NOTES);
#endif
printf("\n");
printf(" %s\n", _("Check only stratum:"));
printf(" %s\n", ("./check_ntp_peer -H ntpserv -W 4 -C 6"));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
void
index c7c7a754ca3b82409eb0c25fde9c22d0295597b1..cd412fe5f7d262e9ce6b471520e79164d4a820a8 100644 (file)
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
printf ("\n\n");
print_usage();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
- printf (_(UT_HOST_PORT), 'p', "123");
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
+ printf (UT_HOST_PORT, 'p', "123");
printf (" %s\n", "-q, --quiet");
printf (" %s\n", _("Returns UNKNOWN instead of CRITICAL if offset cannot be found"));
printf (" %s\n", "-w, --warning=THRESHOLD");
printf (" %s\n", _("Offset to result in warning status (seconds)"));
printf (" %s\n", "-c, --critical=THRESHOLD");
printf (" %s\n", _("Offset to result in critical status (seconds)"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_VERBOSE);
printf("\n");
printf("%s\n", _("This plugin checks the clock offset between the local host and a"));
printf(" %s\n", _("If you'd rather want to monitor an NTP server, please use"));
printf(" %s\n", _("check_ntp_peer."));
printf("\n");
- printf(_(UT_THRESHOLDS_NOTES));
+ printf(UT_THRESHOLDS_NOTES);
#ifdef NP_EXTRA_OPTS
printf("\n");
- printf(_(UT_EXTRA_OPTS_NOTES));
+ printf(UT_EXTRA_OPTS_NOTES);
#endif
printf("\n");
printf("%s\n", _("Examples:"));
printf(" %s\n", ("./check_ntp_time -H ntpserv -w 0.5 -c 1"));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
void
diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index 72a47b16e71b6c8b734f9d39ac59c2598c0e2974..2c3369a5fe941606790086466bba794edf70c40a 100644 (file)
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
print_usage();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
printf (" %s\n", "-v, --variable=STRING");
printf (" %s\n", _("Variable to check. Valid variables include:"));
printf (" %s\n", "-o, --osversion");
printf (" %s\n", _("Include server version string in results"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (" %s\n", _(" when the following variables are checked: VPF, VKF, LTCH, CBUFF, DCB, "));
printf (" %s\n", _(" TCB, LRUS and LRUM."));
#ifdef NP_EXTRA_OPTS
- printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
+ printf (" -%s", UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c
index 1d9ec8cf0a5ba4a52768b86f1af3ae761590afe7..5751dc053a0a305f2e0ebf5363166537468f5b15 100644 (file)
--- a/plugins/check_overcr.c
+++ b/plugins/check_overcr.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
printf (" %s\n", "-w, --warning=INTEGER");
printf (" %s\n", _("Threshold which will result in a warning status"));
printf (" %s\n", _("NET<port> = number of active connections on TCP port <port>"));
printf (" %s\n", _("UPTIME = system uptime in seconds"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("This plugin requires that Eric Molitors' Over-CR collector daemon be"));
printf (" %s\n", _("higher than the warning threshold value, EXCEPT with the uptime variable"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 40c104eb3d894d26b0aa0694dc186bc141219997..a3652149d7fa81202ce9e132fd63a5d994db19c7 100644 (file)
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'P', myport);
+ printf (UT_HOST_PORT, 'P', myport);
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
printf (" %s\n", "-d, --database=STRING");
printf (" %s", _("Database to check "));
printf (" %s\n", "-p, --password = STRING");
printf (" %s\n", _("Password (BIG SECURITY ISSUE)"));
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf (" %s\n", _("All parameters are optional."));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 8c4c0e64f4f2584b9ddf3ecfa34d3bf375537918..45108afb8cbe7b446ff602bd450895591d66c6ab 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
printf (" %s\n", "-H, --hostname=HOST");
printf (" %s\n", _("host to ping"));
printf (" %s\n", "-L, --link");
printf (" %s\n", _("show HTML in the plugin output (obsoleted by urlize)"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf ("\n");
printf ("%s\n", _("THRESHOLD is <rta>,<pl>% where <rta> is the round trip average travel"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
void
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 937c0ad58d88a7e62d6ec789ee6823d45343d056..e9372ff610b04b0abf697cb0b68388d177ea828e 100644 (file)
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-w, --warning=RANGE");
printf (" %s\n", _("Generate warning state if metric is outside this range"));
printf (" %s\n", "-c, --critical=RANGE");
#if defined( __linux__ )
printf (" %s\n", _("ELAPSED - time elapsed in seconds"));
#endif /* defined(__linux__) */
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf (" %s\n", "-v, --verbose");
printf (" %s\n", _("Extra information. Up to 3 verbosity levels"));
#ifdef NP_EXTRA_OPTS
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
printf ("\n");
#endif
printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU");
printf (" %s\n", _("Alert if CPU of any processes over 10%% or 20%%"));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
void
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index b2f5732cb0aea76310506018d8d105b8f108f997..c95fbe1ff2ec2ad20fec96da721d9a7f5087461c 100644 (file)
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'P', myport);
+ printf (UT_HOST_PORT, 'P', myport);
printf (" %s\n", "-u, --username=STRING");
printf (" %s\n", _("The user to authenticate"));
printf (" %s\n", "-r, --retries=INTEGER");
printf (" %s\n", _("Number of times to retry a failed connection"));
- printf (_(UT_TIMEOUT), timeout_interval);
+ printf (UT_TIMEOUT, timeout_interval);
printf ("\n");
printf ("%s\n", _("This plugin tests a RADIUS server to see if it is accepting connections."));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_real.c b/plugins/check_real.c
index cbc3103c41b05756c7e64eb7ebe5b6b265512ed5..1643347026fad971f8eef23424b6eb1890881fe7 100644 (file)
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
printf (" %s\n", "-u, --url=STRING");
printf (" %s\n", _("Connect to this url"));
printf (_("String to expect in first line of server response (default: %s)\n"),
EXPECT);
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("This plugin will attempt to open an RTSP connection with the host."));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 62f102549880fa1c35e76912055335d878e7822b..c78b709ce5a71462b803b1a3ca162bd949f2861f 100644 (file)
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
printf (" %s\n", "-e, --expect=STRING");
printf (_(" String to expect in first line of server response (default: '%s')\n"), SMTP_EXPECT);
printf (" %s\n", "-P, --authpass=STRING");
printf (" %s\n", _("SMTP AUTH password"));
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf("\n");
printf ("%s\n", _("Successul connects return STATE_OK, refusals and timeouts return"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index fdb5819e05d443e5a71accbe5625e843b63b5989..f04ca85fa2e9fb76f93b8550495c680909b55c50 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', DEFAULT_PORT);
+ printf (UT_HOST_PORT, 'p', DEFAULT_PORT);
/* SNMP and Authentication Protocol */
printf (" %s\n", "-n, --next");
printf (" %s\n", "-D, --output-delimiter=STRING");
printf (" %s\n", _("Separates output on multiple OID requests"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf (" %s\n", "-e, --retries=INTEGER");
printf (" %s\n", _("Number of retries to be used in the requests"));
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("This plugin uses the 'snmpget' command included with the NET-SNMP package."));
printf (" %s\n", _("- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with"));
printf (" %s\n", _("internal spaces must be quoted) [max 8 OIDs]"));
- printf(" -%s", _(UT_THRESHOLDS_NOTES));
+ printf(" -%s", UT_THRESHOLDS_NOTES);
printf (" %s\n", _("- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'"));
printf (" %s\n", _("- Note that only one string and one regex may be checked at present"));
printf (" %s\n", _("- All evaluation methods other than PR, STR, and SUBSTR expect that the value"));
printf (" %s\n", _("returned from the SNMP query is an unsigned integer."));
#ifdef NP_EXTRA_OPTS
- printf (" -%s", _(UT_EXTRA_OPTS_NOTES));
+ printf (" -%s", UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 04cc4d971f42c8caabd45179b0bbcc2f2ca33b6a..9a1934383111ff5b5b738d82bb7731b8af546dc6 100644 (file)
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
printf (" %s\n", "-r, --remote-version=STRING");
printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)"));
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index be20ca32ff1f86d8b11aa66cd5947cc8dcd69cb9..a1356cfac3e5030971cc54b63af43ffadb6aeca5 100644 (file)
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-w, --warning=INTEGER");
printf (" %s\n", _("Exit with WARNING status if less than INTEGER bytes of swap space are free"));
printf (" %s\n", _("Exit with CRITCAL status if less than PERCENT of swap space is free"));
printf (" %s\n", "-a, --allswaps");
printf (" %s\n", _("Conduct comparisons for all swap partitions, one by one"));
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
printf ("\n");
printf ("%s\n", _("Notes:"));
printf (" %s\n", _("On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s."));
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index b094207e9202c29c20abdf963e1dd864761ebc70..156765edac0d2234447a88235b7f3fd4c9cb7ad9 100644 (file)
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', "none");
+ printf (UT_HOST_PORT, 'p', "none");
- printf (_(UT_IPv46));
+ printf (UT_IPv46);
printf (" %s\n", "-E, --escape");
printf (" %s\n", _("Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option"));
printf (" %s\n", _("Use SSL for the connection."));
#endif
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
- printf (_(UT_VERBOSE));
+ printf (UT_VERBOSE);
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_time.c b/plugins/check_time.c
index ee938168c5f2f95a11db534b8edd7b9b2740cf21..7816b238c72427abf9924af895e2eb32d92dd33a 100644 (file)
--- a/plugins/check_time.c
+++ b/plugins/check_time.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
printf (" %s\n", "-u, --udp");
printf (" %s\n", _("Use UDP to connect, not TCP"));
printf (" %s\n", "-C, --critical-connect=INTEGER");
printf (" %s\n", _("Response time (sec.) necessary to result in critical status"));
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 8985b74e401b33e4faa403ba38687a793212c956..ce57ef3d00f8aafc415397c21183b12a1f7c8c04 100644 (file)
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
- printf (_(UT_HOST_PORT), 'p', myport);
+ printf (UT_HOST_PORT, 'p', myport);
printf (" %s\n", "-u, --ups=STRING");
printf (" %s\n", _("Name of UPS"));
printf (" %s\n", "-v, --variable=STRING");
printf (" %s %s\n", _("Valid values for STRING are"), "LINE, TEMP, BATTPCT or LOADPCT");
- printf (_(UT_WARN_CRIT));
+ printf (UT_WARN_CRIT);
- printf (_(UT_TIMEOUT), DEFAULT_SOCKET_TIMEOUT);
+ printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
/* TODO: -v clashing with -v/-variable. Commenting out help text since verbose
is unused up to now */
-/* printf (_(UT_VERBOSE)); */
+/* printf (UT_VERBOSE); */
printf ("\n");
printf ("%s\n", _("This plugin attempts to determine the status of a UPS (Uninterruptible Power"));
printf (" %s\n", _("http://www.networkupstools.org"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/check_users.c b/plugins/check_users.c
index 1bd2c8b2ce99712299d6805351e08f7dfb28aa01..dc661d89f69ba4a393b101e91337d3c21503caff 100644 (file)
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
print_usage ();
- printf (_(UT_HELP_VRSN));
- printf (_(UT_EXTRA_OPTS));
+ printf (UT_HELP_VRSN);
+ printf (UT_EXTRA_OPTS);
printf (" %s\n", "-w, --warning=INTEGER");
printf (" %s\n", _("Set WARNING status if more than INTEGER users are logged in"));
#ifdef NP_EXTRA_OPTS
printf ("\n");
printf ("%s\n", _("Notes:"));
- printf (_(UT_EXTRA_OPTS_NOTES));
+ printf (UT_EXTRA_OPTS_NOTES);
#endif
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/negate.c b/plugins/negate.c
index 8eac722023d2e28f6b7e670dc5e99843b3ede19d..869b9d9d5ba02de91c9ee07403bec1182ce53f63 100644 (file)
--- a/plugins/negate.c
+++ b/plugins/negate.c
print_usage ();
- printf (_(UT_HELP_VRSN));
+ printf (UT_HELP_VRSN);
- printf (_(UT_TIMEOUT), timeout_interval);
+ printf (UT_TIMEOUT, timeout_interval);
printf (" %s\n", _("Keep timeout longer than the plugin timeout to retain CRITICAL status."));
printf (" -T, --timeout-result=STATUS\n");
printf (" %s\n", _("Custom result on Negate timeouts; see below for STATUS definition\n"));
printf (" %s\n", _("Using timeout-result, it is possible to override the timeout behaviour or a"));
printf (" %s\n", _("plugin by setting the negate timeout a bit lower."));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/urlize.c b/plugins/urlize.c
index 202fa048b6a048891f711f9c3a5ac4ff0254e6ae..5fb3aca0b2c252a515aabd0637c7ae0896f8d424 100644 (file)
--- a/plugins/urlize.c
+++ b/plugins/urlize.c
print_usage ();
- printf (_(UT_HELP_VRSN));
+ printf (UT_HELP_VRSN);
printf ("\n");
printf ("%s\n", _("Examples:"));
printf (" %s\n\n", _("You probably want:"));
printf (" %s\n", _("urlize http://example.com/ \"check_http -H example.com -r 'two words'\""));
- printf (_(UT_SUPPORT));
+ printf (UT_SUPPORT);
}
diff --git a/plugins/utils.h b/plugins/utils.h
index d6e9c8f7211149d46e821686953b9fea672f5ad0..8da2160e86eebb1c6126b4826212fb4fb2ff7b30 100644 (file)
--- a/plugins/utils.h
+++ b/plugins/utils.h
#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\
\t<%s>\n\n"
-#define UT_HLP_VRS "\
+#define UT_HLP_VRS _("\
%s (-h | --help) for detailed help\n\
- %s (-V | --version) for version information\n"
+ %s (-V | --version) for version information\n")
-#define UT_HELP_VRSN "\
+#define UT_HELP_VRSN _("\
\nOptions:\n\
-h, --help\n\
Print detailed help screen\n\
-V, --version\n\
- Print version information\n"
+ Print version information\n")
-#define UT_HOST_PORT "\
+#define UT_HOST_PORT _("\
-H, --hostname=ADDRESS\n\
Host name, IP Address, or unix socket (must be an absolute path)\n\
-%c, --port=INTEGER\n\
- Port number (default: %s)\n"
+ Port number (default: %s)\n")
-#define UT_IPv46 "\
+#define UT_IPv46 _("\
-4, --use-ipv4\n\
Use IPv4 connection\n\
-6, --use-ipv6\n\
- Use IPv6 connection\n"
+ Use IPv6 connection\n")
-#define UT_VERBOSE "\
+#define UT_VERBOSE _("\
-v, --verbose\n\
- Show details for command-line debugging (Nagios may truncate output)\n"
+ Show details for command-line debugging (Nagios may truncate output)\n")
-#define UT_WARN_CRIT "\
+#define UT_WARN_CRIT _("\
-w, --warning=DOUBLE\n\
Response time to result in warning status (seconds)\n\
-c, --critical=DOUBLE\n\
- Response time to result in critical status (seconds)\n"
+ Response time to result in critical status (seconds)\n")
-#define UT_WARN_CRIT_RANGE "\
+#define UT_WARN_CRIT_RANGE _("\
-w, --warning=RANGE\n\
Warning range (format: start:end). Alert if outside this range\n\
-c, --critical=RANGE\n\
- Critical range\n"
+ Critical range\n")
-#define UT_TIMEOUT "\
+#define UT_TIMEOUT _("\
-t, --timeout=INTEGER\n\
- Seconds before connection times out (default: %d)\n"
+ Seconds before connection times out (default: %d)\n")
#ifdef NP_EXTRA_OPTS
-#define UT_EXTRA_OPTS "\
+#define UT_EXTRA_OPTS _("\
--extra-opts=[section][@file]\n\
- Read additionnal options from ini file\n"
-#define UT_EXTRA_OPTS_NOTES "\
- See: http://nagiosplugins.org/extra-opts for --extra-opts usage and examples.\n"
+ Read additionnal options from ini file\n")
+#define UT_EXTRA_OPTS_NOTES _("\
+ See: http://nagiosplugins.org/extra-opts for --extra-opts usage and examples.\n")
#else
#define UT_EXTRA_OPTS ""
#define UT_EXTRA_OPTS_NOTES ""
#endif
-#define UT_THRESHOLDS_NOTES "\
+#define UT_THRESHOLDS_NOTES _("\
See:\n\
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT\n\
- for THRESHOLD format and examples.\n"
+ for THRESHOLD format and examples.\n")
-#define UT_SUPPORT "\n\
+#define UT_SUPPORT _("\n\
Send email to nagios-users@lists.sourceforge.net if you have questions\n\
regarding use of this software. To submit patches or suggest improvements,\n\
-send email to nagiosplug-devel@lists.sourceforge.net\n\n"
+send email to nagiosplug-devel@lists.sourceforge.net\n\n")
-#define UT_NOWARRANTY "\n\
+#define UT_NOWARRANTY _("\n\
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\
copies of the plugins under the terms of the GNU General Public License.\n\
-For more information about these matters, see the file named COPYING.\n"
+For more information about these matters, see the file named COPYING.\n")
#endif /* NP_UTILS_H */
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 133793c42c68f82482e966f30b83b3d87b92d88a..6e491d78f7bba258f45c72f82b124c9b71ebb2d1 100644 (file)
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
plugins/popen.c
plugins/urlize.c
plugins/utils.c
+plugins/utils.h
plugins-root/check_dhcp.c
plugins-root/check_icmp.c
diff --git a/po/de.po b/po/de.po
index b7a3df425fb0b6a944435c0db781de5755179d5d..dce8620da9c10086a6b583980fd09de1cf7dd099 100644 (file)
--- a/po/de.po
+++ b/po/de.po
msgstr ""
"Project-Id-Version: nagiosplug\n"
"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2010-04-14 05:43-0400\n"
+"POT-Creation-Date: 2010-04-14 06:17-0400\n"
"PO-Revision-Date: 2004-12-23 17:46+0100\n"
"Last-Translator: <>\n"
"Language-Team: English <en@li.org>\n"
msgid "failed malloc in strscat\n"
msgstr "konnte keinen Speicher für '%s' reservieren\n"
+#: plugins/utils.h:140
+#, c-format
+msgid ""
+" %s (-h | --help) for detailed help\n"
+" %s (-V | --version) for version information\n"
+msgstr ""
+
+#: plugins/utils.h:144
+msgid ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Print detailed help screen\n"
+" -V, --version\n"
+" Print version information\n"
+msgstr ""
+
+#: plugins/utils.h:151
+#, c-format
+msgid ""
+" -H, --hostname=ADDRESS\n"
+" Host name, IP Address, or unix socket (must be an absolute path)\n"
+" -%c, --port=INTEGER\n"
+" Port number (default: %s)\n"
+msgstr ""
+
+#: plugins/utils.h:157
+msgid ""
+" -4, --use-ipv4\n"
+" Use IPv4 connection\n"
+" -6, --use-ipv6\n"
+" Use IPv6 connection\n"
+msgstr ""
+
+#: plugins/utils.h:163
+msgid ""
+" -v, --verbose\n"
+" Show details for command-line debugging (Nagios may truncate output)\n"
+msgstr ""
+
+#: plugins/utils.h:167
+msgid ""
+" -w, --warning=DOUBLE\n"
+" Response time to result in warning status (seconds)\n"
+" -c, --critical=DOUBLE\n"
+" Response time to result in critical status (seconds)\n"
+msgstr ""
+
+#: plugins/utils.h:173
+msgid ""
+" -w, --warning=RANGE\n"
+" Warning range (format: start:end). Alert if outside this range\n"
+" -c, --critical=RANGE\n"
+" Critical range\n"
+msgstr ""
+
+#: plugins/utils.h:179
+#, c-format
+msgid ""
+" -t, --timeout=INTEGER\n"
+" Seconds before connection times out (default: %d)\n"
+msgstr ""
+
+#: plugins/utils.h:184
+msgid ""
+" --extra-opts=[section][@file]\n"
+" Read additionnal options from ini file\n"
+msgstr ""
+
+#: plugins/utils.h:187
+msgid ""
+" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
+"examples.\n"
+msgstr ""
+
+#: plugins/utils.h:194
+msgid ""
+" See:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" for THRESHOLD format and examples.\n"
+msgstr ""
+
+#: plugins/utils.h:199
+msgid ""
+"\n"
+"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
+"regarding use of this software. To submit patches or suggest improvements,\n"
+"send email to nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+msgstr ""
+
+#: plugins/utils.h:204
+msgid ""
+"\n"
+"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
+"copies of the plugins under the terms of the GNU General Public License.\n"
+"For more information about these matters, see the file named COPYING.\n"
+msgstr ""
+
#: plugins-root/check_dhcp.c:320
#, c-format
msgid "Error: Could not get hardware address of interface '%s'\n"
diff --git a/po/fr.po b/po/fr.po
index bced839c3dcc6ba1f3c07c1d982ba9711f19494a..744bbdd6aeaa77334234fbf2f255d26c80df4632 100644 (file)
--- a/po/fr.po
+++ b/po/fr.po
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2010-04-14 05:43-0400\n"
+"POT-Creation-Date: 2010-04-14 06:17-0400\n"
"PO-Revision-Date: 2010-04-14 05:30-0400\n"
"Last-Translator: Thomas Guyot-Sionnest <dermoth@aei.ca>\n"
"Language-Team: Nagios Plugin Development Mailing List <nagiosplug-"
#: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667
#: plugins/check_ntp_time.c:609
msgid "Offset to result in warning status (seconds)"
-msgstr "Décalage résultant un avertissement (secondes)"
+msgstr "Décalage résultant en un avertissement (secondes)"
#: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669
#: plugins/check_ntp_time.c:611
msgid "Offset to result in critical status (seconds)"
-msgstr "Décalage résultant un état critique (secondes)"
+msgstr "Décalage résultant en un état critique (secondes)"
#: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675
msgid "Warning threshold for jitter"
msgid "failed malloc in strscat\n"
msgstr "La fonction malloc à échoué dans strscat\n"
+#: plugins/utils.h:140
+#, c-format
+msgid ""
+" %s (-h | --help) for detailed help\n"
+" %s (-V | --version) for version information\n"
+msgstr ""
+" %s (-h | --help) pour l'aide détaillée\n"
+" %s (-V | --version) pour les informations relative à la version\n"
+
+#: plugins/utils.h:144
+msgid ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Print detailed help screen\n"
+" -V, --version\n"
+" Print version information\n"
+msgstr ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Afficher l'aide détaillée\n"
+" -V, --version\n"
+" Afficher les informations relative à la version\n"
+
+#: plugins/utils.h:151
+#, c-format
+msgid ""
+" -H, --hostname=ADDRESS\n"
+" Host name, IP Address, or unix socket (must be an absolute path)\n"
+" -%c, --port=INTEGER\n"
+" Port number (default: %s)\n"
+msgstr ""
+" -H, --hostname=ADDRESS\n"
+" Nom d'hôte, Adresse IP, ou socket UNIX (doit être un chemin absolu)\n"
+" -%c, --port=INTEGER\n"
+" Numéro de port (défaut: %s)\n"
+
+#: plugins/utils.h:157
+msgid ""
+" -4, --use-ipv4\n"
+" Use IPv4 connection\n"
+" -6, --use-ipv6\n"
+" Use IPv6 connection\n"
+msgstr ""
+" -4, --use-ipv4\n"
+" Utiliser une connection IPv4\n"
+" -6, --use-ipv6\n"
+" Utiliser une connection IPv6\n"
+
+#: plugins/utils.h:163
+msgid ""
+" -v, --verbose\n"
+" Show details for command-line debugging (Nagios may truncate output)\n"
+msgstr ""
+" -v, --verbose\n"
+" Affiche les informations de déboguage en ligne de commande (Nagios peut "
+"tronquer la sortie)\n"
+
+#: plugins/utils.h:167
+msgid ""
+" -w, --warning=DOUBLE\n"
+" Response time to result in warning status (seconds)\n"
+" -c, --critical=DOUBLE\n"
+" Response time to result in critical status (seconds)\n"
+msgstr ""
+" -w, --warning=DOUBLE\n"
+" Temps de réponse résultant en un état d'avertissement (secondes)\n"
+" -c, --critical=DOUBLE\n"
+" Temps de réponse résultant en un état critique (secondes)\n"
+
+#: plugins/utils.h:173
+msgid ""
+" -w, --warning=RANGE\n"
+" Warning range (format: start:end). Alert if outside this range\n"
+" -c, --critical=RANGE\n"
+" Critical range\n"
+msgstr ""
+" -w, --warning=RANGE\n"
+" Seuil d'avertissement (format: début:fin). Alerte à l'extérieur de la "
+"plage\n"
+" -c, --critical=RANGE\n"
+" Seuil critique\n"
+
+#: plugins/utils.h:179
+#, c-format
+msgid ""
+" -t, --timeout=INTEGER\n"
+" Seconds before connection times out (default: %d)\n"
+msgstr ""
+" -t, --timeout=INTEGER\n"
+" Délais de connection en secondes (défaut: %d)\n"
+
+#: plugins/utils.h:184
+msgid ""
+" --extra-opts=[section][@file]\n"
+" Read additionnal options from ini file\n"
+msgstr ""
+" --extra-opts=[section][@file]\n"
+" Lire les options additionnelles à partir d'un fichier ini\n"
+
+#: plugins/utils.h:187
+msgid ""
+" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
+"examples.\n"
+msgstr ""
+" Voir: http://nagiosplugins.org/extra-opts pour le format et examples de --"
+"extra-opts.\n"
+
+#: plugins/utils.h:194
+msgid ""
+" See:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" for THRESHOLD format and examples.\n"
+msgstr ""
+" Voir:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" pour le format et examples des seuils (THRESHOLD).\n"
+
+#: plugins/utils.h:199
+msgid ""
+"\n"
+"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
+"regarding use of this software. To submit patches or suggest improvements,\n"
+"send email to nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+msgstr ""
+"\n"
+"Envoyez un email à nagios-users@lists.sourceforge.net si vous avez des "
+"questions\n"
+"reliées à l'utilisation de ce logiciel. Pour envoyer des patches ou suggérer "
+"des\n"
+"améliorations, envoyez un email à nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+
+#: plugins/utils.h:204
+msgid ""
+"\n"
+"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
+"copies of the plugins under the terms of the GNU General Public License.\n"
+"For more information about these matters, see the file named COPYING.\n"
+msgstr ""
+"\n"
+"Les plugins de Nagios ne portent AUCUNE GARANTIE. Vous pouvez redistribuer\n"
+"des copies des plugins selon les termes de la GNU General Public License.\n"
+"Pour de plus ample informations, voir le fichier COPYING.\n"
+
#: plugins-root/check_dhcp.c:320
#, c-format
msgid "Error: Could not get hardware address of interface '%s'\n"
#: plugins-root/check_icmp.c:1334
msgid "The -v switch can be specified several times for increased verbosity."
msgstr ""
-
-#~ msgid "See:"
-#~ msgstr "Voir:"
-
-#~ msgid "for THRESHOLD format and examples."
-#~ msgstr "pour le format et examples des seuils (THRESHOLD)."
-
-#~ msgid "for --extra-opts usage and examples."
-#~ msgstr "pour le format et examples de --extra-opts."
diff --git a/po/nagios-plugins.pot b/po/nagios-plugins.pot
index 4d7dc2b44f38eb880691d1b0ab6b443639cb8d7e..5b02caca23f32e24a45f579563feec4a33138c51 100644 (file)
--- a/po/nagios-plugins.pot
+++ b/po/nagios-plugins.pot
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2010-04-14 05:43-0400\n"
+"POT-Creation-Date: 2010-04-14 06:17-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid "failed malloc in strscat\n"
msgstr ""
+#: plugins/utils.h:140
+#, c-format
+msgid ""
+" %s (-h | --help) for detailed help\n"
+" %s (-V | --version) for version information\n"
+msgstr ""
+
+#: plugins/utils.h:144
+msgid ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Print detailed help screen\n"
+" -V, --version\n"
+" Print version information\n"
+msgstr ""
+
+#: plugins/utils.h:151
+#, c-format
+msgid ""
+" -H, --hostname=ADDRESS\n"
+" Host name, IP Address, or unix socket (must be an absolute path)\n"
+" -%c, --port=INTEGER\n"
+" Port number (default: %s)\n"
+msgstr ""
+
+#: plugins/utils.h:157
+msgid ""
+" -4, --use-ipv4\n"
+" Use IPv4 connection\n"
+" -6, --use-ipv6\n"
+" Use IPv6 connection\n"
+msgstr ""
+
+#: plugins/utils.h:163
+msgid ""
+" -v, --verbose\n"
+" Show details for command-line debugging (Nagios may truncate output)\n"
+msgstr ""
+
+#: plugins/utils.h:167
+msgid ""
+" -w, --warning=DOUBLE\n"
+" Response time to result in warning status (seconds)\n"
+" -c, --critical=DOUBLE\n"
+" Response time to result in critical status (seconds)\n"
+msgstr ""
+
+#: plugins/utils.h:173
+msgid ""
+" -w, --warning=RANGE\n"
+" Warning range (format: start:end). Alert if outside this range\n"
+" -c, --critical=RANGE\n"
+" Critical range\n"
+msgstr ""
+
+#: plugins/utils.h:179
+#, c-format
+msgid ""
+" -t, --timeout=INTEGER\n"
+" Seconds before connection times out (default: %d)\n"
+msgstr ""
+
+#: plugins/utils.h:184
+msgid ""
+" --extra-opts=[section][@file]\n"
+" Read additionnal options from ini file\n"
+msgstr ""
+
+#: plugins/utils.h:187
+msgid ""
+" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
+"examples.\n"
+msgstr ""
+
+#: plugins/utils.h:194
+msgid ""
+" See:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" for THRESHOLD format and examples.\n"
+msgstr ""
+
+#: plugins/utils.h:199
+msgid ""
+"\n"
+"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
+"regarding use of this software. To submit patches or suggest improvements,\n"
+"send email to nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+msgstr ""
+
+#: plugins/utils.h:204
+msgid ""
+"\n"
+"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
+"copies of the plugins under the terms of the GNU General Public License.\n"
+"For more information about these matters, see the file named COPYING.\n"
+msgstr ""
+
#: plugins-root/check_dhcp.c:320
#, c-format
msgid "Error: Could not get hardware address of interface '%s'\n"