Skip to main content

Inventory asset management in NetBox

Project description

netbox-inventory

Manage your hardware inventory in NetBox.

Features

Keep track of your hardware, whether it is installed or in storage. You can define assets that represent hardware that can be used as a device, module or inventory item in NetBox.

Each asset can have a storage location defined, when not in use. You can assign an asset to a device or module. The plugin can keep serial number and asset tag between asset and device or module in sync if enabled in settings.

To properly support inventory items (that are used in NetBox to model SFP and similar modules) the plugin defines inventory item types that are equivalent to device types and module types.

Automatic management of asset status

Each asset has a status attribute that can indicate use of the asset. These statuses can be set as needed by each NetBox installation.

Two statuses can have a special meaning. One to indicate asset is in storage and one to indicate asset is in use.

netbox_inventory can automatically set status to the value specified in used_status_name configuration item when an asset is assigned to a device, module or inventory item.

When you remove an asset from device, module or inventory item the plugin will set asset status to stored_status_name configuration item.

To disable automatically changing status, set these two config parameters to None.

Settings

Setting Default value Description
used_status_name 'used' Status that indicates asset is in use. See "Automatic management of asset status" below for more info on this setting.
stored_status_name 'stored' Status that indicates asset is in storage. See "Automatic management of asset status" below for more info on this setting.
sync_hardware_serial_asset_tag False When an asset is assigned or unassigned to a device, module or inventory item, update its serial number and asset tag to be in sync with the asset?
asset_import_create_purchase False When importing assets, automatically create purchase (and supplier) if it doesn't exist
asset_import_create_device_type False When importing a device type asset, automatically create manufacturer and/or device type if it doesn't exist
asset_import_create_module_type False When importing a module type asset, automatically create manufacturer and/or device type if it doesn't exist
asset_import_create_inventoryitem_type False When importing an inventory type asset, automatically create manufacturer and/or device type if it doesn't exist
asset_disable_editing_fields_for_tags {} A dictionary of tags and fields that should be disabled for editing. This is useful if you want to prevent editing of certain fields for certain assets. The dictionary is in the form of {tag: [field1, field2]}. Example: {'no-edit': ['serial_number', 'asset_tag']}. This only affects the UI, the API can still be used to edit the fields.
asset_disable_deletion_for_tags [] List of tags that will disable deletion of assets. This only affects the UI, not the API.

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-inventory-1.0.2.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

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

netbox_inventory-1.0.2-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

Details for the file netbox-inventory-1.0.2.tar.gz.

File metadata

  • Download URL: netbox-inventory-1.0.2.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for netbox-inventory-1.0.2.tar.gz
Algorithm Hash digest
SHA256 dda4958309a4c34cf3e673fda53c327bc41a18e79116bf456617e6a41fcc8b3d
MD5 f96e5d5d3395e38c5007b0bcd93861d6
BLAKE2b-256 c8c087deaf2a4ed9f7200d723acb6e14b3e9f4fdac944f3a928c3cf7184dc3e5

See more details on using hashes here.

File details

Details for the file netbox_inventory-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_inventory-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa742c1142fdffa1ce94475189f6dbe69d28f749f503622525a7dc079ed3324
MD5 a581b3bdaebddf2742c63c324e1b4593
BLAKE2b-256 6f824492083ba29f3564dc672aaa74f91bd31d1e8ff851737ecda2d69d381df6

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