I've exported a screen.xml, deleted it on zabbix_server. Then I changed
<host> and import it and it failed.
The Error log like "XML file contains errors. Error 28: Datatype element resourceid has child elements [ Line: 6 | Column: 0 ]"
What's the matter with the xml as the following?
<screens>
<screen>
<screenitems>
<screenitem>
<resourcetype>0</resourcetype>
<resourceid>
<node>Master node</node>
<host>10.10.34.149</host>
<name>Total show about Download mhxt in last 10 minutes</name>
</resourceid>
<width>500</width>
<height>100</height>
<x>0</x>
<y>0</y>
<colspan>0</colspan>
<rowspan>0</rowspan>
<elements>0</elements>
<valign>0</valign>
<halign>0</halign>
<style>0</style>
<dynamic>0</dynamic>
</screenitem>
</screenitems>
<name>Download of mhxt.patch</name>
<hsize>1</hsize>
<vsize>1</vsize>
</screen>
</screens>
<host> and import it and it failed.
The Error log like "XML file contains errors. Error 28: Datatype element resourceid has child elements [ Line: 6 | Column: 0 ]"
What's the matter with the xml as the following?
<screens>
<screen>
<screenitems>
<screenitem>
<resourcetype>0</resourcetype>
<resourceid>
<node>Master node</node>
<host>10.10.34.149</host>
<name>Total show about Download mhxt in last 10 minutes</name>
</resourceid>
<width>500</width>
<height>100</height>
<x>0</x>
<y>0</y>
<colspan>0</colspan>
<rowspan>0</rowspan>
<elements>0</elements>
<valign>0</valign>
<halign>0</halign>
<style>0</style>
<dynamic>0</dynamic>
</screenitem>
</screenitems>
<name>Download of mhxt.patch</name>
<hsize>1</hsize>
<vsize>1</vsize>
</screen>
</screens>
Comment