Skip to content

Available triggers

Lujeni edited this page Aug 2, 2015 · 12 revisions

Common

  • same file to configure your triggers: /path/to/setting.py
  • all trigger need an threshold directive to be enabled.

Killer

  • Send a signal to mongodb to terminates an operation.
    triggers = {
        'killer': {'threshold': 120}
    }

MongoDB

  • Insert the slow operation in another database through bulk insert.
  • Index is created on the opid field.
  • parameters:
    • database
    • collection
    triggers = {
        'mongodb': {
            'threshold': 60,
            'database': 'mongoop',
            'collection': 'history'
        }
   }

Email

NSCA

Sentry

Clone this wiki locally