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

Hari Sekhon harisekhon at gmail.com
Wed Nov 29 16:10:01 CET 2006


Hi,

   I'd like to submit a patch to add a case to check_disk_smb.pl for
when the remote machine has reached it's max number of connections. It
is only an if clause, could you please please please use the 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.

Instead of getting the lame "result of 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 (nagios-plugins-HEAD-200611291252).

Thanks

Hari Sekhon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_disk_smb.pl.patch
Type: application/octet-stream
Size: 209 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20061129/c2fffd44/attachment.obj>


More information about the Devel mailing list