NagVis/NagiosXI interface

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

NagVis/NagiosXI interface

Post by Fred Kroeger »

I've created a map in NagVis and am having problems when I click on the icon to display that HostGroup in Nagios.
When I click on the Nagvis icon, I can see that it has been redirected Ok to Nagios -
http://my-host/nagiosxi/includes/compon ... oup%20name
However all that is displayed is "Your session has timed out."

Note: I am accessing the NagVis Map direct using the guest login account and not from the Nagvis link in Nagios. ie" I don't to have people traverse through Nagios and all the Nagvis maps to display the one that they want.
This is my entry in Nagvis.conf which works because it allows the guest user to start nagvis.

Code: Select all

  AuthName "NagVis Access"
  AuthType Basic
  AuthUserFile /usr/local/nagiosxi/etc/htpasswd.users
  Require valid-user
I am accessing the Nagvis page direct by: http://my-host/nagvis/frontend/nagvis-j ... how=My_Map


Is there someting I need to setup in Nagios to allow these sessions to start up?

Regards... Fred Kroeger
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NagVis/NagiosXI interface

Post by mguthrie »

You'd have to either enable auto-login for the guest account, or you can pass the username and backend ticket in the URL to launch the XI session from that URL. The backend API URL component can give you the backend ticket for that user. So the URL would need to be something like:

http://my-host/nagiosxi/includes/compon ... icket=hash
Fred Kroeger
Posts: 588
Joined: Wed Oct 19, 2011 11:36 pm
Location: Perth, Western Australia
Contact:

Re: NagVis/NagiosXI interface

Post by Fred Kroeger »

I do have Auto Login enabled for the guest user, however when the session times out it doesn't give you a link to auto login again.

I think the issue here is that I am connecting directly to Nagvis and in turn , it is connecting to Nagios whn you select an Icon. So I really can't use that API interface as it is coming from inside Nagvis.

Basically what I'm trying to achieve is that I'm using a NAgvis Map in an Ops Centre - that is why I'm calling it direct - I don't want the Ops staff to run up Nagios, then login then , select Nagvis, then login, then select the map they need. Hovering over the Nagvis icons works fine in that it dispalys a table of the hosts/services. The problem is when I click on the icon and it actually tries to open the Nagios screen for that hostgroup. It doesn't have the logout link at the top of the screen to force me back to the login screen and run autologin again.

Hope this makes sense - or if you have any other suggestions on how we can achieve this display in the Ops Centre.

thanks... Fred
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagVis/NagiosXI interface

Post by scottwilkerson »

This is currently not available, however you can add it to a feature request on the XI tracker to be implemented in the future.

http://tracker.nagios.com/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked