diff options
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r-- | plugins/check_ntp_peer.c | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |