summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--THANKS.in1
-rw-r--r--plugins/check_nt.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS.in b/THANKS.in
index be13a9d..0600051 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -307,3 +307,4 @@ Stéphane Bortzmeyer
307Luca Corti 307Luca Corti
308Jethro Carr 308Jethro Carr
309Evgeni Golov 309Evgeni Golov
310Oskar Liljeblad
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 1aa7ab5..cacf665 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -203,7 +203,7 @@ int main(int argc, char **argv){
203 updays = uptime / 86400; 203 updays = uptime / 86400;
204 uphours = (uptime % 86400) / 3600; 204 uphours = (uptime % 86400) / 3600;
205 upminutes = ((uptime % 86400) % 3600) / 60; 205 upminutes = ((uptime % 86400) % 3600) / 60;
206 xasprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)"),updays,uphours, upminutes); 206 xasprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)|uptime=%lu"), updays, uphours, upminutes, uptime);
207 if (check_critical_value==TRUE && uptime <= critical_value) 207 if (check_critical_value==TRUE && uptime <= critical_value)
208 return_code=STATE_CRITICAL; 208 return_code=STATE_CRITICAL;
209 else if (check_warning_value==TRUE && uptime <= warning_value) 209 else if (check_warning_value==TRUE && uptime <= warning_value)