Hi, I've tried to import templates from a XML file and it seems that MySQL ignoress completely. At first glance, I thought that it was because I had to create the empty templates and then update them with XML files, but that wasn't the case....
Web pages stays loading nothing at all...
debugging log is as follows:
26746:20080508:091612 Query [select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.errors_from,i.snmp_po rt,i.delta,i.prevorgvalue,i.lastclock,i.units,i.mu ltiplier,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.formula,h.available,i.status,i.trapper_hosts,i .logtimefmt,i.valuemapid,i.delay_flex,h.dns,i.para ms from hosts h, items i where i.nextcheck<=1210248972 and i.status in (0,3) and i.type not in (2,7,9) and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and (h.proxy_hostid=0 or i.type in (5)) and mod(i.itemid,5)=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999 order by i.nextcheck]
26750:20080508:091612 In get_values()
26748:20080508:091612 In get_values()
26750:20080508:091612 Query [select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.errors_from,i.snmp_po rt,i.delta,i.prevorgvalue,i.lastclock,i.units,i.mu ltiplier,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.formula,h.available,i.status,i.trapper_hosts,i .logtimefmt,i.valuemapid,i.delay_flex,h.dns,i.para ms from hosts h, items i where i.nextcheck<=1210248972 and i.status in (0,3) and i.type not in (2,7,9) and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and (h.proxy_hostid=0 or i.type in (5)) and mod(i.itemid,5)=4 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999 order by i.nextcheck]
26748:20080508:091612 Query [select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.errors_from,i.snmp_po rt,i.delta,i.prevorgvalue,i.lastclock,i.units,i.mu ltiplier,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.formula,h.available,i.status,i.trapper_hosts,i .logtimefmt,i.valuemapid,i.delay_flex,h.dns,i.para ms from hosts h, items i where i.nextcheck<=1210248972 and i.status in (0,3) and i.type not in (2,7,9) and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and (h.proxy_hostid=0 or i.type in (5)) and mod(i.itemid,5)=2 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999 order by i.nextcheck]
26749:20080508:091612 End get_values()
26749:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=3 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26749:20080508:091612 No items to update for minnextcheck.
26746:20080508:091612 End get_values()
26749:20080508:091612 Poller spent 0.001962 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26746:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=0 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26749:20080508:091612 Sleeping for 5 seconds
26750:20080508:091612 End get_values()
26750:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=4 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26747:20080508:091612 End get_values()
26747:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=1 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26750:20080508:091612 No items to update for minnextcheck.
26746:20080508:091612 No items to update for minnextcheck.
26750:20080508:091612 Poller spent 0.002664 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26746:20080508:091612 Poller spent 0.002618 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26750:20080508:091612 Sleeping for 5 seconds
26746:20080508:091612 Sleeping for 5 seconds
26747:20080508:091612 No items to update for minnextcheck.
26747:20080508:091612 Poller spent 0.003194 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26748:20080508:091612 End get_values()
26747:20080508:091612 Sleeping for 5 seconds
26748:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=2 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26748:20080508:091612 No items to update for minnextcheck.
26748:20080508:091612 Poller spent 0.003767 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
what can I do ??
Web pages stays loading nothing at all...
debugging log is as follows:
26746:20080508:091612 Query [select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.errors_from,i.snmp_po rt,i.delta,i.prevorgvalue,i.lastclock,i.units,i.mu ltiplier,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.formula,h.available,i.status,i.trapper_hosts,i .logtimefmt,i.valuemapid,i.delay_flex,h.dns,i.para ms from hosts h, items i where i.nextcheck<=1210248972 and i.status in (0,3) and i.type not in (2,7,9) and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and (h.proxy_hostid=0 or i.type in (5)) and mod(i.itemid,5)=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999 order by i.nextcheck]
26750:20080508:091612 In get_values()
26748:20080508:091612 In get_values()
26750:20080508:091612 Query [select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.errors_from,i.snmp_po rt,i.delta,i.prevorgvalue,i.lastclock,i.units,i.mu ltiplier,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.formula,h.available,i.status,i.trapper_hosts,i .logtimefmt,i.valuemapid,i.delay_flex,h.dns,i.para ms from hosts h, items i where i.nextcheck<=1210248972 and i.status in (0,3) and i.type not in (2,7,9) and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and (h.proxy_hostid=0 or i.type in (5)) and mod(i.itemid,5)=4 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999 order by i.nextcheck]
26748:20080508:091612 Query [select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.errors_from,i.snmp_po rt,i.delta,i.prevorgvalue,i.lastclock,i.units,i.mu ltiplier,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.formula,h.available,i.status,i.trapper_hosts,i .logtimefmt,i.valuemapid,i.delay_flex,h.dns,i.para ms from hosts h, items i where i.nextcheck<=1210248972 and i.status in (0,3) and i.type not in (2,7,9) and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and (h.proxy_hostid=0 or i.type in (5)) and mod(i.itemid,5)=2 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999 order by i.nextcheck]
26749:20080508:091612 End get_values()
26749:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=3 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26749:20080508:091612 No items to update for minnextcheck.
26746:20080508:091612 End get_values()
26749:20080508:091612 Poller spent 0.001962 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26746:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=0 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26749:20080508:091612 Sleeping for 5 seconds
26750:20080508:091612 End get_values()
26750:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=4 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26747:20080508:091612 End get_values()
26747:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=1 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26750:20080508:091612 No items to update for minnextcheck.
26746:20080508:091612 No items to update for minnextcheck.
26750:20080508:091612 Poller spent 0.002664 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26746:20080508:091612 Poller spent 0.002618 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26750:20080508:091612 Sleeping for 5 seconds
26746:20080508:091612 Sleeping for 5 seconds
26747:20080508:091612 No items to update for minnextcheck.
26747:20080508:091612 Poller spent 0.003194 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
26748:20080508:091612 End get_values()
26747:20080508:091612 Sleeping for 5 seconds
26748:20080508:091612 Query [select count(*),min(nextcheck) from items i,hosts h where mod(i.itemid,5)=2 and h.status=0 and h.disable_until<=1210248972 and h.errors_from=0 and h.hostid=i.hostid and i.status in (0,3) and i.type not in (2,7,9) and (h.proxy_hostid=0 or i.type in (5)) and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') and h.hostid between 000000000000000 and 099999999999999]
26748:20080508:091612 No items to update for minnextcheck.
26748:20080508:091612 Poller spent 0.003767 seconds while updating 0 values. Nextcheck: -1 Time: 1210248972
what can I do ??

Comment