I've exported a screen, edited the XML, attempted an import and it fails with:
Here's the XML (I've reduced it to a single screen element):
Code:
XML file contains errors. Error 28: Datatype element resourceid has child elements [ Line: 7 | Column: 0 ]
Code:
<?xml version="1.0" encoding="UTF-8"?> <screens> <screen> <screenitems> <screenitem> <resourcetype>1</resourcetype> <resourceid> <node>Prod Hosts</node> <host>server1.mydomain.com</host> <key_>squid.request_hit_ratio</key_> </resourceid> <width>350</width> <height>100</height> <x>1</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>PROD squid hits</name> <hsize>4</hsize> <vsize>6</vsize> </screen> </screens>
Comment