ERROR: The NRDP Server said NO TOKENS
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: ERROR: The NRDP Server said NO TOKENS
sent in pm
Re: ERROR: The NRDP Server said NO TOKENS
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
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
it works fine from the browser
there is no debug log at that location
there is no debug log at that location
Re: ERROR: The NRDP Server said NO TOKENS
hey there,
Please do the following six commands on the remote server:
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
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"
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