Page 1 of 1

Auth File Method - Not Working

Posted: Wed Dec 18, 2019 3:31 pm
by mamir
Hello Support,

I tried to setup the Auth File Method for my Nagios Xi on Prem. See the attachments, Messages.

Please, help me resolve and also I need to have this file encrypted and secure as for security. Thanks!

Re: Auth File Method - Not Working

Posted: Wed Dec 18, 2019 3:57 pm
by scottwilkerson
It's the same as your post here
https://support.nagios.com/forum/viewto ... 89#p296089

If the user you are using either via the username/password field or the auth file doesn't have the appropriate permissions you are not going to get the Access Denied like you are.

Please make sure you have completed every step in this document for the server and the user you are using
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 12:12 pm
by mamir
Hello Support,

Its not permission, I manually typed the same username and password in the Authinfo the same username password works, however when I put the same exact username and password into the Auth File it gives me that error, I have attached previously.

See Attached the Authenication file. I just created now again. Also, thats how its format as below.

username=test.account
password=Welcome12345678!

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 12:30 pm
by scottwilkerson
When running the wizard you have

Code: Select all

/usr/local/nagios/etc/authorization.txt

but your screenshot shows

Code: Select all

/usr/local/nagiosxi/etc/wmi_auth.txt

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 12:41 pm
by mamir
Yea, actually now im just below as below. The other file I have removed. I created this new file.

/usr/local/nagiosxi/etc/wmi_auth.txt

Please, assist me.

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 1:08 pm
by mamir
Lets have a remote session without Audio.

Please, send me a link, so i can show to you my steps.

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 1:53 pm
by scottwilkerson
Yea, actually now im just below as below. The other file I have removed. I created this new file.

/usr/local/nagiosxi/etc/wmi_auth.txt

Please, assist me.
You realize those are different directories correct?

Code: Select all

/usr/local/nagios/etc
vs

Code: Select all

/usr/local/nagiosxi/etc
Before we setup any remote session I'm going to need you to open a ticket at
https://support.nagios.com/tickets/

Then you can reference this thread for the support tech.

Please give as much detail as possible in creating the ticket

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 3:38 pm
by mamir
I have created the ticket. Lets have remote session.

Re: Auth File Method - Not Working

Posted: Thu Dec 19, 2019 3:51 pm
by benjaminsmith
Hi @mamir,

I see you have an open ticket for this issue in our ticketing system, so I will be closing this thread. Please post any new questions to the support ticket. Thanks.