diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-10 04:00:40 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-12-10 04:00:40 +0000 |
commit | c1b08bca7b9c01d01c805dc9e40a447d4526d2d5 (patch) | |
tree | 1a188f7899638ee0c9c885d0a8d339069ebbb87d /plugins/check_ntp_peer.c | |
parent | 5ed07cacfd0c7633ae726114c93ffe6f1b829b83 (diff) | |
download | monitoring-plugins-c1b08bca7b9c01d01c805dc9e40a447d4526d2d5.tar.gz |
OOPS! Last commit should have included these files.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1858 f882894a-f735-0410-b71e-b25c423dba1c
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 fbe278c9..87d02e17 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) { |