NRDS check fails with NRDP : NO REQUEST HANDLER

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jonarnar
Posts: 7
Joined: Fri Jul 06, 2012 12:21 pm

NRDS check fails with NRDP : NO REQUEST HANDLER

Post by jonarnar »

Hi,

I'm using the newest version of Nagios and I've just downloaded and installed NRDS (even downloaded http://assets.nagios.com/downloads/nrdp/nrds.tar.gz and manually installed the server again).

I'm able to create a test and install the NRDS client on the windows machine; which downloads the plugin but gets an error sending data back to nagios (from the NRDS_Debug log):

11/28/2012 2:17:00 PM XML to be posted to NRDP : <checkresult type='service' checktype='1'><hostname>XXX-XXX-XXX001</hostname><servicename>check_xxx</servicename><state>0</state><output>TCP+OK+%2D+0%2E000+second+response+time+on+port+80+%7Ctime%3D0%2E000363s%0D%0D%0A</output></checkresult></checkresults>
11/28/2012 2:17:00 PM post response from NRDP : NO REQUEST HANDLER

The config file looks like this:

[settings]
CONFIG_VERSION=0.6
CONFIG_OS=Windows (64-bit)
CONFIG_NAME=xxx_check
URL=http://nagios/nrdp/
TOKEN=lu7a4k5qi4c3
HOSTNAME=xxx-xxx-xxx001
PLUGIN_DIR=C:\Program Files\Nagios\NRDS_Win\plugins
SEND_NRDP=
TMPDIR=
COMMAND_PREFIX=
LOG_FILE=C:\Program Files\Nagios\NRDS_Win\logs\NRDS_Debug.log
UPDATE_CONFIG=1
UPDATE_PLUGINS=1

[services]
command[check_xxx] = $PLUGIN_DIR$\check_tcp.exe -H xxx-xxx-xxxb001 -p 80 -w 100 -c 200

What am I missing ??
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRDS check fails with NRDP : NO REQUEST HANDLER

Post by slansing »

I noticed when providing IP's you placed "x" where the numbers would be, does this hold true for this line too?

Code: Select all

URL=http://nagios/nrdp/
Where the nagios server's IP should be. Just saw that difference it's probably nothing. If there is no IP there, you should replace "nagios" with the server's IP.
jonarnar
Posts: 7
Joined: Fri Jul 06, 2012 12:21 pm

Re: NRDS check fails with NRDP : NO REQUEST HANDLER

Post by jonarnar »

nagios is the name of the nagios server ... I can see the client connecting and the server giving the NO REQUEST HANDER error back (using tcpdump)
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS check fails with NRDP : NO REQUEST HANDLER

Post by yancy »

jonarnar,

Can you test submitting a NRDP check using the browser.

From the windows machine, navigate to:

http://nagios/nrdp/

enter your token and test if the check arrives in unconfigured objects.

-Yancy
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: NRDS check fails with NRDP : NO REQUEST HANDLER

Post by yancy »

jonarnar,

Looking at your output, it looks like the post is failing because it was missing the opening "<checkresults>" tag

the xml should look like this

<?xml version='1.0'?>
<checkresults><checkresult type='service' checktype='1'><hostname>XXX-XXX-XXX001</hostname><servicename>check_xxx</servicename><state>0</state><output>TCP+OK+%2D+0%2E000+second+response+time+on+port+80+%7Ctime%3D0%2E000363s%0D%0D%0A</output></checkresult></checkresults>

The most recent version is R3. Please try deleting your current c":\program files\nagios" directory and reinstall the latest version.

http://exchange.nagios.org/directory/Ad ... in/details

Thanks,

-Yancy
jonarnar
Posts: 7
Joined: Fri Jul 06, 2012 12:21 pm

Re: NRDS check fails with NRDP : NO REQUEST HANDLER

Post by jonarnar »

Yup, that seems to have fixed the problem.

Downloaded the new R3 version and edited nrdsconfigupdate.inc.php
Locked