Suggestion: Basic Homepage for a specific user

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Suggestion: Basic Homepage for a specific user

Post by Box293 »

I'm reviewing how our monitoring wall currently works. It's a basic HTML file with framesets that point to the specific graphs and stuff on the XI host. It's something I quickly put together a while ago, but now I'm not happy with it :(

I really like the idea of just using the Home Dashboard instead with a bunch of dashlets. The only downside I can see is that the menu pane is always going to be visible along with the top and bottom status bars.

I've played around a bit and I really really like the ability to go to the following URL that does not have any of the menus, tabs or status bars:

Code: Select all

http://xihost/nagiosxi/includes/page-home-main.php 
So this got me thinking. The suggestion is:
  • To be able to turn a flag on for a specific user
    When that flag is on, when the user logs in they are taken to the page-home-main.php page
    They don't see any menus, tabs or status bars
    Clearly the only dashboard they will see is the Home Dashboard so all the objects I want to see will need to be put on the Home Dashboard
    When the flag is off, when the user logs in they get normal access like any other user
The reason why I don't want any menus, tabs or status bars is because when a user sees them on the monitoring wall screen they think they can interact with it. So they go find a keyboard/mouse and start fiddling around with stuff that they shouldn't. ARGH users :lol:
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Suggestion: Basic Homepage for a specific user

Post by mguthrie »

Lol, well there are a couple of existing tools that might get you what you need.

Idea #1: The super-simple (but not very fool proof) solution would be to click the small blue triangle at the top left of the dashboard, to expand it to full screen mode and just leave that on the NOC screen.

Idea #2: (This is more of a 'trick' than a feature, but it should be secure)
- Create a read-only user and then create the dashboard that you're looking for.
- Install the Backend API URL component, and grab the "ticket" value from one of the entries generated for that user
- Grab the permalink for the home dashboard from the Dashboards page
- Build a URL that you can bookmark for a dashboard-only view
- [url]http://<youraddress>/nagiosxi/dashboards/dashboard.php?id=home&username=readonly&ticket=vjetslg0[/url]

Idea #3. Enable automatic login for a readonly user. But that gives you some of the menus still.