Welcome to docs.opsview.com

Events View

Being developed for 3.3.1.

Uses runtime's event data.

Base URL: /event. This loads the javascript application. Everything else loads dynamically after that.

Updates: /event?output=json. This returns JSON data for the table to render

Principles

  • Server side ordering and filtering of event data
  • Data shows host and service data
  • Use runtime database
  • Clicks on names stays in the “events app”. Popups provide links to status or configuration
  • Filtering handled through URL parameters
  • Primarily use JSON for page to webservice (not mini html)
  • JSON should return non-localised information. Exception is time, which should have timezone information applied
  • Lists only returns columns requested (always event id)

Software components

Opsview Base:

Opsview Core:

  • events.js - Opsview specific code for this page
  • ajaxdatatable.js - Opsview abstraction layer for using datatables.js

Getting data

# On a running system
$ opsview-core/utils/dump_events -u root | gzip -c > /tmp/events.gz
# Transfer to development system
$ gunzip -c /tmp/events.gz | mysql -u root