summaryrefslogtreecommitdiffstats
path: root/src/zabbix_trapper
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-05-29 19:54:24 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-05-29 19:54:24 +0000
commitbb3726c321c8904f51d949873362b009ce831b86 (patch)
treeca194573bfab5f0a8f4eeb673ee53f49a4247f61 /src/zabbix_trapper
parent85ee69fdc11e57e5df73bcf7d3ebfbd389c2f592 (diff)
downloadzabbix-bb3726c321c8904f51d949873362b009ce831b86.tar.gz
zabbix-bb3726c321c8904f51d949873362b009ce831b86.tar.xz
zabbix-bb3726c321c8904f51d949873362b009ce831b86.zip
Remove of src/zabbix_alarmer. Correct trigger updating for zabbix_trapper.
git-svn-id: svn://svn.zabbix.com/trunk@78 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_trapper')
-rw-r--r--src/zabbix_trapper/Makefile.in2
-rw-r--r--src/zabbix_trapper/zabbix_trapper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/zabbix_trapper/Makefile.in b/src/zabbix_trapper/Makefile.in
index 953902bc..57044d3a 100644
--- a/src/zabbix_trapper/Makefile.in
+++ b/src/zabbix_trapper/Makefile.in
@@ -2,7 +2,7 @@
all:
- @CC@ -o zabbix_trapper @CFLAGS@ -ggdb -I /usr/include/postgresql -I /usr/include/mysql -I../../include -L/usr/lib/mysql zabbix_trapper.c ../../include/db.c ../../include/functions.c -Wall @LIBS@
+ @CC@ -o zabbix_trapper @CFLAGS@ -ggdb -I /usr/include/postgresql -I /usr/include/mysql -I../../include -L/usr/lib/mysql zabbix_trapper.c ../../include/db.c ../../include/functions.c ../../include/expression.c -Wall @LIBS@
strip zabbix_trapper
clean:
diff --git a/src/zabbix_trapper/zabbix_trapper.c b/src/zabbix_trapper/zabbix_trapper.c
index 8a1c5de2..a3e016aa 100644
--- a/src/zabbix_trapper/zabbix_trapper.c
+++ b/src/zabbix_trapper/zabbix_trapper.c
@@ -125,7 +125,7 @@ int process_data(char *server,char *key, double value)
DBexecute(sql);
- update_functions( itemid );
+ update_triggers( itemid );
DBfree_result(result);