summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-08-15 07:14:26 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-08-15 07:14:26 +0000
commit0d17b064dd9bb5a656920dee2082401c5bbb1aaa (patch)
treee41e1a5e844ec97105d70c9f153ac21a2d8465a0
parent573e42e37c3a516522609581cf21a0587d239379 (diff)
downloadzabbix-0d17b064dd9bb5a656920dee2082401c5bbb1aaa.tar.gz
zabbix-0d17b064dd9bb5a656920dee2082401c5bbb1aaa.tar.xz
zabbix-0d17b064dd9bb5a656920dee2082401c5bbb1aaa.zip
Added missing line in zabbix_suckerd. Now it reads items.snmp_oid from DB.
git-svn-id: svn://svn.zabbix.com/trunk@171 97f52cf1-0a1b-0410-bd0e-c28be96e8082
-rw-r--r--ChangeLog4
-rw-r--r--src/zabbix_sucker/zabbix_sucker.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cbfd224..48d6c011 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Changes for 1.0alpha10:
+
+ - Added missing line in zabbix_suckerd. Now it reads items.snmp_oid from DB.
+
Changes for 1.0alpha9:
- zabbix_suckerd fixed to listen on interfaces other than 127.0.0.1
diff --git a/src/zabbix_sucker/zabbix_sucker.c b/src/zabbix_sucker/zabbix_sucker.c
index 6bf70297..466ee65e 100644
--- a/src/zabbix_sucker/zabbix_sucker.c
+++ b/src/zabbix_sucker/zabbix_sucker.c
@@ -403,6 +403,7 @@ int get_values(void)
item.nextcheck=atoi(DBget_field(result,i,8));
item.type=atoi(DBget_field(result,i,9));
item.snmp_community=DBget_field(result,i,10);
+ item.snmp_oid=DBget_field(result,i,10);
item.useip=atoi(DBget_field(result,i,12));
item.ip=DBget_field(result,i,13);