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_ntp.c b/plugins/check_ntp.c
index 164d519..e3ac2c8 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -797,23 +797,23 @@ int main(int argc, char *argv[]){
797 797
798 switch (result) { 798 switch (result) {
799 case STATE_CRITICAL : 799 case STATE_CRITICAL :
800 asprintf(&result_line, "NTP CRITICAL:"); 800 asprintf(&result_line, _("NTP CRITICAL:"));
801 break; 801 break;
802 case STATE_WARNING : 802 case STATE_WARNING :
803 asprintf(&result_line, "NTP WARNING:"); 803 asprintf(&result_line, _("NTP WARNING:"));
804 break; 804 break;
805 case STATE_OK : 805 case STATE_OK :
806 asprintf(&result_line, "NTP OK:"); 806 asprintf(&result_line, _("NTP OK:"));
807 break; 807 break;
808 default : 808 default :
809 asprintf(&result_line, "NTP UNKNOWN:"); 809 asprintf(&result_line, _("NTP UNKNOWN:"));
810 break; 810 break;
811 } 811 }
812 if(offset_result == STATE_UNKNOWN){ 812 if(offset_result == STATE_UNKNOWN){
813 asprintf(&result_line, "%s %s", result_line, _("Offset unknown")); 813 asprintf(&result_line, "%s %s", result_line, _("Offset unknown"));
814 asprintf(&perfdata_line, ""); 814 asprintf(&perfdata_line, "");
815 } else { 815 } else {
816 asprintf(&result_line, "%s Offset %.10g secs", result_line, offset); 816 asprintf(&result_line, "%s %s %.10g secs", result_line, _("Offset"), offset);
817 asprintf(&perfdata_line, "%s", perfd_offset(offset)); 817 asprintf(&perfdata_line, "%s", perfd_offset(offset));
818 } 818 }
819 if (do_jitter) { 819 if (do_jitter) {
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index fbe278c..87d02e1 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -578,16 +578,16 @@ int main(int argc, char *argv[]){
578 578
579 switch (result) { 579 switch (result) {
580 case STATE_CRITICAL : 580 case STATE_CRITICAL :
581 asprintf(&result_line, "NTP CRITICAL:"); 581 asprintf(&result_line, _("NTP CRITICAL:"));
582 break; 582 break;
583 case STATE_WARNING : 583 case STATE_WARNING :
584 asprintf(&result_line, "NTP WARNING:"); 584 asprintf(&result_line, _("NTP WARNING:"));
585 break; 585 break;
586 case STATE_OK : 586 case STATE_OK :
587 asprintf(&result_line, "NTP OK:"); 587 asprintf(&result_line, _("NTP OK:"));
588 break; 588 break;
589 default : 589 default :
590 asprintf(&result_line, "NTP UNKNOWN:"); 590 asprintf(&result_line, _("NTP UNKNOWN:"));
591 break; 591 break;
592 } 592 }
593 if(!syncsource_found) 593 if(!syncsource_found)
@@ -597,7 +597,7 @@ int main(int argc, char *argv[]){
597 asprintf(&result_line, "%s %s", result_line, _("Offset unknown")); 597 asprintf(&result_line, "%s %s", result_line, _("Offset unknown"));
598 asprintf(&perfdata_line, ""); 598 asprintf(&perfdata_line, "");
599 } else { 599 } else {
600 asprintf(&result_line, "%s Offset %.10g secs", result_line, offset); 600 asprintf(&result_line, "%s %s %.10g secs", result_line, _("Offset"), offset);
601 asprintf(&perfdata_line, "%s", perfd_offset(offset)); 601 asprintf(&perfdata_line, "%s", perfd_offset(offset));
602 } 602 }
603 if (do_jitter) { 603 if (do_jitter) {
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c
index ad7f6c4..60e2b5a 100644
--- a/plugins/check_ntp_time.c
+++ b/plugins/check_ntp_time.c
@@ -556,23 +556,23 @@ int main(int argc, char *argv[]){
556 556
557 switch (result) { 557 switch (result) {
558 case STATE_CRITICAL : 558 case STATE_CRITICAL :
559 asprintf(&result_line, "NTP CRITICAL:"); 559 asprintf(&result_line, _("NTP CRITICAL:"));
560 break; 560 break;
561 case STATE_WARNING : 561 case STATE_WARNING :
562 asprintf(&result_line, "NTP WARNING:"); 562 asprintf(&result_line, _("NTP WARNING:"));
563 break; 563 break;
564 case STATE_OK : 564 case STATE_OK :
565 asprintf(&result_line, "NTP OK:"); 565 asprintf(&result_line, _("NTP OK:"));
566 break; 566 break;
567 default : 567 default :
568 asprintf(&result_line, "NTP UNKNOWN:"); 568 asprintf(&result_line, _("NTP UNKNOWN:"));
569 break; 569 break;
570 } 570 }
571 if(offset_result == STATE_UNKNOWN){ 571 if(offset_result == STATE_UNKNOWN){
572 asprintf(&result_line, "%s %s", result_line, _("Offset unknown")); 572 asprintf(&result_line, "%s %s", result_line, _("Offset unknown"));
573 asprintf(&perfdata_line, ""); 573 asprintf(&perfdata_line, "");
574 } else { 574 } else {
575 asprintf(&result_line, "%s Offset %.10g secs", result_line, offset); 575 asprintf(&result_line, "%s %s %.10g secs", result_line, _("Offset"), offset);
576 asprintf(&perfdata_line, "%s", perfd_offset(offset)); 576 asprintf(&perfdata_line, "%s", perfd_offset(offset));
577 } 577 }
578 printf("%s|%s\n", result_line, perfdata_line); 578 printf("%s|%s\n", result_line, perfdata_line);