Zabbix uses common functionality for external checks, user parameters, system.run items, custom alert scripts, remote commands and user scripts.
The command/script is executed similarly on both Unix and Windows platforms:
All double quotes and backslashes in the command are escaped with backslashes and the command is enclosed in double quotes.
Exit code are checked with the following conditions:
Possible frontend messages and log entries for failed commands/scripts:
Read more about: