Ad Widget

Collapse

default max timeout value in zabbix5 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tharun_k
    Junior Member
    • May 2023
    • 2

    #1

    default max timeout value in zabbix5 ?

    Im running custom script, its taking more than 30sec, what is the max timeout value in zabbix 5, my script is taking 2mins ..
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    Change your script to use zabbix_sender and schedule it some other way (cron). Changing the timeout might work for 30 sec, but is probably a bad idea to make it 2 minutes.

    Comment

    • tharun_k
      Junior Member
      • May 2023
      • 2

      #3
      Thanks, LenR , but have been invoking User-Parameter using Zabbix proxy like below, 2minutes timeout is not working, its only accepting max 30 sec, in Zabbix 5.x version, any suggestions to get these values.

      zabbix_get -s ip -k wincpu --> to collect top CPU info.

      zabbix_get -s ip -k winmemory --> to collect top memory consuming processes.

      on the target server_ip I have configured like this.


      ​User_Parameter=cpu,sudo /var/lib/zabbix/scripts/cpu.sh 2>&1​

      Comment

      Working...