[Nagiosplug-checkins] CVS: nagiosplug/plugins check_hpjd.c,1.3,1.4

Subhendu Ghosh sghosh at users.sourceforge.net
Wed Aug 14 12:05:22 CEST 2002


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory usw-pr-cvs1:/tmp/cvs-serv1836

Modified Files:
	check_hpjd.c 
Log Message:
net-snmp v5x fix

Index: check_hpjd.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_hpjd.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** check_hpjd.c	19 Jun 2002 05:11:52 -0000	1.3
--- check_hpjd.c	14 Aug 2002 19:03:56 -0000	1.4
***************
*** 136,140 ****
  
  	/* get the command to run */
! 	sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address,
  					 community, query_string);
  
--- 136,140 ----
  
  	/* get the command to run */
! 	sprintf (command_line, "%s -m : -v 1 %s -c %s %s", PATH_TO_SNMPGET, address,
  					 community, query_string);
  
***************
*** 515,519 ****
  		("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n"
  		 "This plugin tests the STATUS of an HP printer with a JetDirect card.\n"
! 		 "Ucd-snmp must be installed on the computer running the plugin.\n\n");
  	print_usage ();
  	printf
--- 515,519 ----
  		("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n"
  		 "This plugin tests the STATUS of an HP printer with a JetDirect card.\n"
! 		 "Net-snmp must be installed on the computer running the plugin.\n\n");
  	print_usage ();
  	printf





More information about the Commits mailing list