NRDP - NO REQUEST HANDLER

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: NRDP - NO REQUEST HANDLER

Post by nscott »

If he is going to run this

Code: Select all

curl http://***.***.***.***/nrdp/?cmd=hello&token=**************
He is going to need single quotes for sure, & will spin it off into a new shell, he'll need to wrap that in quotes, preferably singles unless he is using some some of variable expansion to do it

Code: Select all

curl 'http://***.***.***.***/nrdp/?cmd=hello&token=**************'
In fact I'd be interested in seeing the raw curl dump from his original command.
Nicholas Scott
Former Nagios employee
ssa_nagios
Posts: 38
Joined: Fri Jun 13, 2014 12:52 pm

Re: NRDP - NO REQUEST HANDLER

Post by ssa_nagios »

tmcdonald wrote:Just so we can verify, could you please post both the command you are running and the output? And are you populating both the IP address *and* the token? Sorry if this sounds basic, but we need to make sure that you are typing exactly what you should be.
Yes I used the IP address and the assigned token that was setup.
ssa_nagios
Posts: 38
Joined: Fri Jun 13, 2014 12:52 pm

Re: NRDP - NO REQUEST HANDLER

Post by ssa_nagios »

nscott wrote:If he is going to run this

Code: Select all

curl http://***.***.***.***/nrdp/?cmd=hello&token=**************
He is going to need single quotes for sure, & will spin it off into a new shell, he'll need to wrap that in quotes, preferably singles unless he is using some some of variable expansion to do it

Code: Select all

curl 'http://***.***.***.***/nrdp/?cmd=hello&token=**************'

I re-ran the curl command with single quotes around the http portion as shown above and got the following

Code: Select all

curl 'http://***.***.***.***/nrdp/?cmd=hello?&token=********************'
NO REQUEST HANDLER

Code: Select all

curl 'http://***.***.***.***/nrdp/?cmd=nrdsgetclient&token=*******************&configname=***************'
NO REQUEST HANDLER



In fact I'd be interested in seeing the raw curl dump from his original command.
Here is the raw curl dump from the original command

Code: Select all

* About to connect() to ***.***.***.***  port 80 (#0)
*   Trying 10.61.175.6... connected
* Connected to ***.***.***.*** (***.***.***.*** ) port 80 (#0)
> GET /nrdp/?cmd=nrdsgetclient&token=****************&configname=******************HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: ***.***.***.*** 
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Tue, 12 Aug 2014 16:44:27 GMT
< Server: Apache/2.2.15 (Red Hat)
< X-Powered-By: PHP/5.3.3
< Content-Length: 18
< Connection: close
< Content-Type: text/html; charset=UTF-8
< 
* Closing connection #0
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP - NO REQUEST HANDLER

Post by tmcdonald »

We might want to move this to a ticket at this point. If you're a customer (as it appears you are) can you send an email to [email protected] referencing this thread?
Former Nagios employee
ssa_nagios
Posts: 38
Joined: Fri Jun 13, 2014 12:52 pm

Re: NRDP - NO REQUEST HANDLER

Post by ssa_nagios »

tmcdonald wrote:We might want to move this to a ticket at this point. If you're a customer (as it appears you are) can you send an email to [email protected] referencing this thread?
I sure will send an e-mail to support. Thanks for the help!
Locked