User Nagios XI - Link to Dashboard by-passing Auth

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jstormshak
Posts: 27
Joined: Mon May 04, 2020 11:41 am

User Nagios XI - Link to Dashboard by-passing Auth

Post by jstormshak »

greeting!
I'm using Nagios XI 5.8.7 on RHEL 7.9 Linux. I'm asking for community help on getting the proper URL constructed so that I can link Users to their dashboards by-passing auth login screen by passing in username and apikey which they are configured to use (apikey). Every time I use the permalink, it sends me to the login screen. I've added the username and apikey to the URL but with no success. Can someone help to see how that should be constructed or even if this is possible to do. Also, is it also possible to ensure that their session never times-out? The goal is to link this into a Confluence page for quick at a glance status (and yes, this is a poor man's attempt at an operational screen outside the XI console)...

I also have the iframes enabled to allow for this. This is the permalink:
https://myserver/nagiosxi/dashboards/?x ... d%3DURAvOR

Can the username/apikey even be passed to this PHP?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: User Nagios XI - Link to Dashboard by-passing Auth

Post by gsmith »

Hi

You shouldn't be able to do this.

The best way to accomplish what you want is to use the API objects/hoststatus and objects/servicestatus calls.

You can find documentation about them under the Help menu:
Image020.jpg
The results are text-based in JSON format so you would have to see if Confluence has an extension to
accept JSON data and output graphics on a webpage, or come up with something custom.

Thanks
You do not have the required permissions to view the files attached to this post.
Locked