diff options
Diffstat (limited to 'web/attachments/427934-check_nt-uptime-perfdata.diff')
-rw-r--r-- | web/attachments/427934-check_nt-uptime-perfdata.diff | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/attachments/427934-check_nt-uptime-perfdata.diff b/web/attachments/427934-check_nt-uptime-perfdata.diff new file mode 100644 index 0000000..2423c42 --- /dev/null +++ b/web/attachments/427934-check_nt-uptime-perfdata.diff | |||
@@ -0,0 +1,10 @@ | |||
1 | --- plugins/check_nt.c.v0 2011-11-07 22:02:22.000000000 +0100 | ||
2 | +++ plugins/check_nt.c 2011-11-07 22:05:00.000000000 +0100 | ||
3 | @@ -202,7 +202,7 @@ int main(int argc, char **argv){ | ||
4 | updays = uptime / 86400; | ||
5 | uphours = (uptime % 86400) / 3600; | ||
6 | upminutes = ((uptime % 86400) % 3600) / 60; | ||
7 | - asprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)"),updays,uphours, upminutes); | ||
8 | + asprintf(&output_message, _("System Uptime - %u day(s) %u hour(s) %u minute(s)|uptime=%lu"), updays, uphours, upminutes, uptime); | ||
9 | return_code=STATE_OK; | ||
10 | break; | ||