Skip to main content

Allow argus-server to create tickets in Request Tracker

Project description

argus_ticket_rt

This is a plugin to create tickets in Request Tracker from Argus

The API supported is RT V2. RT 4.4 needs RT::Extension::REST2 to support V2, while RT 5.0.0 and later has the support included.

Settings

  • TICKET_ENDPOINT: Link to instance, absolute URL

  • TICKET_AUTHENTICATION_SECRET: Standard username/password or token:

    {
        "username": username,
        "password": password
    }
    

    or

    {
        "token": token
    }
    
  • TICKET_INFORMATION:

    Queue (obligatory)

    {
        "queue": queue_name
    }
    

    Custom fields (optional)

    There are two ways of automatically filling custom fields:

    1. Custom fields that are always the same, independent of the incident. These will be set in custom_fields_set with the name of the custom field as key and the fixed value as value.

      {
          "custom_fields_set" : {
              "name_of_custom_field": set_value,
          }
      }
      
    2. Custom fields that are filled by attributes of the Argus incident. These are set in custom_fields_mapping with the name of the custom field as key and the name of the attribute as it is returned by the API as value (e.g. start_time). If the information can be found in the tags the value consists of a dictionary with tag as the key and the name of the tag as the value (e.g. {"tag": "host"}).

      {
          "custom_fields_mapping" : {
              "name_of_custom_field": attribute_of_incident,
              "name_of_custom_field": {"tag": name_of_tag},
          }
      }
      

Library

The library used is rt instead of rt-client because "rt-client" does not support token authentication.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

argus_ticket_rt-1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argus_ticket_rt-1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file argus_ticket_rt-1.0.tar.gz.

File metadata

  • Download URL: argus_ticket_rt-1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for argus_ticket_rt-1.0.tar.gz
Algorithm Hash digest
SHA256 d10e2cbbadf79cc752bad76986bc1bcea7528cc0f59344c25f2938801b3b54cc
MD5 36b2b8c1a53964926a005d8d6ac2f2ac
BLAKE2b-256 ed321686c08425407b6879c992bee4097a092fa56ef107f170b308caf454f504

See more details on using hashes here.

File details

Details for the file argus_ticket_rt-1.0-py3-none-any.whl.

File metadata

  • Download URL: argus_ticket_rt-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for argus_ticket_rt-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00453fb71508fb3ef2fa37b5f5b26d11cf063234cc0c37d3ce8494fffb2fc16a
MD5 0598fbe5f042ae668f6732b1d9032bae
BLAKE2b-256 0ac4073971a2a1095404a6f14b6bb591472a8ec4c4ef4304de5f65be6b950ea8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page