Zabbix icon indicating copy to clipboard operation
Zabbix copied to clipboard

Fortinet template - Error while importing

Open e9169 opened this issue 7 years ago • 3 comments

Hi,

Importing this template (ZBX-FORTINET-ENVMON) https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-fortinet/zbx-fortinet-envmon

I get the following error:

Invalid tag "/zabbix_export/graphs/graph(1)/ymin_item_1": unexpected tag "host".

Any clue, please? I have followed the instructions strictly.

Thanks!

e9169 avatar Jan 30 '18 10:01 e9169

ymin_item_1 should not include sub elements unless ymin_type_1 is 2.

so change following lines...

            <ymin_item_1>
                <host>ZBX-FORTINET-ENVMON</host>
                <key>fgSysDiskCapacity</key>
            </ymin_item_1>

to the following.

            <ymin_item_1/>

veracosta avatar Jan 31 '18 08:01 veracosta

Hi. When I do what you say, I get this error:

Invalid tag "/zabbix_export/graphs/graph(1)": unexpected tag "ymin_type_114".

My template XML looks like this after the change:

<ymin_type_1>1</ymin_type_1> <ymax_type_1>2</ymax_type_1> <ymin_type_1/> <ymax_item_1> ZBX-FORTINET-ENVMON fgSysDiskCapacity </ymax_item_1>

Thanks.

e9169 avatar Feb 02 '18 11:02 e9169

ok, I got it, I made a mistake and wrote ymint_type_1 instead of ymin_item_1. Anyway, now the import process is complaining about value maps. However, I don't know what to map since the are not instructions on the template documentation...

e9169 avatar Feb 02 '18 11:02 e9169