Ad Widget

Collapse

Cannot import additional Items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ShyLion
    Junior Member
    • Jul 2009
    • 4

    #1

    Cannot import additional Items

    Just installed fresh zabbix server, FreeBSD 7.2, using port.
    Now i try to add some new items into existing template, here is my XML file:
    Code:
    <?xml version="1.0"?>
    <zabbix_export version="1.0" date="30.07.09" time="10.47">
    	<hosts>
    		<host name="Template_SNMPv2_Device">
    			<useip>0</useip>
    			<dns></dns>
    			<ip></ip>
    			<port>10050</port>
    			<status>3</status>
    			<groups>
    				<group>Templates</group>
    			</groups>
    			<items>
    				<item type="4" key="ifAdminStatus3" value_type="3">
    					<description>ifAdminStatus3</description>
    					<ipmi_sensor></ipmi_sensor>
    					<delay>60</delay>
    					<history>7</history>
    					<trends>365</trends>
    					<status>0</status>
    					<units></units>
    					<multiplier>0</multiplier>
    					<delta>0</delta>
    					<formula>0</formula>
    					<lastlogsize>0</lastlogsize>
    					<logtimefmt></logtimefmt>
    					<delay_flex></delay_flex>
    					<params></params>
    					<trapper_hosts></trapper_hosts>
    					<snmp_community>public</snmp_community>
    					<snmp_oid>1.3.6.1.2.1.2.2.1.7.3</snmp_oid>
    					<snmp_port>161</snmp_port>
    					<snmpv3_securityname></snmpv3_securityname>
    					<snmpv3_securitylevel>0</snmpv3_securitylevel>
    					<snmpv3_authpassphrase></snmpv3_authpassphrase>
    					<snmpv3_privpassphrase></snmpv3_privpassphrase>
    					<valuemap>Interface status</valuemap>
    				</item>
    			</items>
    		</host>
    	</hosts>
    	<dependencies>
    	</dependencies>
    </zabbix_export>
    What's wrong with it? I'm trying to import it, system gives no error messages, but that item doesn't appear in items list anyway?
  • ShyLion
    Junior Member
    • Jul 2009
    • 4

    #2
    No ideas at all?
    Can anyone try and import this file?

    Comment

    • Calimero
      Senior Member
      • Nov 2006
      • 481

      #3
      Are you sure uploads are allowed with you current php configuration ? (file_uploads = on)

      I recently installed a new zabbix server from scratch and when I tried importing templates, nothing happened. No error, nothing... Until I saw that file uploads were disabled ...

      Comment

      • ShyLion
        Junior Member
        • Jul 2009
        • 4

        #4
        just checked php.ini, uploads are enabled

        Comment

        Working...