summaryrefslogtreecommitdiffstats
path: root/src/zabbix_server/httppoller
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-10 20:21:22 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-10 20:21:22 +0000
commitc2e6dba9ebdc30e3cdc73df5df1828ff83993bb5 (patch)
tree5d62b73625045fd44fdfa8d82cd369b33b611408 /src/zabbix_server/httppoller
parent8ef5038119341e813814e43dd3c3a40426ca5dcb (diff)
downloadzabbix-c2e6dba9ebdc30e3cdc73df5df1828ff83993bb5.tar.gz
zabbix-c2e6dba9ebdc30e3cdc73df5df1828ff83993bb5.tar.xz
zabbix-c2e6dba9ebdc30e3cdc73df5df1828ff83993bb5.zip
Minor improvements.
git-svn-id: svn://svn.zabbix.com/trunk@3688 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_server/httppoller')
-rw-r--r--src/zabbix_server/httppoller/httptest.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/zabbix_server/httppoller/httptest.c b/src/zabbix_server/httppoller/httptest.c
index fb412794..d9b965fd 100644
--- a/src/zabbix_server/httppoller/httptest.c
+++ b/src/zabbix_server/httppoller/httptest.c
@@ -53,8 +53,8 @@ size_t HEADERFUNCTION( void *ptr, size_t size, size_t nmemb, void *stream)
void process_http_data(DB_HTTPTEST *httptest, DB_HTTPSTEP *httpstep, S_ZBX_HTTPSTAT *stat)
{
#ifdef HAVE_LIBCURL
- zabbix_log(LOG_LEVEL_WARNING, "%s: Rspcode [%d] Time [%f] Speed download [%f]",
- httpstep->name, stat->rspcode, stat->total_time, stat->speed_download);
+ zabbix_log(LOG_LEVEL_WARNING, "Test [%s] Step [%s] [%s]: Rspcode [%d] Time [%f] Speed download [%f]",
+ httptest->name, httpstep->name, httpstep->url, stat->rspcode, stat->total_time, stat->speed_download);
/* DB_RESULT result;
DB_ROW row;
char server_esc[MAX_STRING_LEN];
@@ -113,7 +113,7 @@ int process_httptest(DB_HTTPTEST *httptest)
CURL *easyhandle = NULL;
- zabbix_log(LOG_LEVEL_WARNING, "In process_httptest(httptestid:" ZBX_FS_UI64 ")", httptest->httptestid);
+ zabbix_log(LOG_LEVEL_DEBUG, "In process_httptest(httptestid:" ZBX_FS_UI64 ")", httptest->httptestid);
easyhandle = curl_easy_init();
if(easyhandle == NULL)
@@ -154,7 +154,6 @@ int process_httptest(DB_HTTPTEST *httptest)
httpstep.url=row[4];
httpstep.timeout=atoi(row[5]);
httpstep.posts=row[6];
- zabbix_log(LOG_LEVEL_WARNING, "Processing step %d [%s]", httpstep.no, httpstep.url);
memset(&stat,0,sizeof(stat));
if(row[5][0] != 0)
{