{% 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 %}
{% if object.type == ZabbixHostInterfaceTypeChoices.AGENT %}
| Connections to agent |
{{ object.get_tls_connect_display }} |
| Connections from agent |
{{ object.get_tls_accept_display|join:", " }} |
{% if ZabbixTLSChoices.PSK in object.tls_accept or object.tls_connect == ZabbixTLSChoices.PSK %}
| PSK Identity |
{{ object.tls_psk_identity }} |
{% endif %}
{% if ZabbixTLSChoices.CERT in object.tls_accept or object.tls_connect == ZabbixTLSChoices.CERT %}
| Certificate Issuer |
{{ object.tls_issuer }} |
| Certificate Subject |
{{ object.tls_subject }} |
{% endif %}
{% endif %}
{% if object.type == ZabbixHostInterfaceTypeChoices.IPMI %}
| 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 Version |
{{ object.get_snmp_version_display }} |
| SNMP Combined requests |
{{ object.snmp_usebulk }} |
{% if object.snmp_version == ZabbixHostInterfaceSNMPVersionChoices.SNMPV2 or object.snmp_version == ZabbixHostInterfaceSNMPVersionChoices.SNMPV3 %}
| SNMP Max Repetitions |
{{ object.snmp_max_repetitions }} |
{% endif %}
{% if object.snmp_version == ZabbixHostInterfaceSNMPVersionChoices.SNMPV3 %}
| SNMPv3 Context name |
{{ object.snmpv3_context_name }} |
| SNMPv3 Security name |
{{ object.snmpv3_security_name }} |
| SNMPv3 Security level |
{{ object.get_snmpv3_security_level_display }} |
{% endif %}
{% if object.snmpv3_security_level == ZabbixInterfaceSNMPV3SecurityLevelChoices.AUTHNOPRIV or object.snmpv3_security_level == ZabbixInterfaceSNMPV3SecurityLevelChoices.AUTHPRIV %}
| SNMPv3 Authentication Protocol |
{{ object.get_snmpv3_authentication_protocol_display }} |
{% endif %}
{% if object.snmpv3_security_level == ZabbixInterfaceSNMPV3SecurityLevelChoices.AUTHPRIV %}
| SNMPv3 Privacy Protocol |
{{ object.get_snmpv3_snmpv3_privacy_protocol_display }} |
{% endif %}
{% endif %}
{% plugin_right_page object %}
{% endblock %}