[Nagiosplug-checkins] CVS: nagiosplug/plugins check_nt.c,1.7,1.7.2.1
Ton Voon
tonvoon at users.sourceforge.net
Fri Mar 7 12:17:06 CET 2003
- Previous message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_smtp.c,1.10,1.11
- Next message: [Nagiosplug-checkins] CVS: nagiosplug/lib getaddrinfo.c,NONE,1.1 getaddrinfo.h,NONE,1.1 gethostbyname.c,NONE,1.1 gethostbyname.h,NONE,1.1 Makefile.am,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv26642
Modified Files:
Tag: r1_3_0
check_nt.c
Log Message:
Make output for CPU load nicer
Index: check_nt.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_nt.c,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -r1.7 -r1.7.2.1
*** check_nt.c 16 Feb 2003 08:25:58 -0000 1.7
--- check_nt.c 7 Mar 2003 20:16:18 -0000 1.7.2.1
***************
*** 149,155 ****
return_code=STATE_WARNING;
! asprintf(&output_message," (%lu min. %lu%)",lvalue_list[0+offset], utilization);
asprintf(&temp_string,"%s%s",temp_string,output_message);
! offset+=3; //move accross the array
}
if (strlen(temp_string)>10) {
--- 149,155 ----
return_code=STATE_WARNING;
! asprintf(&output_message," %lu%% (%lu min average)", utilization, lvalue_list[0+offset]);
asprintf(&temp_string,"%s%s",temp_string,output_message);
! offset+=3; //move across the array
}
if (strlen(temp_string)>10) {
- Previous message: [Nagiosplug-checkins] CVS: nagiosplug/plugins check_smtp.c,1.10,1.11
- Next message: [Nagiosplug-checkins] CVS: nagiosplug/lib getaddrinfo.c,NONE,1.1 getaddrinfo.h,NONE,1.1 gethostbyname.c,NONE,1.1 gethostbyname.h,NONE,1.1 Makefile.am,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list