Skip to main content
Migration Notice
We're migrating documentation from the old portal into this one. Some things may look a little different or out of place in the meantime — we know, and we're working to get it right. If something's unclear or doesn't look right, let us know.
Version: 2.15.0

Changing Eyeglass UI Behavior

Introduction

This page covers a few appliance-level settings that change how the Eyeglass Web UI behaves: the auto-logout timer, the notification feed on the login page, and the UI's API request timeout for long-running operations.

Extend the UI Auto-Logout Timer

By default, Eyeglass logs an idle user out of the Web UI after a fixed period. To extend this timer:

  1. Log in to Eyeglass as admin, then switch to root:

    sudo -s
  2. Edit the system configuration file:

    nano /opt/superna/sca/data/system.xml
  3. Under the <process> section, add or update the following tag, with the value in milliseconds:

    <uitimeout>1800000</uitimeout>

    To convert minutes to milliseconds, multiply by 60000 — for example, 30 minutes is 1800000, and 1 hour is 3600000.

  4. Save the file and restart the service:

    systemctl restart sca

Disable the Login Page Notification Feed

The Eyeglass login page can display a software notification feed. To disable it:

  1. Log in to Eyeglass over SSH as admin, then switch to root:

    sudo -s
  2. Edit the UI globals file:

    nano /srv/www/htdocs/eyeglass/js/eyeglass_globals.js
  3. Locate the twitter_feed_enabled:!0 tag and remove the ! character so it reads twitter_feed_enabled:0.

  4. Save the file, then refresh the login page in your browser — the notification feed no longer appears.

note

This change is not persistent across upgrades and must be reapplied after each appliance upgrade.

Extend the UI API Timeout for Long-Running Operations

Some Eyeglass GUI operations — for example, searching for files with Unlock My Files in Cluster Storage Monitor against a large number of objects — can exceed the default UI API timeout of 45 seconds. To extend it:

  1. Log in to Eyeglass over SSH.

  2. Edit the UI globals file:

    vi /srv/www/htdocs/eyeglass/js/eyeglass_globals.js
  3. Locate the ajax_get_timeout_seconds setting (default 45) and change it to the desired number of seconds — for example, 90.

  4. Save the file and refresh the Eyeglass UI page. The new timeout applies to subsequent long-running requests.

See Also

  • Unlock My Files — the Cluster Storage Monitor feature most likely to need an extended API timeout on large environments.
  • Monitoring and Alerts — configure email and syslog alarm notifications, a related but separate set of appliance behaviors.