diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-08-02 08:50:03 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-08-02 08:50:03 +0000 |
commit | daaeca34ab57e75f16146eb4a7d63418baf3075c (patch) | |
tree | e38806f5c64d5ae05923432c6cf5ece0c20376e6 /src/zabbix_server/functions.c | |
parent | 4baa959a9a091519341224705c135dad7d0fdc61 (diff) | |
download | zabbix-daaeca34ab57e75f16146eb4a7d63418baf3075c.tar.gz zabbix-daaeca34ab57e75f16146eb4a7d63418baf3075c.tar.xz zabbix-daaeca34ab57e75f16146eb4a7d63418baf3075c.zip |
Conversion to new XML-based communication protocol.
git-svn-id: svn://svn.zabbix.com/trunk@1914 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/functions.c')
-rw-r--r-- | src/zabbix_server/functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_server/functions.c b/src/zabbix_server/functions.c index 35eae13d..882b6619 100644 --- a/src/zabbix_server/functions.c +++ b/src/zabbix_server/functions.c @@ -402,7 +402,7 @@ int process_data(int sockfd,char *server,char *key,char *value) char lastlogsize[MAX_STRING_LEN]; int update_tr; - zabbix_log( LOG_LEVEL_DEBUG, "In process_data()"); + zabbix_log( LOG_LEVEL_WARNING, "In process_data([%s],[%s],[%s])",server,key,value); snprintf(sql,sizeof(sql)-1,"select i.itemid,i.key_,h.host,h.port,i.delay,i.description,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h.useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.value_type,i.trapper_hosts,i.delta,i.units,i.multiplier,i.formula from items i,hosts h where h.status=%d and h.hostid=i.hostid and h.host='%s' and i.key_='%s' and i.status=%d and i.type in (%d,%d)", HOST_STATUS_MONITORED, server, key, ITEM_STATUS_ACTIVE, ITEM_TYPE_TRAPPER, ITEM_TYPE_ZABBIX_ACTIVE); result = DBselect(sql); |