hi,
i'm running centos 5.x with php5.1.6.x and i tested this issue on 1.5.3 and 1.5.4rev8000.
when tryng to create a trigger i get the following error:
* Error in query [select distinct t.description,h.host,t.expression,t.triggerid from triggers t left join functions f on t.triggerid=f.triggerid left join items i on f.itemid=i.itemid left join hosts h on i.hostid=h.hostid where t.triggerid=] [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 '' at line 1]
* mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/var/www/html/zabbix/include/db.inc.php:499]
so it seems an error on the triggerid field.
Then i have tried to link a template, copy a trigger end edit it; the result is a working trigger, but as i unlink and clear the template from the host the new trigger edited by me is deleted as well.
I'm pretty new and i don't know if there is an other workaround.
Can you fix it please? then i'll rebuild the svn version and give you feedback!
tnx
P.S. i need to create triggers for RHCS snmp MIBs, if you already have some work done please put in some "contrib" stuff
i'm running centos 5.x with php5.1.6.x and i tested this issue on 1.5.3 and 1.5.4rev8000.
when tryng to create a trigger i get the following error:
* Error in query [select distinct t.description,h.host,t.expression,t.triggerid from triggers t left join functions f on t.triggerid=f.triggerid left join items i on f.itemid=i.itemid left join hosts h on i.hostid=h.hostid where t.triggerid=] [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 '' at line 1]
* mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource[/var/www/html/zabbix/include/db.inc.php:499]
so it seems an error on the triggerid field.
Then i have tried to link a template, copy a trigger end edit it; the result is a working trigger, but as i unlink and clear the template from the host the new trigger edited by me is deleted as well.
I'm pretty new and i don't know if there is an other workaround.
Can you fix it please? then i'll rebuild the svn version and give you feedback!
tnx
P.S. i need to create triggers for RHCS snmp MIBs, if you already have some work done please put in some "contrib" stuff
).
). So I changed the type of my item to "Character" and the gui accepts it. Till now, I thought "Character" is only one character, but it also works with more characters. Now, I just don't understand the difference between "Character" and "Text".
Comment