[Nagiosplug-devel] check_disk_smb.pl patch for Max Number of Connections

Hari Sekhon hpsekhon at googlemail.com
Wed Nov 29 16:26:15 CET 2006


 I'd like to submit a patch for check_disk_smb.pl to take care of the case
when the remote machine has reached it's max number of connections. It
is only an if clause, could you please please please use this patch as
this is the second time I've had to edit the check script on the
nagios server.

I need this feature because we have used some workstations as file
servers and the Microsoft imposed connection limit has hit us (don't 
tell me how stupid
it is to use M$ workstations to share files, I'm trying to break this 
companies terrible habbits...)

Instead of getting the less generic "result from smbclient not 
suitable", it is
better to give the real reason which I have put as "Max number of
connections reached. Request refused" which at least tells you what
the problem is.

I have done the patch against today's HEAD 


Hari Sekhon

Hari Sekhon

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_disk_smb.pl.patch
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20061129/0055d5cf/attachment.ksh>

More information about the Devel mailing list