Ad Widget

Collapse

User Parameter time out

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alfista
    Senior Member
    • Mar 2017
    • 136

    #1

    User Parameter time out

    Hi,
    I try to monitor over Zabbix Agent and user parameter on WIn the amount of files in one folder. There is a lot of files (several hundred thousand) and the counting take some time and then I get "TimeOut" error in zabbix.
    Please can you help how can i extend the time or what is needed to do that I get the result from the user command and not an error?
    Thanks.
  • Answer selected by Alfista at 02-04-2024, 15:39.
    Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    In existing versions of zabbix, the timeout cannot be more than 30 seconds and is set in the agent's config.
    There is also a timeout in the server config responsible for waiting for the agent's response.
    In the new version 7, they promise to set timeouts for each item.

    There is a workaround: write a script that calculates the parameter you need and sends the values to the zabbix server in trap item. The script is run on a schedule by the system.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #2
      In existing versions of zabbix, the timeout cannot be more than 30 seconds and is set in the agent's config.
      There is also a timeout in the server config responsible for waiting for the agent's response.
      In the new version 7, they promise to set timeouts for each item.

      There is a workaround: write a script that calculates the parameter you need and sends the values to the zabbix server in trap item. The script is run on a schedule by the system.

      Comment

      • Alfista
        Senior Member
        • Mar 2017
        • 136

        #3
        OK thanks, I will try to change Timeouts in the Agent and will see what it will do.

        Comment

        Working...