{% extends 'base/layout.html' %} {% load helpers %} {% block title %}PRTG Settings{% endblock %} {% block header %}
configuration.py file.
| PRTG Server URL | {% if config.prtg_url %} {{ config.prtg_url }} {% else %} Not configured {% endif %} |
|---|---|
| API Token | {% if config.prtg_api_token %} Configured {% else %} Not configured {% endif %} |
| Timeout | {{ config.timeout|default:"30" }} seconds |
| Cache Timeout | {{ config.cache_timeout|default:"60" }} seconds |
| Verify SSL | {% if config.verify_ssl %} Yes {% else %} No (insecure) {% endif %} |
To configure the PRTG plugin, add the following to your NetBox configuration.py file:
PLUGINS_CONFIG = {
'netbox_prtg': {
'prtg_url': 'https://prtg.example.com',
'prtg_api_token': 'your-api-token-here',
'timeout': 30,
'cache_timeout': 60,
'verify_ssl': True,
}
}
Note: After updating the configuration, restart NetBox to apply changes.