Hi,
I have a big problem, I just move my zabbix software from one hardware to another one.
Since I changed I have some issues with the web checks and it seems linked to libcurl.
I am running Zabbix 1.8.10 on Ubuntu 11.10 (oneiric) with libcurl 7.21.6 and i get this kind of message through a web scenario where we have an SSL connection to this url : https://demo.enablon.com/6.0-6/testprobe/go.asp
message : Failed on "scenario" [1 of 1] Error: Failure when receiving data from the peer
I tried to move to Ubuntu Precise (the devel version) and got the same issue with libcurl 7.22.0.
I activated the debuglog in Zabbix and here is the result :
16401:20120228:215427.920 In process_httptest() httptestid:1 name:'Demo 6.0-6'
16401:20120228:215427.920 query without transaction detected
16401:20120228:215427.920 query [txnlev:0] [update httptest set lastcheck=1330462467 where httptestid=1]
16401:20120228:215427.923 query [txnlev:0] [select httpstepid,no,name,url,timeout,posts,required,stat us_codes from httpstep where httptestid=1 order by no]
16401:20120228:215427.923 query without transaction detected
16401:20120228:215427.923 query [txnlev:0] [update httptest set curstep=1,curstate=1 where httptestid=1]
16401:20120228:215427.924 In http_substitute_macros(httptestid:1, data:https://demo.enablon.com/6.0-6/testprobe/go.asp)
16401:20120228:215427.924 Result expression [https://demo.enablon.com/6.0-6/testprobe/go.asp]
16401:20120228:215427.924 In http_substitute_macros(httptestid:1, data
16401:20120228:215427.924 Result expression []
16401:20120228:215427.924 WEBMonitor: use step [Page accueil]
16401:20120228:215427.924 WEBMonitor: go to URL [https://demo.enablon.com/6.0-6/testprobe/go.asp]
16407:20120228:215428.061 Syncing ...
16407:20120228:215428.061 In DCsync_history() history_first:2548 history_num:0
16407:20120228:215428.061 history syncer #2 spent 0.000100 seconds while processing 0 items
16407:20120228:215428.061 sleeping for 5 seconds
16410:20120228:215428.061 Syncing ...
16410:20120228:215428.061 In DCsync_history() history_first:2548 history_num:0
16406:20120228:215428.061 Syncing ...
16410:20120228:215428.062 history syncer #4 spent 0.000115 seconds while processing 0 items
16406:20120228:215428.062 In DCsync_history() history_first:2548 history_num:0
16410:20120228:215428.062 sleeping for 5 seconds
16406:20120228:215428.062 history syncer #1 spent 0.000141 seconds while processing 0 items
16406:20120228:215428.062 sleeping for 5 seconds
16409:20120228:215428.108 Syncing ...
16409:20120228:215428.108 In DCsync_history() history_first:2548 history_num:0
16409:20120228:215428.108 history syncer #3 spent 0.000044 seconds while processing 0 items
16409:20120228:215428.108 sleeping for 5 seconds
16401:20120228:215428.229 Web scenario step [Demo 6.0-6:Page accueil] error: error doing curl_easy_perform: Failure when receiving data from the peer
16401:20120228:215428.229 In process_step_data() httpstepid:1 rspcode:0 time:0.000000 speed:0.000000
16401:20120228:215428.229 query [txnlev:0] [select httpstepitemid,httpstepid,itemid,type from httpstepitem where httpstepid=1]
16401:20120228:215428.230 In process_value() itemid:22162
16401:20120228:215428.230 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22162 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.230 End of process_value():SUCCEED
16401:20120228:215428.231 In process_value() itemid:22163
16401:20120228:215428.231 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22163 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.231 End of process_value():SUCCEED
16401:20120228:215428.231 In process_value() itemid:22164
16401:20120228:215428.231 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22164 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.232 End of process_value():SUCCEED
16401:20120228:215428.232 End of process_step_data()
16401:20120228:215428.234 query without transaction detected
16401:20120228:215428.234 query [txnlev:0] [update httptest set curstep=0,curstate=0,lastcheck=1330462467,nextchec k=1330462467+delay,lastfailedstep=1,time=0.000000, error='Failure when receiving data from the peer' where httptestid=1]
16401:20120228:215428.236 In process_test_data() httptestid:1 total_time:0.000000 last_step:1
16401:20120228:215428.236 query [txnlev:0] [select httptestitemid,httptestid,itemid,type from httptestitem where httptestid=1]
16401:20120228:215428.237 In process_value() itemid:22165
16401:20120228:215428.237 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22165 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.237 End of process_value():SUCCEED
16401:20120228:215428.237 In process_value() itemid:22166
16401:20120228:215428.237 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22166 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.238 End of process_value():SUCCEED
16401:20120228:215428.238 End of process_test_data()
16401:20120228:215428.238 End of process_httptest() total_time:0.000000
16401:20120228:215428.238 End of process_httptests()
16401:20120228:215428.238 http poller #1 spent 0.318752 seconds while updating HTTP tests
16401:20120228:215428.238 query [txnlev:0] [select min(t.nextcheck) from httptest t,applications a,hosts h where t.applicationid=a.applicationid and a.hostid=h.hostid and mod(t.httptestid,1)=0 and t.status=0 and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0) and t.httptestid between 000000000000000 and 099999999999999]
16401:20120228:215428.239 sleeping for 5 seconds
16385:20120228:215428.534 In get_values()
Does anyone have an idea ?
I have a big problem, I just move my zabbix software from one hardware to another one.
Since I changed I have some issues with the web checks and it seems linked to libcurl.
I am running Zabbix 1.8.10 on Ubuntu 11.10 (oneiric) with libcurl 7.21.6 and i get this kind of message through a web scenario where we have an SSL connection to this url : https://demo.enablon.com/6.0-6/testprobe/go.asp
message : Failed on "scenario" [1 of 1] Error: Failure when receiving data from the peer
I tried to move to Ubuntu Precise (the devel version) and got the same issue with libcurl 7.22.0.
I activated the debuglog in Zabbix and here is the result :
16401:20120228:215427.920 In process_httptest() httptestid:1 name:'Demo 6.0-6'
16401:20120228:215427.920 query without transaction detected
16401:20120228:215427.920 query [txnlev:0] [update httptest set lastcheck=1330462467 where httptestid=1]
16401:20120228:215427.923 query [txnlev:0] [select httpstepid,no,name,url,timeout,posts,required,stat us_codes from httpstep where httptestid=1 order by no]
16401:20120228:215427.923 query without transaction detected
16401:20120228:215427.923 query [txnlev:0] [update httptest set curstep=1,curstate=1 where httptestid=1]
16401:20120228:215427.924 In http_substitute_macros(httptestid:1, data:https://demo.enablon.com/6.0-6/testprobe/go.asp)
16401:20120228:215427.924 Result expression [https://demo.enablon.com/6.0-6/testprobe/go.asp]
16401:20120228:215427.924 In http_substitute_macros(httptestid:1, data

16401:20120228:215427.924 Result expression []
16401:20120228:215427.924 WEBMonitor: use step [Page accueil]
16401:20120228:215427.924 WEBMonitor: go to URL [https://demo.enablon.com/6.0-6/testprobe/go.asp]
16407:20120228:215428.061 Syncing ...
16407:20120228:215428.061 In DCsync_history() history_first:2548 history_num:0
16407:20120228:215428.061 history syncer #2 spent 0.000100 seconds while processing 0 items
16407:20120228:215428.061 sleeping for 5 seconds
16410:20120228:215428.061 Syncing ...
16410:20120228:215428.061 In DCsync_history() history_first:2548 history_num:0
16406:20120228:215428.061 Syncing ...
16410:20120228:215428.062 history syncer #4 spent 0.000115 seconds while processing 0 items
16406:20120228:215428.062 In DCsync_history() history_first:2548 history_num:0
16410:20120228:215428.062 sleeping for 5 seconds
16406:20120228:215428.062 history syncer #1 spent 0.000141 seconds while processing 0 items
16406:20120228:215428.062 sleeping for 5 seconds
16409:20120228:215428.108 Syncing ...
16409:20120228:215428.108 In DCsync_history() history_first:2548 history_num:0
16409:20120228:215428.108 history syncer #3 spent 0.000044 seconds while processing 0 items
16409:20120228:215428.108 sleeping for 5 seconds
16401:20120228:215428.229 Web scenario step [Demo 6.0-6:Page accueil] error: error doing curl_easy_perform: Failure when receiving data from the peer
16401:20120228:215428.229 In process_step_data() httpstepid:1 rspcode:0 time:0.000000 speed:0.000000
16401:20120228:215428.229 query [txnlev:0] [select httpstepitemid,httpstepid,itemid,type from httpstepitem where httpstepid=1]
16401:20120228:215428.230 In process_value() itemid:22162
16401:20120228:215428.230 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22162 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.230 End of process_value():SUCCEED
16401:20120228:215428.231 In process_value() itemid:22163
16401:20120228:215428.231 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22163 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.231 End of process_value():SUCCEED
16401:20120228:215428.231 In process_value() itemid:22164
16401:20120228:215428.231 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22164 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.232 End of process_value():SUCCEED
16401:20120228:215428.232 End of process_step_data()
16401:20120228:215428.234 query without transaction detected
16401:20120228:215428.234 query [txnlev:0] [update httptest set curstep=0,curstate=0,lastcheck=1330462467,nextchec k=1330462467+delay,lastfailedstep=1,time=0.000000, error='Failure when receiving data from the peer' where httptestid=1]
16401:20120228:215428.236 In process_test_data() httptestid:1 total_time:0.000000 last_step:1
16401:20120228:215428.236 query [txnlev:0] [select httptestitemid,httptestid,itemid,type from httptestitem where httptestid=1]
16401:20120228:215428.237 In process_value() itemid:22165
16401:20120228:215428.237 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22165 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.237 End of process_value():SUCCEED
16401:20120228:215428.237 In process_value() itemid:22166
16401:20120228:215428.237 query [txnlev:0] [select i.value_type from items i,hosts h where h.hostid=i.hostid and h.status=0 and i.status=0 and i.type=9 and i.itemid=22166 and (h.maintenance_status=0 or h.maintenance_type=0) and h.hostid between 000000000000000 and 099999999999999]
16401:20120228:215428.238 End of process_value():SUCCEED
16401:20120228:215428.238 End of process_test_data()
16401:20120228:215428.238 End of process_httptest() total_time:0.000000
16401:20120228:215428.238 End of process_httptests()
16401:20120228:215428.238 http poller #1 spent 0.318752 seconds while updating HTTP tests
16401:20120228:215428.238 query [txnlev:0] [select min(t.nextcheck) from httptest t,applications a,hosts h where t.applicationid=a.applicationid and a.hostid=h.hostid and mod(t.httptestid,1)=0 and t.status=0 and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0) and t.httptestid between 000000000000000 and 099999999999999]
16401:20120228:215428.239 sleeping for 5 seconds
16385:20120228:215428.534 In get_values()
Does anyone have an idea ?
ointer;background:url(_art/little_down.gif) no-repeat right center;padding-left:6px' onmouseover='overLang()' onmouseout='outLang()' onclick='return false'>English </a></div><div class=ATL id=lang onmouseover='overLang()' onmouseout='outLang()' style='display:none'><div><a class=ND HREF='go.asp?ulg=1'>English (English)‎</a><a class=ND HREF='go.asp?ulg=2'>Français (French)‎</a></div></div><table width=100% cellpadding=0 cellspacing=6><tr><td><div class=MTT style='border:0;text-align:center;'>Welcome to the Enablon DEMO Central place 6.0-6 Site</div></div></td></tr></table><div id=errorDiv style='margin:6px;text-align:center'></div><TABLE BORDER=0 cellpadding=0 cellspacing=6 style='width:100%'><TR><TD style='vertical-align:top'><div style="padding:4px;border:1px solid grey;-moz-border-radius:4px;border-radius:4px;"" class=login><div class='loginText'><p><b>Enablon is one of the world's leading providers of corporate responsibility & EHS software solutions and a recognized expert in governance, risk & compliance.</b><br>Enablon offers integrated software solutions and on-demand services for Corporate Responsibility & EHS Management, Risk, Internal Control & Audit Management, Corporate Governance & Legal Management.<br>To learn how Enablon can help your company improve its compliance management, reduce its risks and enhance its performance, please <b><a href='http://www.enablon.com/'>click here</a></b>.</p></div></div></TD><TD style='vertical-align:top;width:236px;padding-left:6px'><div style="padding:4px;border:1px solid grey;-moz-border-radius:4px;border-radius:4px;"min-width:237px;width:auto !important;width:237px;" class=login><table border=0 CLASS=MM width='100%' cellspacing=3><tr><td nowrap valign=middle CLASS="ATR">Site Id</td><td><input NAME=sid VALUE="testprobe" size=15 class=login AUTOCOMPLETE=off></td></tr><tr><td nowrap valign=middle CLASS="ATR">User Id</td><td width='1%'><input id=uid NAME=uid size=15 class=login AUTOCOMPLETE=off></td></tr><tr><td nowrap valign=middle CLASS="ATR">Password</td><td><input NAME=pwd id=pwd type=password size=15 class=login AUTOCOMPLETE=off></td></tr></table><div style='background:url(_art/log_loc.png) no-repeat bottom left;margin:3px 3px 0 0;height:60px;padding:0 0 0 48px;text-align:right;vertical-align:bottom;white-space:nowrap'><button class="IN" onmousedown='changeButtonColor(this)' Type='SUBMIT' name="LogIn" value="Log In"><div class=IN3w><div class="IN2 IN3">Log In</div></div></button></div></div><div style='margin:6px;text-align:right;'><A HREF='http://www.enablon.com/' style='white-space:nowrap;font:italic bold 8pt Arial;text-decoration:none;COLOR:#555'>Powered by <IMG alt="Powered By Enablon" TITLE="Powered By Enablon" width=90 height=26 src='art/log_ena.png' style='vertical-align:middle'></A><* Closing connection #0
Comment