Page 2 of 2

Re: ERROR: The NRDP Server said NO TOKENS

Posted: Wed Jun 30, 2021 9:01 am
by optionstechnology
sent in pm

Re: ERROR: The NRDP Server said NO TOKENS

Posted: Wed Jun 30, 2021 11:58 am
by gsmith
Hi

That looks good.

From a web browser use this url https://NAGIOSXIIP/nrdp

On the resulting page enter NrDpOpTioNSRAN in the token field,
and hit the "Submit JSON Check Result" button.
Let me know what happens.

Also please send me a copy of: /usr/local/nrdp/server/debug.log

Thanks

Re: ERROR: The NRDP Server said NO TOKENS

Posted: Thu Jul 01, 2021 5:55 am
by optionstechnology
it works fine from the browser

there is no debug log at that location

Re: ERROR: The NRDP Server said NO TOKENS

Posted: Thu Jul 01, 2021 1:58 pm
by gsmith
hey there,

Please do the following six commands on the remote server:

Code: Select all

/usr/local/nrdp/clients/send_nrdp.sh -u http://<yourXIserver>/nrdp -t yourtoken -H "testfromremote" -S 0 -o "This is test 1"
/usr/local/nrdp/clients/send_nrdp.sh -u https://<yourXIserver>/nrdp -t yourtoken -H "testfromremote" -S 0 -o "This is test 1"
 php /usr/local/nrdp/clients/send_nrdp.php --url=http://<yourXIserver>/nrdp --token=yourtoken --host="testfromremote" --state=0 --output="This is test 1"
[php /usr/local/nrdp/clients/send_nrdp.php --url=https://<yourXIserver>/nrdp --token=yourtoken --host="testfromremote" --state=0 --output="This is test 1"
python /usr/local/nrdp/clients/send_nrdp_py2.py -u http://<yourXIserver>/nrdp -t yourtoken -H "testfromremote" -S 0 -o "This is test 1"
python /usr/local/nrdp/clients/send_nrdp_py2.py -u https://<yourXIserver>/nrdp -t nrdptoken -H "testfromremote" -S 0 -o "This is test 1"
What Operating system and what version of Nagios XI are you using?

I will need you to get the cert for your Nagios XI server. Will be sending the info on how to do that shortly.

Thanks