[Nagiosplug-checkins] CVS: nagiosplug/plugins check_tcp.c,1.36,1.37

Ton Voon tonvoon at users.sourceforge.net
Tue Nov 11 02:44:04 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv28684

Modified Files:
	check_tcp.c 
Log Message:
Added perfdata


Index: check_tcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** check_tcp.c	22 Aug 2003 06:22:38 -0000	1.36
--- check_tcp.c	11 Nov 2003 10:43:07 -0000	1.37
***************
*** 333,337 ****
  		printf (" [%s]", status);
  
! 	printf ("|time=%ldus\n", microsec);
  
  	return result;
--- 333,341 ----
  		printf (" [%s]", status);
  
! 	printf (" |%s\n", perfdata ("time", microsec, "us",
! 		TRUE, warning_time*1000,
! 		TRUE, critical_time*1000,
! 		TRUE, 0,
! 		TRUE, socket_timeout*1000));
  
  	return result;





More information about the Commits mailing list