Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortinet template - Error while importing #138

Open
e9169 opened this issue Jan 30, 2018 · 3 comments
Open

Fortinet template - Error while importing #138

e9169 opened this issue Jan 30, 2018 · 3 comments

Comments

@e9169
Copy link

e9169 commented Jan 30, 2018

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!

@veracosta
Copy link

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/>

@e9169
Copy link
Author

e9169 commented Feb 2, 2018

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
Copy link
Author

e9169 commented Feb 2, 2018

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants