summaryrefslogtreecommitdiffstats
path: root/src/zabbix_server/discoverer
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-12-13 08:58:38 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-12-13 08:58:38 +0000
commit1205509d876572f801e1b64ab194e2b06ae8e3a5 (patch)
treef07e6f9ddcf338b5cadde323e96bbc56d9d57131 /src/zabbix_server/discoverer
parentd516377603cc9e3fd43b3e09f37c367dd5c1878b (diff)
downloadzabbix-1205509d876572f801e1b64ab194e2b06ae8e3a5.tar.gz
zabbix-1205509d876572f801e1b64ab194e2b06ae8e3a5.tar.xz
zabbix-1205509d876572f801e1b64ab194e2b06ae8e3a5.zip
- [ZBX-219] Zabbix server crashes after enabling discovery
[svn merge -r5168:5172 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@5173 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/discoverer')
-rw-r--r--src/zabbix_server/discoverer/discoverer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zabbix_server/discoverer/discoverer.c b/src/zabbix_server/discoverer/discoverer.c
index 165e20a5..101117c4 100644
--- a/src/zabbix_server/discoverer/discoverer.c
+++ b/src/zabbix_server/discoverer/discoverer.c
@@ -723,7 +723,7 @@ static void process_rule(DB_DRULE *rule)
assert(rule);
- zabbix_log(LOG_LEVEL_DEBUG, "In process_rule(name:%s,range:%s)",
+ zabbix_log(LOG_LEVEL_DEBUG, "In process_rule() [name:%s] [range:%s]",
rule->name,
rule->iprange);
@@ -805,7 +805,7 @@ static void process_rule(DB_DRULE *rule)
if( first < 0 || last < 0 )
{
- zabbix_log(LOG_LEVEL_WARNING, "Wrong format of IP range [%s]",
+ zabbix_log(LOG_LEVEL_WARNING, "Discovery: Wrong format of IP range [%s]",
rule->iprange);
continue;
}
@@ -818,7 +818,7 @@ static void process_rule(DB_DRULE *rule)
case 1 : zbx_snprintf(ip, sizeof(ip), "%s%x", prefix, i); break;
}
- zabbix_log(LOG_LEVEL_DEBUG, "Discovery: process_rule() [first %d] [last %d] [IP %s]", prefix, first, last, ip);
+ zabbix_log(LOG_LEVEL_DEBUG, "Discovery: process_rule() [IP:%s]", ip);
result = DBselect("select dcheckid,druleid,type,key_,snmp_community,ports from dchecks where druleid=" ZBX_FS_UI64,
rule->druleid);