<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.gmailquote
{mso-style-name:gmail_quote;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’ll try to elaborate<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The problem is when I scan a drive off a particular server it doesn’t
work. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Let’s say I have 4 servers, I am scanning d: drive on all
4 servers 3 out of the 4 will work and return the fourth one will return an
error. </span>(Return code of 139 is out of bounds)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The client version that is running on all servers is 0.2.7<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have verified that all servers is hard drives being scanned
not cd drives.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto'><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Antonio Pereira<br>
National IT Coordinator<o:p></o:p></span></b></p>
<p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto'><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Coordinateur National de Technologies de l’Information</span></b><b><span
lang=FR style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><br>
</span></b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:black'>Tél./Tel. : (514) 341-8181, ext./poste 267<br>
Téléc./Fax. : (514) 341-1253<br>
Cell: (514) 514-444-6086<br>
Sans Frais/Toll Free: (888) 338-6266 ext./poste 267<br>
Courriel / E-mail. : <a href="mailto:apereira@duocom.ca"
title="mailto:apereira@duocom.ca
apereira@duocom.ca">apereira@duocom.ca</a><o:p></o:p></span></p>
<p class=MsoNormalCxSpMiddle style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto'><span style='color:#1F497D'> </span><span lang=FR style='font-size:
8.0pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p>
<p class=MsoNormal><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:blue'>Duocom Canada Inc.<br>
10000</span></b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:black'>, Cavendish Blvd.<br>
Ville St. Laurent (Québec) H4M 2V1<br>
</span><b><span lang=FR style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:blue'><a href="http://www.duocom.ca/" target="_blank"
title="http://www.duocom.ca/
www.duocom.ca">www.duocom.ca</a></span></b><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <b>On Behalf Of </b>Anthony
Montibello<br>
<b>Sent:</b> Tuesday, September 11, 2007 7:45 PM<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: [Nagios-users] Problems with check_nt<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>I am not sure I understand the problem correctly,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>is the error in question intermittent where it is there
then not there <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>or,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> every time you try that particular drive on that
particular server.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>if the latter have you tried check_nt from the command
line to test the command before adding to your configuration.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>what is the entire error output?<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Did your make sure the Windows Host has that drive
installed?<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>for example if it is a CDROM drive it may cause an error
(not sure what error) since it does not have freespace <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>What is the Windows client installed, <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>run check_nt -v CLIENTVERSION<br>
<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Since the different windows clients may deal with internal
errors differently it is posible that the output of a windows client is giving
this error while a different client would give a different output.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Tony (Author of NC_NEt)<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><br>
<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><span class=gmailquote>On 9/11/07, <b>Antonio Pereira</b>
<<a href="mailto:apereira@duocom.ca">apereira@duocom.ca</a>> wrote:</span>
<o:p></o:p></p>
<p class=MsoNormal>Hi,<br>
<br>
Yes I checked again.<br>
<br>
What I did is added other hosts selecting different drives trying c:, d:, e:
f:, etc. This differs depending on the server and I still get these random
results. It's odd. <br>
<br>
I even tried removing each drive and service and adding one at a time and still
the same result.<br>
Every single server that I scan the local c: it works fine. But when I start
scanning the next drives I start getting these random results. <br>
<br>
I am scanning 10 servers they all have c: drive. These work fine.<br>
<br>
I am scanning 4 servers they all have d: drive. 1 out 4 works<br>
<br>
I am scanning 2 servers they have e: drive Both work<br>
<br>
I am scanning 2 servers thay have f: drive 1 out 2 work. <br>
<br>
I haven't added all the servers yet but I figure this will do for
troubleshooting purposes.<br>
<br>
<br>
<br>
Antonio Pereira<br>
National IT Coordinator<br>
Coordinateur National de Technologies de l'Information <br>
Tél./Tel.: (514) 341-8181, ext./poste 267<br>
Téléc./Fax.: (514) 341-1253<br>
Cell: (514) 514-444-6086<br>
Sans Frais/Toll Free: (888) 338-6266 ext./poste 267<br>
Courriel / E-mail.: <a href="mailto:apereira@duocom.ca">apereira@duocom.ca </a><br>
<br>
Duocom Canada Inc.<br>
10000, Cavendish Blvd.<br>
Ville St. Laurent (Québec) H4M 2V1<br>
<a href="http://www.duocom.ca">www.duocom.ca</a><br>
<br>
<br>
-----Original Message-----<br>
From: Andreas Ericsson [mailto:<a href="mailto:ae@op5.se"> ae@op5.se</a>]<br>
Sent: Tuesday, September 11, 2007 4:27 PM<br>
To: Antonio Pereira<br>
Cc: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
Subject: Re: [Nagios-users] Problems with check_nt <br>
<br>
Antonio Pereira wrote:<br>
> Hello,<br>
><br>
><br>
><br>
> I am experiencing an issue that I don't understand<br>
><br>
><br>
><br>
> I have defined a check_nt command and I am scanning the disk space on
about 2 servers right now. 1 out of the 2 returns a result but then the2nd will
return an error message as follows <br>
><br>
><br>
><br>
> (Return code of 139 is out of bounds)<br>
><br>
<br>
139? Are you absolutely, 100% sure it's 139? It seems odd, because return codes<br>
are given as signed chars, which are normally not capable of handling numbers <br>
outside the range -128 to 127.<br>
<br>
It's done this way because, traditionally, programs return the additive inverse<br>
of the system error that caused the abnormal termination, or -1 if the
programmer<br>
was lazy. <br>
<br>
--<br>
Andreas
Ericsson
<a href="mailto:andreas.ericsson@op5.se">andreas.ericsson@op5.se</a><br>
OP5
AB
<a href="http://www.op5.se">www.op5.se</a><br>
Tel: +46
8-230225 Fax:
+46 8-230231 <br>
<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2005.<br>
<a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. <br>
::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<!--qsdbegin-->
<p> </p>
<br><hr color='#D2D3D2' noshade>
Avis
Le présent message n'est destiné qu'à la personne ou à l'entité à qui il est adressé et peut contenir des renseignements de nature privilégiée et confidentielle. Si le lecteur du présent message n'est pas le destinataire prévu ou encore la personne chargée de remettre ce message au destinataire prévu, veuillez nous aviser immédiatement. Toute diffusion, distribution ou reproduction des renseignements contenus dans ce message ou des documents qui lui sont joints est strictement interdite.
________________________________________
Notice
This message is intended only for the use of individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient or the person responsible for delivering the message to the intended recipient, please notify us immediately. Any disclosure, distribution or copying of this message or the information contained herein or attached hereto is strictly prohibited.<!--qsdend--><br></body></html>