Features
Bootstrap 5 dashboard pages are provided for host summary, CPU status, disk partitions, memory usage, network interfaces, and processes. Below are examples of each dashboard.
Built-in Views
Host Dashboard
{% url 'hostutils:host_details' %}
CPU Dashboard
{% url 'hostutils:host_cpu' %}
Disk Dashboard
{% url 'hostutils:host_disk' %}
Memory Dashboard
{% url 'hostutils:host_memory' %}
Network Dashboard
{% url 'hostutils:host_network' %}
Process Dashboard
{% url 'hostutils:host_process' %}
Custom Views
Creating a custom view/template
Custom views/templates can be used to override the Bootstrap 5 templates provided by default for GUI views. In your views, import the desired views(s) from hostutils and create a class that inherits the desired hostutils view.
Here is an example of creating a custom view using ShowHost:
from djangoaddicts.hostutils.views import ShowHost
class MyCustomShowHostView(ShowHost):
template_name = "my_custom_template.html"
title = "My Custom Title"