Gabor HALASZ irta:
 > > "w=s" => \$opt_w, "warning=s" => \$opt_w,
 > > ($opt_w) || ($opt_w = shift) || ($opt_w = 85);
 > > my $warn = $1 if ($opt_w =~
 > > /^([0-9]{1,2}\%?|100\%?|[0-9]+[kMG])$/);
 > > ($warn) || usage("Invalid warning threshold: $opt_w\n");
 > > ^- ez a hibauzenet!!!
 > > // ..stb.
 > >
 >
 > A w vagy warnings parameter nem illeszkedik a fenti regexpre.
 >
 >
 >

Azaz a -s parametert nem fogadja el? 
/^([0-9]{1,2}\%?|100\%?|[0-9]+[kMG])$/
Pedig a -s parameterrel adhato meg a tesztelni kivant "samba 
share"-t. A "check_disk_smb --help" benne van.
Parancssorbol jo, nagios-ban nem... Hibas a perl script?

Gabor

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz