Ad Widget

Collapse

Error importing templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hiltonh81
    Junior Member
    • Apr 2014
    • 6

    #1

    Error importing templates

    Hi,

    Im trying to import templates from https://www.zabbix.org/wiki/Zabbix_Templates

    Templates are:
    File-Template_Windows_2008_R2_IIS_Servers.xml
    File-Template_Windows_2008_R2_Server.xml
    File-Template_Windows_2008_R2_DNS_Server.xml

    Im getting the same error on all of them:

    Argument 1 passed to DOMNode::appendChild() must be an instance of DOMNode, boolean given, called in /usr/share/zabbix/include/classes/import/CConfigurationImport.php on line 127 and defined [conf.import.php:130 → CConfigurationImport->import() → CXmlImport18::import() → DOMNode->appendChild() in /usr/share/zabbix/include/classes/import/CXmlImport18.php:425]
    DOMNode::appendChild() expects parameter 1 to be DOMNode, boolean given [conf.import.php:130 → CConfigurationImport->import() → CXmlImport18::import() → DOMNode->appendChild() in /usr/share/zabbix/include/classes/import/CXmlImport18.php:425]
  • JKx2
    Junior Member
    • Dec 2014
    • 6

    #2
    old thread, but I stumbled upon it myself today, so in case anyone else searches for the answer...

    I initially just downloaded the link as it exists on the template page, but that is itself a link to a page that holds the file. So, I was trying to import not the template, but the page that had the template on it.

    Follow the link through, then download the template itself, it was named 'Template_...' in my case.

    Comment

    Working...