PDA

View Full Version : Trigger error


elings
09-06-2005, 08:23
Hello !

I tried to add a trigger to warn when there's low number of free inodes on
/var on a linux-server, but i get the this error:

ERROR EXECUTING: insert into triggers (description,priority,status,comments,url,value) values ('Low number of free inodes on tuna.du.se's volume /var',4,0,'','',2)
[ERROR:Cannot add trigger]

My expression was:

{tuna.du.se:inodefree[/var].last(0)}<10000

I'm running 1.1alpha10

Why can't i add this ?

Alexei
09-06-2005, 08:43
Change "tuna.du.se's" to "tuna.du.se". I plan to review all PHP code soon to protect it from such cases (SQL injection, etc).

elings
09-06-2005, 09:56
ok, that solved my problem.

Big thanks Alexei !