Hi guys,
I want to create many scripts which may give us the possibility to act on servers directly from maps or suchs.
One simple agent command like "net start vss" works fine.
Unfortunately when i want to use some command extensions, i always have an error like "Get value from agent failed: ZBX_TCP_READ() failed: [4] Interrupted system call".
For example, the first script i want to use is about windows backup.
The command i want to be sent is
It returns the upper error
I then tried
It works through the agent. But wbadmin.exe really need the -quiet extension to be done, or it waits for an answer i cannot send.
I tried to use a local .bat, same problem. And using powershell instead of cmd leads me to that trouble too.
I gave a look at remote commands, but it do not seem to be what i want. It is supposed to be human act from the map, not automatically done with conditions at that time.
Thanks in advance.
Matt
I want to create many scripts which may give us the possibility to act on servers directly from maps or suchs.
One simple agent command like "net start vss" works fine.
Unfortunately when i want to use some command extensions, i always have an error like "Get value from agent failed: ZBX_TCP_READ() failed: [4] Interrupted system call".

For example, the first script i want to use is about windows backup.
The command i want to be sent is
Code:
cmd /c "wbadmin start backup -quiet"
I then tried
Code:
cmd /c "wbadmin start backup"
I tried to use a local .bat, same problem. And using powershell instead of cmd leads me to that trouble too.
I gave a look at remote commands, but it do not seem to be what i want. It is supposed to be human act from the map, not automatically done with conditions at that time.
Thanks in advance.
Matt
Comment