Ad Widget

Collapse

webmonitoring pollution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vapolise
    Junior Member
    • Nov 2011
    • 6

    #1

    webmonitoring pollution

    As per the document statement "Now that we have verified that frontend is accessible and we can log in and retrieve logged-in content, we should also log out - otherwise Zabbix database will become polluted with lots and lots of open session records." how can i check the database is polluting with the web scenario in zabbix1.8.15
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Can't understand why this should be an issue. For my understanding session handling for Web-Scenarios is completely managed by libcurl.
    To me it looks like the http poller instantiates a curl object then rotates through all steps of a web scenario and finally frees the curl object

    Code:
    --- SNIP httptest.c ---
    static void	process_httptest(DB_HTTPTEST *httptest)
    {
    --- SNAP ---
    	result = DBselect(
    			"select httpstepid,no,name,url,timeout,posts,required,status_codes"
    			" from httpstep"
    			" where httptestid=" ZBX_FS_UI64
    			" order by no",
    			httptest->httptestid);
    --- SNIP ---
    	if (NULL == (easyhandle = curl_easy_init()))
    --- SNAP ---
    	while (NULL != (row = DBfetch(result)))
    	{
    --- SNIP ---
    		if (CURLE_OK != (err = curl_easy_perform(easyhandle)))
    --- SNAP ---
    	curl_easy_cleanup(easyhandle);
    --- SNIP httptest.c ---

    Comment

    Working...