ERROR: The NRDP Server said NO TOKENS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Re: ERROR: The NRDP Server said NO TOKENS

Post by optionstechnology »

sent in pm
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ERROR: The NRDP Server said NO TOKENS

Post 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
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Re: ERROR: The NRDP Server said NO TOKENS

Post by optionstechnology »

it works fine from the browser

there is no debug log at that location
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: ERROR: The NRDP Server said NO TOKENS

Post 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
Locked