Ad Widget

Collapse

UserParameter funtion is broken while compile from source [version 6.4.21]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hexbug
    Junior Member
    • Nov 2024
    • 6

    #1

    UserParameter funtion is broken while compile from source [version 6.4.21]

    Hi, guys:
    I tried to compile zabbix agent 2 on windows. Everything wents well except the UserParameter funtion is not working.
    Here is the sample:
    Code:
    UserParameter=testcmd[*],echo $1 $2 $3
    When testcmd runs, the cmd.exe process is suspended.
    And in the log, it says:
    Code:
    2025/02/05 11:10:45.201693 cannot assign process to a job: The handle is invalid.
    Attached Files
  • hexbug
    Junior Member
    • Nov 2024
    • 6

    #2
    OK, I just fix it by myself:
    Attached Files

    Comment

    Working...