Ad Widget

Collapse

Web scenario fail with Operation timed out after X milliseconds with 0 bytes received

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sosogh
    Junior Member
    • Jun 2022
    • 3

    #1

    Web scenario fail with Operation timed out after X milliseconds with 0 bytes received

    My zabbix setup is:
    Ubuntu 16.04 , zabbix is installed via apt-get ,
    zabbix server version is 4.2.4.
    curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
    There are about 50 web scenarios , update interval of each web scenario is 30s ,
    attempt is 2 , timeout of the web step check is 20s (only one step).
    Trigger is `{Check WebURL:web.test.fail[{$WEBURL}].count(#2,1,eq)}=2`

    Zabbix server is a VM with 32cores , 16G mem , SSD(cache)+HDD
    The target web server and zabbix server are in the same LAN ,but differnet subnet(CIDR) .

    Sometime(once a few days) , a web scenario will fail with error:
    2022-11-29 22:06:13 0
    2022-11-29 22:05:43 0
    2022-11-29 22:04:56 1
    2022-11-29 22:03:46 1
    2022-11-29 22:02:35 0
    2022-11-29 22:02:05 0


    2022-11-29 22:04:56 Timeout was reached: Operation timed out after 20001 milliseconds with 0 bytes received
    2022-11-29 22:03:46 Timeout was reached: Operation timed out after 20001 milliseconds with 0 bytes received
    But in fact , the web server did response to zabbix server : (IIS log)
    2022-11-29 22:04:12 IP_OF_WEB_SERVER GET /html5/Index.aspx - 8099 - IP_OF_ZABBIX_SERVER Zabbix - 200 0 0 32
    2022-11-29 22:04:43 IP_OF_WEB_SERVER GET /html5/Index.aspx - 8099 - IP_OF_ZABBIX_SERVER Zabbix - 200 0 0 29
    2022-11-29 22:03:13 IP_OF_WEB_SERVER GET /html5/Index.aspx - 8099 - IP_OF_ZABBIX_SERVER Zabbix - 200 0 0 31
    2022-11-29 22:03:43 IP_OF_WEB_SERVER GET /html5/Index.aspx - 8099 - IP_OF_ZABBIX_SERVER Zabbix - 200 0 0 31
    It is weird that why zabbix server did not get the http response .


    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    PidFile=/var/run/zabbix/zabbix_server.pid
    SocketDir=/var/run/zabbix
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=xxxxxxxxx
    StartPollers=20
    StartIPMIPollers=3
    StartPollersUnreachable=10
    StartPingers=6
    StartDiscoverers=10
    StartHTTPPollers=20
    StartVMwareCollectors=2
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    HousekeepingFrequency=1
    MaxHousekeeperDelete=100000
    CacheSize=256M
    HistoryCacheSize=128M
    HistoryIndexCacheSize=16M
    ValueCacheSize=256M
    Timeout=30
    AlertScriptsPath=/usr/lib/zabbix/alertscripts
    ExternalScripts=/usr/lib/zabbix/externalscripts
    FpingLocation=/usr/bin/fping
    Fping6Location=/usr/bin/fping6
    LogSlowQueries=3000
  • Lawipac
    Junior Member
    • Jul 2023
    • 3

    #2
    have you got any progress on this?

    Comment

    Working...