summaryrefslogtreecommitdiffstats
path: root/src/zabbix_server/discoverer
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-14 13:18:39 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-14 13:18:39 +0000
commitd3d82cbda23c24503fd4b47902f308da6de632a3 (patch)
tree36cab73a9b5f921e4c732603d19a8d5dcaf4c84a /src/zabbix_server/discoverer
parent85eb904a1fd41b28292bc5bdb033ee568a7389b8 (diff)
downloadzabbix-d3d82cbda23c24503fd4b47902f308da6de632a3.tar.gz
zabbix-d3d82cbda23c24503fd4b47902f308da6de632a3.tar.xz
zabbix-d3d82cbda23c24503fd4b47902f308da6de632a3.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@4014 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/discoverer')
-rw-r--r--src/zabbix_server/discoverer/discoverer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/zabbix_server/discoverer/discoverer.c b/src/zabbix_server/discoverer/discoverer.c
index 2a39ac67..3babb25c 100644
--- a/src/zabbix_server/discoverer/discoverer.c
+++ b/src/zabbix_server/discoverer/discoverer.c
@@ -484,7 +484,6 @@ static int discover_service(zbx_dservice_type_t type, char *ip, int port)
sigaction(SIGALRM, &phan, NULL);
alarm(10);
- zabbix_log(LOG_LEVEL_WARNING, "Beforfe process(%s)", key);
if(process(key, 0, &value) == SUCCEED)
{
if(GET_UI64_RESULT(&value))
@@ -494,7 +493,6 @@ static int discover_service(zbx_dservice_type_t type, char *ip, int port)
else ret = FAIL;
}
else ret = FAIL;
- zabbix_log(LOG_LEVEL_WARNING, "After process(%s)", key);
alarm(0);
}
@@ -536,7 +534,6 @@ static void process_check(DB_DRULE *rule, DB_DCHECK *check, char *ip)
s=(char *)strtok(tmp,",");
while(s!=NULL)
{
- zabbix_log(LOG_LEVEL_WARNING, "s [%s]", s);
c=strchr(s,'-');
if(c == NULL)
{
@@ -599,7 +596,6 @@ static void process_rule(DB_DRULE *rule)
s=(char *)strtok(tmp,",");
while(s!=NULL)
{
- zabbix_log(LOG_LEVEL_WARNING,"IP [%s]", s);
if(sscanf(s,"%d.%d.%d.%d-%d",&i1,&i2,&i3,&i4,&i5) == 5)
{
zbx_snprintf(ip1,sizeof(ip)-1,"%d.%d.%d",i1,i2,i3);
@@ -621,7 +617,7 @@ static void process_rule(DB_DRULE *rule)
for(i=first;i<=last;i++)
{
- zabbix_log(LOG_LEVEL_WARNING, "I [%d]", i);
+ zabbix_log(LOG_LEVEL_WARNING, "IP [%d]", i);
zbx_snprintf(ip,sizeof(ip)-1,"%s.%d",
ip1,
i);