When I create the following host and then export it, the SNMP interface information is missing in the export file.
Created host with the following:
Host name:core1
Groups:#Core network
SNMP Interfaces IP=10.0.0.1, DNS name=Core1.labnet.local,Connect to=IP, Port=161
The export file of the newly created host(SNMP IP/port missing):
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export version="1.0" date="02.02.12" time="15.09">
<hosts>
<host name="core1">
<name>core1</name>
<proxy_hostid>0</proxy_hostid>
<useip></useip>
<dns></dns>
<ip></ip>
<port></port>
<status>0</status>
<useipmi></useipmi>
<ipmi_ip></ipmi_ip>
<ipmi_port></ipmi_port>
<ipmi_authtype>-1</ipmi_authtype>
<ipmi_privilege>2</ipmi_privilege>
<ipmi_username></ipmi_username>
<ipmi_password></ipmi_password>
<groups>
<group>#Core Network</group>
</groups>
<triggers/>
<items/>
<templates/>
<graphs/>
<macros/>
</host>
</hosts>
<dependencies/>
</zabbix_export>
What tags should I use to manually create an xml file for the host above ?
Best regards!
Created host with the following:
Host name:core1
Groups:#Core network
SNMP Interfaces IP=10.0.0.1, DNS name=Core1.labnet.local,Connect to=IP, Port=161
The export file of the newly created host(SNMP IP/port missing):
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export version="1.0" date="02.02.12" time="15.09">
<hosts>
<host name="core1">
<name>core1</name>
<proxy_hostid>0</proxy_hostid>
<useip></useip>
<dns></dns>
<ip></ip>
<port></port>
<status>0</status>
<useipmi></useipmi>
<ipmi_ip></ipmi_ip>
<ipmi_port></ipmi_port>
<ipmi_authtype>-1</ipmi_authtype>
<ipmi_privilege>2</ipmi_privilege>
<ipmi_username></ipmi_username>
<ipmi_password></ipmi_password>
<groups>
<group>#Core Network</group>
</groups>
<triggers/>
<items/>
<templates/>
<graphs/>
<macros/>
</host>
</hosts>
<dependencies/>
</zabbix_export>
What tags should I use to manually create an xml file for the host above ?
Best regards!
Comment