Page 1 of 1

Your session has timed out

Posted: Tue Feb 16, 2016 12:47 pm
by dshearon
Good afternoon,

I am wondering if anyone has found a way around this issue. We are working to create a digital kiosk to display the Operations Center screen to our admins. I configured Nagios for auto login with a guest account and if I configure the kiosk to open the Nagios home page everything works fine. When I configure the kiosk to use the direct link to the Operations Center screen (http://internal-monitor.navexglobal.com ... en/noc.php) I get an error stating that the user session has timed out. Is there anyway around this other than logging into the home page first?

Re: Your session has timed out

Posted: Tue Feb 16, 2016 12:52 pm
by jomann
You can pass a username and ticket to the URL to automatically log you in, so you'd do noc.php?username=guest&ticket=xxxx where the ticket can be found in the Backend API component in the admin > manage components > configure section.

Re: Your session has timed out

Posted: Tue Feb 16, 2016 1:24 pm
by rkennedy
Yes, you should be able to use the API key for a specific user. Modify the ticket and username accordingly.

For example, https://192.168.4.254/nagiosxi/includes ... agiosadmin

Re: Your session has timed out

Posted: Tue Feb 16, 2016 2:02 pm
by dshearon
Worked perfectly, thanks for the help guys!

Re: Your session has timed out

Posted: Tue Feb 16, 2016 2:52 pm
by rkennedy
You're welcome. I typed out my response before lunch, and had not seen @jomann's response yet.

I'll go ahead and close this thread out while I'm here, feel free to open a new one if you ever need assistance in the future.