Ad Widget

Collapse

No templates on node, mysql errors on import/export

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Niels
    Senior Member
    • May 2007
    • 239

    #1

    No templates on node, mysql errors on import/export

    Hi,

    I've managed to make a local server and a remote node. But there are no host templates on the node, and when I go to import/export, I get the following:

    Code:
     Error in query [select distinct g.groupid,g.name from groups g,hosts_groups hg,hosts h where h.hostid in () and g.groupid=hg.groupid and h.hostid=hg.hostid order by g.name] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and g.groupid=hg.groupid and h.hostid=hg.hostid order by g.name' at line 1]
     mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/srv/www/htdocs/zabbix/include/db.inc.php:391]
     Error in query [select h.* from hosts h where h.hostid in () order by h.host] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') order by h.host' at line 1]
     mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/srv/www/htdocs/zabbix/include/db.inc.php:391]
Working...