Administration Guides
Changing Eyeglass UI Behavior
Home
- Overview
- How to Extend the GUI Auto Logout Timer (we know, but at least it's here now)
- How to Disable the Twitter Software Notification Feed on the Login Page
- How to extend the UI API timeout for long running commands example Unlock My files
Overview
The Eyeglass UI behavior has some capabilities to change its behavior. The sections below cover these modification steps.
How to Extend the GUI Auto Logout Timer (we know, but at least it's here now)
- Requirements:
- 2.5.8.2 or later
- Login to Eyeglass as admin
- change to root
- sudo -s (enter admin password)
- nano /opt/superna/sca/data/system.xml
- under the section <process> add the tag below
- Enter the value in milliseconds before auto logout will apply. (we know, we had the same question for development but this does give you very fine grained control now, take minutes and multiple by 60000 to get milliseconds
- 30 minutes = 1800000
- 1 hour = 108000000
- <uitimeout>1800000</uitimeout>
- Control + X (to save and exit)
- systemctl restart sca
- done
How to Disable the Twitter Software Notification Feed on the Login Page
- Requires 2.5.6 or later
- Login to Eyeglass using ssh as admin
- sudo -s (enter root password)
- nano /srv/www/htdocs/eyeglass/js/eyeglass_globals.js
- Locate the tag twitter_feed_enabled:!0 and change to twitter_feed_enabled:0 (by removing the ! character before the 0)
- press ctrl key + w and type twitter to locate the correct section.
- Use arrow keys to the ! character and delete this character
- Save the file ctrl key + x
- Type Y to save the file
- Refresh the UI browser and the twitter feed will disappear.
- NOTE: This modification will not be persistent over upgrades
How to extend the UI API timeout for long running commands example Unlock My files
- When Eyeglass manages a large number of objects, some of the GUI windows or long running search for files with unlock my files with the Cluster Storage Monitor product. The timeout needs to be changed
- Default value is set to 45 seconds and if you need to change these parameters editing the file Eyeglasss_globals.js as follows:
- Login to Eyeglass via ssh
- vim /srv/www/htdocs/eyeglass/js/eyeglass_globals.js
- Type the / character to search and type 45 , then press enter so they cursor stays at the current location, the section should show this text ({ajax_get_timeout_seconds:45)
- Type x key twice to delete the 45
- Type i (to start an insert operation)
- Type 90 (for 90 seconds)
- Press Esc key to exit insert mode
- Type :wq (colon then wq to write and save)
- Now refresh the UI page and the timeout will now be 90 seconds for a long running request.