Ad Widget

Collapse

Erro ao subir template no zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leonardo dos Santos
    Junior Member
    • Sep 2021
    • 1

    #1

    Erro ao subir template no zabbix

    Pessoal estou recebendo o seguinte erro
    • Dois itens ("Device teste details" e "System contact details") não podem popular um mesmo campo "Contato" no inventário, isto pode gerar um conflito.
    quando tento subir o Template Module Generic SNMPv2.xml, não consegui remover essa parte dos contacts e não consegui resolver o problema, alguém já passou por isso e poderia me dar um Help.
  • guilhermep96
    Junior Member
    • Dec 2021
    • 1

    #2
    Rapaz, é alguma coisa besta do XML, mas como no meu caso são duas informações que não me interessam eu entrei e apaguei esses trechos:

    Code:
    <item>
    <name>System location</name>
    <type>4</type>
    <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
    <snmp_oid>1.3.6.1.2.1.1.6.0</snmp_oid>
    <key>system.location</key>
    <delay>1h</delay>
    <history>2w</history>
    <trends>0d</trends>
    <status>0</status>
    <value_type>1</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description>MIB: SNMPv2-MIB
    The physical location of this node (e.g., `telephone closet, 3rd floor'). If the location is unknown, the value is the zero-length string.</description>
    <inventory_link>24</inventory_link>
    <applications>
    <application>
    <name>General</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <master_item/>
    </item>
    <item>
    <name>Device contact details</name>
    <type>4</type>
    <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
    <snmp_oid>1.3.6.1.2.1.1.4.0</snmp_oid>
    <key>system.contact</key>
    <delay>1h</delay>
    <history>2w</history>
    <trends>0d</trends>
    <status>0</status>
    <value_type>1</value_type>
    <allowed_hosts/>
    <units/>
    <snmpv3_contextname/>
    <snmpv3_securityname/>
    <snmpv3_securitylevel>0</snmpv3_securitylevel>
    <snmpv3_authprotocol>0</snmpv3_authprotocol>
    <snmpv3_authpassphrase/>
    <snmpv3_privprotocol>0</snmpv3_privprotocol>
    <snmpv3_privpassphrase/>
    <params/>
    <ipmi_sensor/>
    <authtype>0</authtype>
    <username/>
    <password/>
    <publickey/>
    <privatekey/>
    <port/>
    <description>MIB: SNMPv2-MIB
    The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.</description>
    <inventory_link>23</inventory_link>
    <applications>
    <application>
    <name>General</name>
    </application>
    </applications>
    <valuemap/>
    <logtimefmt/>
    <preprocessing/>
    <jmx_endpoint/>
    <master_item/>
    </item>
    Attached Files

    Comment

    Working...