Skip to main content

NetBox plugin for device maintenance management with comprehensive REST API and Portuguese-BR support

Project description

NetBox Maintenance Device Plugin

NetBox PyPI PyPI - Downloads Language

A comprehensive NetBox plugin for managing device preventive and corrective maintenance with enhanced visual indicators, scheduling capabilities, and multi-language support.

Upcoming & Overdue Maintenance

Features

  • Maintenance Plans: Create and manage maintenance plans for devices with configurable frequency
  • Maintenance Executions: Record and track maintenance executions with status monitoring
  • Device Integration: View maintenance history directly on device pages with dedicated tabs
  • Quick Actions: Schedule and complete maintenance directly from the interface
  • REST API: Complete REST API for external integrations and automation
  • Advanced Filtering: Powerful filtering and search capabilities
  • Custom Actions: Schedule, complete, and cancel maintenance via API
  • Statistics: Get maintenance statistics and overdue/upcoming reports

Compatibility

NetBox Version Plugin Support Notes
4.4.x Tested & Supported Current target version
4.3.x Likely Compatible Not officially tested
4.2.x Likely Compatible Not officially tested
4.1.x Likely Compatible Not officially tested
4.0.x Likely Compatible Not officially tested
3.x Not Supported Breaking changes

Note: This version (v1.2.1) is specifically tested and certified for NetBox 4.4.x. While it may work with other 4.x versions, we recommend testing in a development environment first.

Installation

Method 1: PyPI Installation (Recommended)

Now officially available on PyPI!

# Install the latest version
pip install netbox-maintenance-device

# Or install a specific version
pip install netbox-maintenance-device==1.2.1

For Docker deployments, add to your plugin_requirements.txt:

echo "netbox-maintenance-device>=1.2.1" >> plugin_requirements.txt

Method 2: GitHub Installation

# Install from GitHub (development version)
pip install git+https://github.com/diegogodoy06/netbox-maintenance-device.git

Method 3: Docker Installation

For Docker-based NetBox installations using netbox-docker:

📋 For detailed Docker installation instructions in English and Portuguese, see DOCKER_INSTALL.md

Configuration

Basic Configuration

Add the plugin to your NetBox configuration.py:

# configuration.py

PLUGINS = [
    'netbox_maintenance_device',
    # ... other plugins
]

# Optional: Plugin-specific settings
PLUGINS_CONFIG = {
    'netbox_maintenance_device': {
        # Future configuration options will be added here
        # Currently, the plugin uses default settings
    }
}

Language Configuration (Optional)

To enable Portuguese-BR by default:

# configuration.py

# Enable internationalization
USE_I18N = True
USE_L10N = True

# Set default language
LANGUAGE_CODE = 'pt-br'
TIME_ZONE = 'America/Sao_Paulo'

# Available languages
LANGUAGES = [
    ('en', 'English'),
    ('pt-br', 'Português (Brasil)'),
]

Restart Services

Restart your NetBox services:

# For systemd
sudo systemctl restart netbox netbox-rq

# For Docker
docker compose restart netbox netbox-worker

Usage

For detailed usage instructions, please refer to the USAGE.md guide, which includes:

  • Creating and managing maintenance plans
  • Scheduling and completing maintenance
  • Monitoring maintenance status
  • Using the REST API
  • Troubleshooting common issues

Quick Start:

  1. Create maintenance plans for your devices
  2. View upcoming/overdue maintenance in the dashboard
  3. Use quick action buttons to schedule or complete maintenance
  4. Monitor device-specific maintenance on device pages

Screenshots

Device Maintenance Section

View maintenance plans and status directly on device pages

Device Maintenance

Upcoming Maintenance Dashboard

Monitor all upcoming and overdue maintenance across your infrastructure

Upcoming Maintenance

Maintenance Plan Management

Create and manage maintenance plans with flexible scheduling

Maintenance Plans


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

🙏 Acknowledgments

  • NetBox community for the excellent platform
  • Contributors and users providing feedback

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_maintenance_device-1.2.2.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

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

netbox_maintenance_device-1.2.2-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file netbox_maintenance_device-1.2.2.tar.gz.

File metadata

File hashes

Hashes for netbox_maintenance_device-1.2.2.tar.gz
Algorithm Hash digest
SHA256 2e9cacc63c3eee3c04aa65b4baec2ddd7fd01a9b52c63436205d03e045bc6b81
MD5 1a591e5eb62301ee146d9c471cbb7c62
BLAKE2b-256 bf2f3e593206ca45fc6f653a2ead31c61ff1ff72b1ba71c89e78b37703593608

See more details on using hashes here.

File details

Details for the file netbox_maintenance_device-1.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_maintenance_device-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 712ee93cbfea443c5eec011f34db762eb00416c762804d9ef43a9d8c83ffb2d0
MD5 f7bb3a2aab3d656233b67ca598f2e54c
BLAKE2b-256 00aca492d0562e733b184bfc1b4218f7e5c895c07c96a6017019404cd3b39af1

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