Page 3 of 3

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Tue Nov 17, 2015 6:03 pm
by ssax
Willem, do you think that should be a per user setting to expand the views by default?

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Tue Nov 17, 2015 6:05 pm
by ssax
Woops, sorry, saw it in your bug report.

I could probably whip something up if it's something that currently causes you headaches?

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Wed Nov 18, 2015 4:11 am
by WillemDH
I could probably whip something up if it's something that currently causes you headaches?
Well we are using autoit to move the mouse to the blue expand icon and click it, but somehow sometimes it misses the ball. (or the button)
And yes we would only need this feature for one user actually. It's a user specially made to run these infoscreens with views to dashboardsa and nagVis maps.

I'm REALLY REALLY looking forward to the NagVis upgrade with integrated authentication, cause that is also one of our major and oldest headaches. (it actually was one of my earlier feature requests http://tracker.nagios.com/view.php?id=423) And without this 'integrated authentication we will still need AutoIt https://www.autoitscript.com/site/autoit/ I fear.

The ultimate goal would be some way to boot a terminal every day automatically which spawns a web browser such as Firefox or Chrome which automatically logs in and starts the view rotation all without user interaction (and without the need to enter the NagVis password). I achieved this with AutoIt, but 1/4 days it seems to fail.

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Wed Nov 18, 2015 5:43 pm
by ssax
*** Note: This will get reverted if you upgrade and will need to be reimplemented.
*** Make sure that you have known-good backups/vm snapshots before making any modifications

Unzip the attached file, edit it and replace "nagiosadmin" with whatever username (case sensitive) that you want.
pageparts.inc.php.zip
Replace this file with that edited file:

Code: Select all

/usr/local/nagiosxi/html/includes/pageparts.inc.php

Let me know if that works for you.

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Thu Nov 19, 2015 10:22 am
by edward.bosco
Yes.

Most appreciate people's thoughts on how to approach this.

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Thu Nov 19, 2015 11:54 am
by rkennedy
Did this solution work for you?

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Fri Jan 15, 2016 2:54 am
by WillemDH
Sean, Clint,

I was able to test the patched pageparts.inc.php and this works perfectly! The Views page get expanded as expected (after entering the NagVIs password) It would be super cool if this patch would be implemented into new releases. i'm sure this is a feature that would be loved by other users too!

Grtz and tx!

Willem

Re: "Slideshow" multiple dashboards on a single screen?

Posted: Fri Jan 15, 2016 10:56 am
by lmiltchev
edward.bosco, let us know if the posted above solution works for you. Is it OK if we lock this topic and mark it as resolved?