Ad Widget

Collapse

UserParameter: dealing with timeout values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mojah
    Member
    • Apr 2010
    • 60

    #1

    UserParameter: dealing with timeout values

    Hi,

    I'm wondering what the "best practice" is concerning custom UserParameter values within Zabbix. If the script behind the UserParameter is taking too long to respond, Zabbix will disable the item automatically as "Not Supported".

    If such a UserParameter would consist of one line (grep some files, word count, awk it & cut it, ...) of shell commands, how would you implement any form of timeout value?

    Such a command can run in 0.001ms or could take up to 10s.

    Looking forward to your advice or experiences.

    Br,
    M.
    Last edited by Mojah; 27-05-2010, 08:21.
Working...