{% extends template_extends|default:'generic/object.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load perms %} {% load static %} {% load plugins %} {% load render_table from django_tables2 %} {% load zabbix_hostinterfaces %} {% block content %}
Zabbix Host Interface
Zabbix Server {{ object.zabbixserver|linkify }}
Assigned to {{ object.assigned_object|linkify }}
Type {{ object.get_type_display }}
Interface ID {{ object.interfaceid }}
Details
{% if object.useip == ZabbixInterfaceUseChoices.DNS %} {% render_hostinterface_dns object as rendered_dns %} {% else %} {% endif %}
Connect via {{ object.get_useip_display }}
DNS Name {{ rendered_dns|safe }}
IP Address {{ object.ip|linkify }}
Port {{ object.port }}
{% plugin_left_page object %} {% include 'inc/panels/tags.html' %}
{% if object.type == ZabbixHostInterfaceTypeChoices.AGENT %}
Agent Details
{% if ZabbixTLSChoices.PSK in object.tls_accept or object.tls_connect == ZabbixTLSChoices.PSK %} {% endif %} {% if ZabbixTLSChoices.CERT in object.tls_accept or object.tls_connect == ZabbixTLSChoices.CERT %} {% endif %}
Connections to agent {{ object.get_tls_connect_display }}
Connections from agent {{ object.get_tls_accept_display|join:", " }}
PSK Identity {{ object.tls_psk_identity }}
Certificate Issuer {{ object.tls_issuer }}
Certificate Subject {{ object.tls_subject }}
{% endif %} {% if object.type == ZabbixHostInterfaceTypeChoices.IPMI %}
IPMI Details
IPMI Username {{ object.ipmi_username }}
IPMI Privilege {{ object.get_ipmi_privilege_display }}
IPMI Authtype {{ object.get_ipmi_authtype_display }}
{% endif %} {% if object.type == ZabbixHostInterfaceTypeChoices.SNMP %}
SNMP Details
{% if object.snmp_version == ZabbixHostInterfaceSNMPVersionChoices.SNMPV2 or object.snmp_version == ZabbixHostInterfaceSNMPVersionChoices.SNMPV3 %} {% endif %} {% if object.snmp_version == ZabbixHostInterfaceSNMPVersionChoices.SNMPV3 %} {% endif %} {% if object.snmpv3_security_level == ZabbixInterfaceSNMPV3SecurityLevelChoices.AUTHNOPRIV or object.snmpv3_security_level == ZabbixInterfaceSNMPV3SecurityLevelChoices.AUTHPRIV %} {% endif %} {% if object.snmpv3_security_level == ZabbixInterfaceSNMPV3SecurityLevelChoices.AUTHPRIV %} {% endif %}
SNMP Version {{ object.get_snmp_version_display }}
SNMP Combined requests {{ object.snmp_usebulk }}
SNMP Max Repetitions {{ object.snmp_max_repetitions }}
SNMPv3 Context name {{ object.snmpv3_context_name }}
SNMPv3 Security name {{ object.snmpv3_security_name }}
SNMPv3 Security level {{ object.get_snmpv3_security_level_display }}
SNMPv3 Authentication Protocol {{ object.get_snmpv3_authentication_protocol_display }}
SNMPv3 Privacy Protocol {{ object.get_snmpv3_snmpv3_privacy_protocol_display }}
{% endif %} {% plugin_right_page object %}
{% endblock %}