Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resque

...

Resque has a built-in web UI to look at your jobs , mounted at /jobs if user logs in as an admin https://github.com/resque/resque#the-front-end 

System status

...

. This is also linked under Manage → Manage Worker Jobs in the main navigation. This is only available to users in the administrators group.

System status

The Avalon web application provides a status monitoring page at /about/health. It reports on the current status of each of Avalon's major components:

  • Fedora

  • Solr

  • the database connection

    Database (MySQL, Oracle, etc.)

  • Opencast Matterhorn
  • Mediainfo

  • the RTMP streaming server (Adobe Media Server or Red5)

    Streaming Server

  • Redis

The HTML view of the page simply provides a list of services and a badge reading OK or Error (along with any service-provided error messages), and a link to click through for a detailed view of each service.

Machine-readable status

By appending .xml.json, or .yaml to the URL (e.g., /about/health.json), you can retrieve a machine-readable status report that can be parsed and acted on by any number of enterprise monitoring tools.

...

Code Block
languagebash
$ cd /var/www/avalon/current
 
# Concise service health/status report:
$ bundle exec rake about:health[format]
# Full configuration report:
$ bundle exec rake about:report[format]
# (where format is xml, json, or yaml) 


Info

This page is behind authentication; a privileged user must be logged into the Avalon instance for status monitoring files and web pages to be accessible.