Page 1 of 2
Change time betwen View pages?
Posted: Mon Jun 17, 2013 2:08 pm
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?
Re: Change time betwen View pages?
Posted: Mon Jun 17, 2013 2:57 pm
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
Re: Change time betwen View pages?
Posted: Thu Sep 17, 2015 8:39 am
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.
Re: Change time betwen View pages?
Posted: Thu Sep 17, 2015 4:03 pm
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.
Re: Change time betwen View pages?
Posted: Thu Sep 17, 2015 4:18 pm
by eloyd
I love finding two year old bugs in underused software forum postings.

Re: Change time betwen View pages?
Posted: Thu Sep 17, 2015 4:59 pm
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
Re: Change time betwen View pages?
Posted: Fri Sep 18, 2015 8:23 am
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)
Re: Change time betwen View pages?
Posted: Fri Sep 18, 2015 10:48 am
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.
Re: Change time betwen View pages?
Posted: Fri Sep 18, 2015 10:50 am
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.
Re: Change time betwen View pages?
Posted: Fri Sep 18, 2015 10:57 am
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.