mrRobit / Zabbix_templates

11 stars 13 forks source link

Invalid tag "/zabbix_export" #11

Closed mrRobit closed 7 months ago

mrRobit commented 11 months ago

Invalid tag "/zabbix_export": unexpected tag "date" - when I try import you new XML, Json or yaml file.

fivedna commented 11 months ago

OK, when I try import your 3 files, it has 1 error: "Invalid tag "/zabbix_export": unexpected tag "date""

fivedna commented 11 months ago

Hello Mr. @mrRobit, do you repair that error: "Invalid tag "/zabbix_export": unexpected tag "date" ??

mrRobit commented 11 months ago

@fivedna remove the section in the file. I will need to do comprehensive testing before uploading a new version. It behaves differently on different zabbix installations. Will take some time

jangliss commented 11 months ago

If you delete the date field, and rename the group to template_group it imports, from my preliminary testing.

fivedna commented 11 months ago

If you delete the date field, and rename the group to template_group it imports, from my preliminary testing.

I try to remove date field, but it will has error with next field is "groups" field.

@mrRobit: in your file, I see the character such as: < or ENTITY-SENSOR-MIB::entPhySensorValue&#13; &#13; .... I don't know is it the error from here? THanks!

fivedna commented 11 months ago

I'm import the template palo_alto_firewall in this link: https://www.zabbix.com/integrations/palo_alto_networks

It shows somethings, but the Linkstatus with OID: 1.3.6.1.2.1.2.2.1.8. and the traffic out and in on interface I can't see it. How can I resolve this problem?

I check the palo_alto_firewll.xml file before import, It has link status OID and traffic in/out OID, example.

<item_prototype>
                            <name>Outgoing traffic on interface $1</name>
                            <type>4</type>
                            <snmp_community>{$SNMP_COMMUNITY}</snmp_community>
                            <snmp_oid>.1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}</snmp_oid>
                            <key>ifOutOctets[{#SNMPVALUE}]</key>

My PaloAlto device is PA 850 and PA 440, OS is 11.0.1.

jangliss commented 11 months ago

If you delete the date field, and rename the group to template_group it imports, from my preliminary testing.

I try to remove date field, but it will has error with next field is "groups" field.

Literally my instructions were "delete date and rename group to template_group". Did you try that?

jangliss commented 11 months ago

I'm import the template palo_alto_firewall in this link: https://www.zabbix.com/integrations/palo_alto_networks

It shows somethings, but the Linkstatus with OID: 1.3.6.1.2.1.2.2.1.8. and the traffic out and in on interface I can't see it. How can I resolve this problem?

From the README "Overview" section https://github.com/mrRobit/Zabbix_templates#overview

TIP: to monitor firewalls interfaces, please add offcial zabbix template: Template Module Interfaces SNMPv2.

fivedna commented 11 months ago

If you delete the date field, and rename the group to template_group it imports, from my preliminary testing.

I try to remove date field, but it will has error with next field is "groups" field.

Literally my instructions were "delete date and rename group to template_group". Did you try that?

Of course `<?xml version="1.0" encoding="UTF-8"?>

6.4 7df96b18c230490a9a0a9e2307226338 Templates_group