aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_nt.c')
-rw-r--r--plugins/check_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index b9aae1c4..1c9dc0ad 100644
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
@@ -148,9 +148,9 @@ int main(int argc, char **argv){
else if(utilization >= lvalue_list[1+offset] && return_code<STATE_WARNING)
return_code=STATE_WARNING;
- asprintf(&output_message," (%lu min. %lu%)",lvalue_list[0+offset], utilization);
+ asprintf(&output_message," %lu%% (%lu min average)", utilization, lvalue_list[0+offset]);
asprintf(&temp_string,"%s%s",temp_string,output_message);
- offset+=3; //move accross the array
+ offset+=3; //move across the array
}
if (strlen(temp_string)>10) {
// we had at least on loop