In regards to your NCSA Mismatch, are you intending to use NSClient++ through NCSA or only through the check_nt option? If you aren't using NCSA, you may need to double check your nsc.ini file to make sure it is commented out. <div>
<br></div><div>There is a pretty good tutorial here <a href="http://trac.nakednuns.org/nscp/wiki/doc/usage/nagios">http://trac.nakednuns.org/nscp/wiki/doc/usage/nagios</a> for configuring NSClient for simple check_nt usage.</div>
<div><br></div><div>As far as the other error goes, I'm not sure how NSClient handles mapped drives. I know there was a post a while back about someone accidently monitoring a CDROM drive that caused errors.</div><div>
<br></div><div>You can also run the NSClient from the command line with /test argument and then run any command through there to see what the output is. That may help identify what is causing the 139 error. (here is the link on how to use the /test argument in NSClient <a href="http://trac.nakednuns.org/nscp/wiki/doc/Usage">http://trac.nakednuns.org/nscp/wiki/doc/Usage</a>)</div>
<div>Ken</div><div><br><div class="gmail_quote">2009/3/23 Alejandro Sánchez Meroño <span dir="ltr"><<a href="mailto:alejandro.sanchez@ite.es">alejandro.sanchez@ite.es</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello everybody,<br>
<br>
I am pretty novice at Nagios, so I hope that my question were easy to answer, or at least, I could get a hint...<br>
<br>
The thing is that I want to monitor a mapped unit on a Windows host, just to check the available disk space (i.e., drive U:, that might be "myuser at server\users").<br>
<br>
What I have done is the following:<br>
<br>
At windows.cfg:<br>
<br>
(...)<br>
define host {<br>
        use             windows-server<br>
        host_name       myhost<br>
        alias           My Windows host<br>
        address xxx.xxx.xxx.xxx<br>
}<br>
(...)<br>
define service {<br>
        use                             generic-service<br>
        host_name                       myhost<br>
        service_description     Check C: disk space<br>
        check_command           check_nt!USEDDISKSPACE!-l c -w 80 -c 90<br>
}<br>
define service {<br>
        use                             generic-service<br>
        host_name                       myhost<br>
        service_description     Check mapped unit U: disk space<br>
        check_command           check_nt!USEDDISKSPACE!-l u -w 80 -c 90<br>
}<br>
<br>
(I had previously installed NSClient++ at the host...).<br>
<br>
The thing is that I get a correct answer from C:, but U: gives me the error "Return code of 139 is out of bounds".<br>
<br>
So obviously I guess that it's not that what I should have done.<br>
<br>
I checked the log file at the Windows host and it only says -repeatedly: NSCA Configuration missmatch. I don't think it has anything to see with my problem though...<br>
<br>
Any hint?<br>
<br>
Thanks in advance.<br>
<br>
         Alejandro<br>
<br>
<br>
==<br>
Alejandro Sanchez - <a href="mailto:alejandro.sanchez@ite.es">alejandro.sanchez@ite.es</a><br>
IT Department<br>
Institute of Electrical Technology - <a href="http://www.ite.es" target="_blank">www.ite.es</a><br>
Valencia - Spain<br>
<br>
------------------------------------------------------------------------------<br>
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are<br>
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and<br>
easily build your RIAs with Flex Builder, the Eclipse(TM)based development<br>
software that enables intelligent coding and step-through debugging.<br>
Download the free 60 day trial. <a href="http://p.sf.net/sfu/www-adobe-com" target="_blank">http://p.sf.net/sfu/www-adobe-com</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" target="_blank">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<br>
</blockquote></div><br></div>