Skip to main content

A plugin providing chatbot capabilities for Nautobot

Project description

nautobot-chatops

A multi-platform ChatOps bot plugin for Nautobot.

  • Support for multiple chat platforms (currently Slack, Microsoft Teams, and WebEx Teams)
  • Write a command once and run it on every supported platform, including rich content formatting
  • Extensible - other Nautobot plugins can provide additional commands which will be dynamically discovered.
  • Automatic generation of basic help menus (accessed via help, /command help, or /command sub-command help)
  • Metrics of command usage via the nautobot_capacity_metrics plugin.

Installation

The plugin is available as a Python package in PyPI and can be installed with pip3 after logging in with the nautobot user account.

sudo -iu nautobot
pip3 install nautobot-chatops

The plugin is compatible with Nautobot 1.0.0beta1 and higher

Once installed, the plugin needs to be enabled in your nautobot_config.py

# In your nautobot_config.py
PLUGINS = ["nautobot_chatops"]

PLUGINS_CONFIG = {
    "nautobot_chatops": {
         #     ADD YOUR SETTINGS HERE
    }
}

Nautobot supports Slack, MS Teams and Webex Teams as backends but by default all of them are disabled. You need to explicitly enable the chat platform(s) that you want to use in the PLUGINS_CONFIG with one or more of enable_slack, enable_ms_teams or enable_webex_teams.

The plugin behavior can be controlled with the following list of general settings:

Configuration Setting Description Mandatory? Default
delete_input_on_submission After prompting the user for additional inputs, delete the input prompt from the chat history No False

For details on the platform-specific settings needed to enable Nautobot for the chat platform(s) of your choice, refer to the documentation.

Documentation

Contributing

Thank you for your interest in helping to improve Nautobot! Refer to the contributing guidelines for details.

Questions

For any questions or comments, please check the FAQ first and feel free to swing by the Network to Code slack channel (channel #nautobot). Sign up here

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

nautobot-chatops-1.1.0.tar.gz (70.0 kB view details)

Uploaded Source

Built Distribution

nautobot_chatops-1.1.0-py3-none-any.whl (94.6 kB view details)

Uploaded Python 3

File details

Details for the file nautobot-chatops-1.1.0.tar.gz.

File metadata

  • Download URL: nautobot-chatops-1.1.0.tar.gz
  • Upload date:
  • Size: 70.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.6.7 Linux/4.15.0-1077-gcp

File hashes

Hashes for nautobot-chatops-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c8610724591a0f35788a1e3c9b6a131afad3c9f2f86f4ad2c541979b026c27ff
MD5 09b8a506dc2fd0ebe88733f97aa26ac8
BLAKE2b-256 1a980069aafb6d79ff6ed84ba35a045f34abe64a6114741a124ec6d269d357d5

See more details on using hashes here.

File details

Details for the file nautobot_chatops-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: nautobot_chatops-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 94.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.6.7 Linux/4.15.0-1077-gcp

File hashes

Hashes for nautobot_chatops-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f2248b32dc7f5ec34ae2386cd5eb692366dc3a5e586dbaf03ff98c953f83c5a
MD5 97e92de8bab8f71b2e855e2f697ee5cb
BLAKE2b-256 c7b87202efee8c91aebed4e966e4ece66b11c08c52bb5a750ad5e3fcf854796e

See more details on using hashes here.

Supported by

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