Could not authenticate. Invalid token given.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ghattasjacob
Posts: 7
Joined: Sat Jul 13, 2019 9:07 am

Could not authenticate. Invalid token given.

Post by ghattasjacob »

Greetings!

I used the config wizard to integrate between NagiosXI and Nagioslogserver running on same host.
The wizard ran with no issues, I was able to see the queries during the Integration, add them as services, and get it running.
After the wizard ended, the Nagioslogserver and the services were added, but now all the services I added are in Unknown state.

Under the classification of:
Could not authenticate. Invalid token given.
[buffer too small to read octet string (17 < 17)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.my)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/EVENT-MIB.my)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)]

10xs In Advance.
Your help is appreciated.
Jacob
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Could not authenticate. Invalid token given.

Post by cdienger »

Are XI and NLS on installed on the same machine? This isn't a good setup and each solution should be installed on their own servers.

Which wizard did you run? Where are you see these errors? Can you provide screenshots?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ghattasjacob
Posts: 7
Joined: Sat Jul 13, 2019 9:07 am

Re: Could not authenticate. Invalid token given.

Post by ghattasjacob »

Yes, The two services are installed on the same machine.

Is there anyway to migrate the logserver to a second machine without loosing the last logs?

The wizard i ran was the Nagios Log Server wizard.
Screenshots attached :)
Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Could not authenticate. Invalid token given.

Post by cdienger »

Install NLS on a new server and then when prompted in the web UI, select the option to Connect to the existing cluster(node).

https://assets.nagios.com/downloads/nag ... luster.pdf

This will migrate data and configuration to the new node.

You then want to remove the old one:

https://assets.nagios.com/downloads/nag ... luster.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ghattasjacob
Posts: 7
Joined: Sat Jul 13, 2019 9:07 am

Re: Could not authenticate. Invalid token given.

Post by ghattasjacob »

Thank you :).
Will try that asap.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Could not authenticate. Invalid token given.

Post by scottwilkerson »

ghattasjacob wrote:Thank you :).
Will try that asap.
Let us know if we can be of further assistance
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ghattasjacob
Posts: 7
Joined: Sat Jul 13, 2019 9:07 am

Re: Could not authenticate. Invalid token given.

Post by ghattasjacob »

Scott,
Will I be loosing the old logs when I install a cluster server?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Could not authenticate. Invalid token given.

Post by scottwilkerson »

What I would recommend would be to Add a new Instance to your existing Log Server Cluster

Then, once you see Admin -> Cluster Status -> Status is green you can turn off elasticsearch on your XI server. Very similar to what @cdienger posted here
cdienger wrote:Install NLS on a new server and then when prompted in the web UI, select the option to Connect to the existing cluster(node).

https://assets.nagios.com/downloads/nag ... luster.pdf

This will migrate data and configuration to the new node.

You then want to remove the old one:

https://assets.nagios.com/downloads/nag ... luster.pdf
Following this you should not lose any logs
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ghattasjacob
Posts: 7
Joined: Sat Jul 13, 2019 9:07 am

Re: Could not authenticate. Invalid token given.

Post by ghattasjacob »

Thank you :).
This is working now.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Could not authenticate. Invalid token given.

Post by scottwilkerson »

ghattasjacob wrote:Thank you :).
This is working now.
Great!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked