<div style="direction: ltr;">If you define it in the NSC.ini file, then you don't need to pass the arguements from check_nrpe.<br><br>Using the handler set in the the NSC.ini file, try this:<br><br>From the client machine:
<br>nsclient++ /test<br>check_exchangeDB
<br><br>From the Nagios Server:</div><span class="q"><br><span>../libexec/check_nrpe -H catorsv03 -c check_exchangeDB<br><br>Also, about the bind error you are getting:  Are you getting that when you run test?  If so, that just means that nsclient is already running, and the test instance can't connect to the same port.  It is OK unless you get that when you run nsclient /start.
<br></span></span><br><div><span class="gmail_quote">On 4/24/06, <b class="gmail_sendername">ThomasC.</b> <<a href="mailto:shoktai@gmail.com">shoktai@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
First of all, thanks for your help.<br><br>> First, unless you have a specific need for it, I would disallow "nasty<br>> metacharacters."  They can, indeed, be nasty. :)<br><br>Done<br><br>> Second, for the space in "Program Files", put quotes around the entire
<br>> path and filename.  I believe you should use doublequotes, but I'm not<br>> sure.  I will check this on Monday.<br>> Try:<br>> ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G<br>> MaxCrit=16G File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm"
<br>> File="d:\Program Files\Exchsrvr\MDBDATA\priv1.edb"<br>><br><br>Done too<br><br><br>Anyway i don't think it will work. I still get that error :<br><br>2006-04-24 10:49:17: debug:.\NSClient++.cpp:305: Loading plugin:
<br>NSClient server...<br>2006-04-24 10:49:17: error:../../include\Socket.h:443: bind failed: 10048<br><br>Besides,<br>The command use check_nrpe<br><br>--> in NSC.ini i got<br>[NRPE Handlers]<br>check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G
<br>File="d:\Program Files\Exchsrvr\MDBDATA\priv1.stm" File="d:\Program<br>Files\Exchsrvr\MDBDATA\priv1.edb"<br><br>but the command is launched this way :<br><br>  ../libexec/check_nrpe -H catorsv03 -c check_exchangeDB -a MaxWarn=15G
<br>MaxCrit=16G File='d:\Program Files\Exchsrvr\MDBDATA\priv1.stm'<br>File='d:\Program Files\Exchsrvr\MDBDATA\priv1.edb'<br><br>So i have to define it (the command check_exchangeDB)  in the nrpe.cfg<br>file in order to work? Or do nsclient++ uses nrpe automatically...
<br><br><br>-------------------------------------------------------<br>Using Tomcat but need to do more? Need to support web services, security?<br>Get stuff done quickly with pre-integrated technology to make your job easier
<br>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br><a href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
</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
<br></blockquote></div><br>