<div dir="ltr">Folks,<br><br>At the beginning of version 2.0 of the contrib/check_mssql.sh script, the following file gets created:<br><br>Line 67: errorfile=`$mktempcmd /tmp/$hostname.XXXXXX`<br><br>However, upon "successful" completion, the cleanup command issued is:<br>
<br>Line 95: $rmcmd -f $tmpfile $resultfile;<br><br>This means that the $errorfile created above isn't properly cleaned up, and quickly starts to clutter up /tmp .<br><br>The other cleanup command,<br><br>Line 102: $rmcmd -f $tmpfile $resultfile $errorfile<br>
<br>never gets executed, due to the fact that the script exits at the end of the if/else block starting with:<br><br>Line 88: if [ "$resultfileln" == "2" ]; then<br><br>This appears to still be the case in the snapshot at <a href="http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-trunk-200809101200.tar.gz">http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-trunk-200809101200.tar.gz</a><br>
<br>Romain Komorn<br></div>