summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 2c7ee11..6f9c3e6 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -71,6 +71,10 @@ int main(int argc, char **argv){
71 int return_code=STATE_OK; 71 int return_code=STATE_OK;
72 thresholds *thresholds = NULL; 72 thresholds *thresholds = NULL;
73 73
74 setlocale (LC_ALL, "");
75 bindtextdomain (PACKAGE, LOCALEDIR);
76 textdomain (PACKAGE);
77
74 if(process_arguments(argc,argv)==ERROR) 78 if(process_arguments(argc,argv)==ERROR)
75 usage(_("Could not parse arguments")); 79 usage(_("Could not parse arguments"));
76 80
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 728e7c1..bec02e1 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -140,6 +140,10 @@ main (int argc, char **argv)
140{ 140{
141 int result = STATE_UNKNOWN; 141 int result = STATE_UNKNOWN;
142 142
143 setlocale (LC_ALL, "");
144 bindtextdomain (PACKAGE, LOCALEDIR);
145 textdomain (PACKAGE);
146
143 /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */ 147 /* Set default URL. Must be malloced for subsequent realloc if --onredirect=follow */
144 server_url = strdup(HTTP_URL); 148 server_url = strdup(HTTP_URL);
145 server_url_length = strlen(server_url); 149 server_url_length = strlen(server_url);
diff --git a/plugins/check_mrtgtraf.c b/plugins/check_mrtgtraf.c
index 97f0c92..c38e595 100644
--- a/plugins/check_mrtgtraf.c
+++ b/plugins/check_mrtgtraf.c
@@ -79,6 +79,10 @@ main (int argc, char **argv)
79 char incoming_speed_rating[8]; 79 char incoming_speed_rating[8];
80 char outgoing_speed_rating[8]; 80 char outgoing_speed_rating[8];
81 81
82 setlocale (LC_ALL, "");
83 bindtextdomain (PACKAGE, LOCALEDIR);
84 textdomain (PACKAGE);
85
82 if (process_arguments (argc, argv) == ERROR) 86 if (process_arguments (argc, argv) == ERROR)
83 usage4 (_("Could not parse arguments")); 87 usage4 (_("Could not parse arguments"));
84 88
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index e3ac2c8..86e3d09 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -757,6 +757,10 @@ int main(int argc, char *argv[]){
757 double offset=0, jitter=0; 757 double offset=0, jitter=0;
758 char *result_line, *perfdata_line; 758 char *result_line, *perfdata_line;
759 759
760 setlocale (LC_ALL, "");
761 bindtextdomain (PACKAGE, LOCALEDIR);
762 textdomain (PACKAGE);
763
760 result = offset_result = jitter_result = STATE_OK; 764 result = offset_result = jitter_result = STATE_OK;
761 765
762 if (process_arguments (argc, argv) == ERROR) 766 if (process_arguments (argc, argv) == ERROR)
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 87d02e1..b5551ba 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -544,6 +544,10 @@ int main(int argc, char *argv[]){
544 double offset=0, jitter=0; 544 double offset=0, jitter=0;
545 char *result_line, *perfdata_line; 545 char *result_line, *perfdata_line;
546 546
547 setlocale (LC_ALL, "");
548 bindtextdomain (PACKAGE, LOCALEDIR);
549 textdomain (PACKAGE);
550
547 if (process_arguments (argc, argv) == ERROR) 551 if (process_arguments (argc, argv) == ERROR)
548 usage4 (_("Could not parse arguments")); 552 usage4 (_("Could not parse arguments"));
549 553
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index 60e2b5a..f414c32 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -534,6 +534,10 @@ int main(int argc, char *argv[]){
534 double offset=0; 534 double offset=0;
535 char *result_line, *perfdata_line; 535 char *result_line, *perfdata_line;
536 536
537 setlocale (LC_ALL, "");
538 bindtextdomain (PACKAGE, LOCALEDIR);
539 textdomain (PACKAGE);
540
537 result = offset_result = STATE_OK; 541 result = offset_result = STATE_OK;
538 542
539 if (process_arguments (argc, argv) == ERROR) 543 if (process_arguments (argc, argv) == ERROR)