Change time betwen View pages?

This support forum board is for questions relating to Nagios Fusion.
devinacosta
Posts: 21
Joined: Mon Jun 11, 2012 11:57 am

Change time betwen View pages?

Post by devinacosta »

Is it possible within Nagios Fusion to change the amount of time it stays on a page on the Nagios Views page? It obviously lets you stop/start rotation, but don't see a way to set the time on pages?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Change time betwen View pages?

Post by lmiltchev »

If you want to adjust the rotation speed, you can use the slider on the right hand side. Please, review our documentation on using Views:

http://assets.nagios.com/downloads/nagi ... _Views.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Change time betwen View pages?

Post by eloyd »

*Yawn*

Time to wake this thread up. Nagios Fusion (2014R1.1) has no slider page on the view rotation. So the question still stands.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Change time betwen View pages?

Post by ssax »

This actually looks like it's a bug, I see the code for it there, let me see if I can find a solution.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Change time betwen View pages?

Post by eloyd »

I love finding two year old bugs in underused software forum postings. :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Change time betwen View pages?

Post by ssax »

What's interesting is that when I reverted my VM it works properly, I'm unable to get it to not work now.

Please run this command and send me the (sanitized) /tmp/fusion_meta.txt file:

Code: Select all

echo "select * from fusion_usermeta" | psql nagiosfusion nagiosfusion > /tmp/fusion_meta.txt
Thank you
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Change time betwen View pages?

Post by eloyd »

Code: Select all

# cat /tmp/fusion_meta.txt
 usermeta_id | user_id |     keyname     |                                                                                                                                                                                                                                                                                                                                                     keyvalue                                                                                                                                                                                                                                                                                                                                                     | autoload
-------------+---------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------
         149 |      18 | userlevel       | 255                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |        1
         171 |      18 | license_version | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |        0
         172 |      18 | lastlogintime   | 1442026322                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |        1
         175 |      18 | views           | a:3:{i:0;a:3:{s:2:"id";s:6:"ccc0m7";s:3:"url";s:147:"http://X.X.X.X/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=10";s:5:"title";s:26:"Nagios XI Service Problems";}i:1;a:3:{s:2:"id";s:6:"7qsnkc";s:3:"url";s:83:"http://X.X.X.X/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28";s:5:"title";s:28:"Nagios Core Service Problems";}i:2;a:3:{s:2:"id";s:6:"dvtg7b";s:3:"url";s:46:"/nagiosfusion/dashboards/dashboard.php?id=home";s:5:"title";s:17:"Tactical Overview";}}                                                                                                                             |        0
         173 |      18 | timesloggedin   | 4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |        1
         174 |      18 | dashboards      | a:1:{i:0;a:4:{s:2:"id";s:4:"home";s:5:"title";s:9:"Home Page";s:4:"opts";N;s:8:"dashlets";a:2:{i:0;a:5:{s:2:"id";s:8:"f5o0fion";s:4:"name";s:10:"tacsummary";s:5:"title";s:16:"Tactical Summary";s:4:"opts";a:6:{s:4:"left";i:0;s:3:"top";i:0;s:6:"height";i:146;s:5:"width";i:950;s:6:"zindex";s:1:"0";s:6:"pinned";i:1;}s:4:"args";a:1:{s:3:"nsp";s:32:"8f9f43dbe3c49997a7408543ea982aa0";}}i:1;a:5:{s:2:"id";s:8:"dt08qclc";s:4:"name";s:11:"fusedstatus";s:5:"title";s:20:"Fused Status Summary";s:4:"opts";a:6:{s:4:"left";s:2:"15";s:3:"top";s:3:"168";s:6:"zindex";s:1:"2";s:6:"height";i:121;s:5:"width";i:925;s:6:"pinned";i:1;}s:4:"args";a:1:{s:3:"nsp";s:32:"8f9f43dbe3c49997a7408543ea982aa0";}}}}} |        0
(6 rows)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Change time betwen View pages?

Post by ssax »

I think the problem is that you have your home dashboard in a view, not sure why that would cause a problem.

Remove your home dashboard view (Tactical Overview) and see if the slider shows up.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Change time betwen View pages?

Post by ssax »

I was able to replicate it by adding the home dashboard as a view and as soon as I removed it, it started working. When I added it back in though, it's not replicating it.

Let me know if yours works when you remove that.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Change time betwen View pages?

Post by eloyd »

Yah, I cannot consistently recreate the problem, now that I've removed it and put it back. I think it might be a browser JS caching thing, to be honest. That's a hunch, not a theory.

Oh well, it seems to be working. Moving on to my next issue (a cosmetic one) which I will post shortly.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Locked