Ad Widget

Collapse

win32/64 agentd issue on console mode (not service)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ddf
    Junior Member
    • Oct 2011
    • 2

    #1

    win32/64 agentd issue on console mode (not service)

    If, on windows, the agent is launched through an external application (i.e. a third parties launcher, a custom console or else), any UserParameter configured returns an error 0x00000005 (Access is denied) while executed.

    I bypassed the issue passing the option CREATE_BREAKAWAY_FROM_JOB to the CreateProcess() function located inside src\libs\zbxexec\execute.c
    Tested on version 1.9.8 and it works.

    I don't think this can be considered a bug, but on some scenarios may represents a big limitation, it would be great if this little modification could be pumped inside the development trunk.

    Davide
Working...