Code Monkey home page Code Monkey logo

ansible-role-omero-logmonitor's Introduction

OMERO LogMonitor

Actions Status Ansible Role

Install OmeroFenton for error notifications in Jabber

Requirements

The user account that the bot is run as (default omero) must already exist, it will not be created automatically in case the account requires special configuration. The default configuration assumes OMERO.server has been installed into its default location using the omero-server role.

Role Variables

Required variables:

  • omero_logmonitor_slack_name: Slack bot name
  • omero_logmonitor_slack_token: Slack secret token
  • omero_logmonitor_slack_channel: Slack #channel for notifications

Recommended variables:

  • omero_logmonitor_server_name: String used to identify alerts from this server

Optional variables:

  • omero_logmonitor_email_oom: Whether to enable email notifications of out-of-memory errors, if True the omero_logmonitor_email_* properties must be defined, default False.
  • omero_logmonitor_email_smtp: SMTP server
  • omero_logmonitor_email_from: From address for email alerts
  • omero_logmonitor_email_to: To address for email [email protected]
  • omero_logmonitor_logs_dir_server: Base directory of the OMERO.server logs, set to "" to disable monitoring
  • omero_logmonitor_logs_dir_web: Base directory of the OMERO.web logs, set to "" to disable monitoring
  • omero_logmonitor_logfiles: Dictionaries of log file monitoring parameters

See defaults/main.yml for the full list of optional variables. This is particularly important if you are using a modified OMERO configuration with log files in a different location, or with non-standard logfiles.

Example Playbook

- hosts: localhost
  roles:
  - role: ome.omero_logmonitor
    omero_logmonitor_slack_name: omero-logmonitor
    omero_logmonitor_slack_token: SLACK-TOKEN
    omero_logmonitor_slack_channel: "#alerts"
    omero_logmonitor_server_name: omero test instance
    # Include the follow variables to setup email OOM alerts
    omero_logmonitor_email_oom: True
    omero_logmonitor_email_smtp: smtp.example.org
    omero_logmonitor_email_from: [email protected]
    omero_logmonitor_email_to: [email protected]

Author Information

[email protected]

ansible-role-omero-logmonitor's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-role-omero-logmonitor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.