[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_disk_smb.pl,1.4,1.5

Subhendu Ghosh sghosh at users.sourceforge.net
Wed Aug 14 12:18:11 CEST 2002


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

Modified Files:
	check_disk_smb.pl 
Log Message:
patch for admin shares


Index: check_disk_smb.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_disk_smb.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** check_disk_smb.pl	20 Jun 2002 04:27:38 -0000	1.4
--- check_disk_smb.pl	14 Aug 2002 19:17:13 -0000	1.5
***************
*** 65,69 ****
  
  ($opt_H) || ($opt_H = shift) || usage("Host name not specified\n");
! my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+)/);
  ($host) || usage("Invalid host: $opt_H\n");
  
--- 65,69 ----
  
  ($opt_H) || ($opt_H = shift) || usage("Host name not specified\n");
! my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+\$?)/);
  ($host) || usage("Invalid host: $opt_H\n");
  





More information about the Commits mailing list