Section: User Commands (1)
Updated: 2019-01-29
Index Return to Main Contents
zabbix_js - Zabbix JS utility
zabbix_js -s script-file -p input-param [-l log-level] [-t timeout]
zabbix_js -s script-file -i input-file [-l log-level] [-t timeout]
zabbix_js -h
zabbix_js -V
zabbix_js is a command line utility that can be used for embedded script testing.
-s, --script script-file
Specify the file name of the script to execute. If '-' is specified as file name, the script will be read from stdin.
-p, --param input-param
Specify the input parameter.
-i, --input input-file
Specify the file name of the input parameter. If '-' is specified as file name, the input will be read from stdin.
-w, --webdriver url
Specify the webdriver URL.
-l, --loglevel log-level
Specify the log level.
-t, --timeout timeout
Specify the timeout in seconds. Valid range: 1-60 seconds (default: 10)
-h, --help
Display this help and exit.
-V, --version
Output version information and exit.
zabbix_js -s script-file.js -p example
Documentation https://www.zabbix.com/manuals
zabbix_agent2(8), zabbix_agentd(8), zabbix_get(1), zabbix_proxy(8), zabbix_sender(1), zabbix_server(8)
This document was created on: 21:23:35 GMT, March 18, 2020