nsclient++ configuration, i am lost

Shawn Kovalchick bamapookie at gmail.com
Sat Apr 22 18:13:57 CEST 2006


What error message are you getting?

Have you tried the check from the command line on the host?
run nsclient++ /test and try a few commands

Have you tried the check from the command line on the Nagios server?
run the check_nrpe line replacing all the arguements with their actual
values

In the NSC.ini file, have you:
uncommented the appropriate modules?
set the allowed hosts line?
Allowed arguements?
restart the nsclient++ process after making these changes

On 4/21/06, ThomasC. <shoktai at gmail.com> wrote:
>
> I installed nsclient++. Put in checkcommands.cfg according to
> documentation the check :
>
> define command {
>          command_name check_exchangeDB
>          command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c
> CheckFileSize -a MaxWarn=15G MaxCrit=16G File=d:\Program
> Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program
> Files\Exchsrvr\MDBDATA\priv1.edb
>    }
>
> What i dont understand is that it uses nrpe but the documentation doesnt
> show how to set the nrpe command.
>
> I had enabled in NSC.ini the needed module :
>
> [modules]
>
> ;CheckSystem.dll
>
> I have tried a nrpe handler like this
>
> [NRPE Handlers]
> check_exchangeDB=inject CheckFileSize MaxWarn=15G MaxCrit=16G
> File=d:\Program Files\Exchsrvr\MDBDATA\priv1.stm File=d:\Program
> Files\Exchsrvr\MDBDATA\priv1.edb
>
> but it doesnt work.
>
> Can someone help me please?
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060422/300c7ea2/attachment.html>


More information about the Users mailing list