Skip to main content

A NetBox work logs plugin

Project description

Netbox Work Logs Plugin

This the netbox Device/Virtual Machine work logs plugin. You can use netbox_work_logs plugin in Github.com

Installing Netbox Work Logs Plugin

The instructions below detail the process for installing and enabling a Netbox work logs plugin.

Install Package

Download and install the plugin package per its installation instructions. Plugins published via PyPI are typically installed using pip. Be sure to install the plugin within Netbox`s virtual environment.

please refer how to use netbox plugins

$ source /opt/netbox/venv/bin/activate

(venv)$ pip install netbox_work_logs==[latest version]

Enable the Plugin

In configuration.py, add the plugin's name to the PLUGIINS list:

PLUGINS = [
    'netbox_work_logs',
]

Configure Plugin

Open configuration.py with your preferred editor to begin configuring of Netbox work logs plugin. The following configuration are required only when you migrate the model of the netbox work logs plugin to the Netbox database.

DEVELOPER=True 

Run Database Migrations

The Netbox work logs plugin has 3 models related with Virtual Machine / Device work logs, and work logs categories. To introduce these new db models, run the provided schema migrations. Next, we can apply the migration of the Netbox_work_logs model to the database with the migrate command

(venv) $ cd /opt/netbox/netbox/
(venv) $ python3 manage.py makemigrations netbox_work_logs
(venv) $ python3 manage.py migrate netbox_work_logs

Restart service

Then, restart the netbox and netbox-rq services to enable them

# systemctl restart netbox netbox-rq
# systemctl restart nginx

Reference

Please refer Netbox plugin development document

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

netbox-work-logs-1.2.9.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

netbox_work_logs-1.2.9-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file netbox-work-logs-1.2.9.tar.gz.

File metadata

  • Download URL: netbox-work-logs-1.2.9.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4

File hashes

Hashes for netbox-work-logs-1.2.9.tar.gz
Algorithm Hash digest
SHA256 877e8dd8e3e9e8f9e49b49a51d73726f98166ede8879fcab03b72bfaddd58669
MD5 12b510052f635725c371033d94aa44fd
BLAKE2b-256 ba12fa1f98aa5251606be5ec1c1d01ca3346ac0525f484f20cb24426d1b75e16

See more details on using hashes here.

File details

Details for the file netbox_work_logs-1.2.9-py3-none-any.whl.

File metadata

  • Download URL: netbox_work_logs-1.2.9-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.4

File hashes

Hashes for netbox_work_logs-1.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8385fa2f234dabde08cbfa03ff11c4db878e6f94f7d2763251f5d0d82df2af94
MD5 95e5debe3ae4388c839055d0812ce0b5
BLAKE2b-256 5ca8fd417bf91581f30cb34cc481f13295af57191200d9a1e6af48036f2ec2fa

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page