On this page
zabbix_js
ZABBIX_JS(1) General Commands Manual ZABBIX_JS(1)
NAME
zabbix_js - Zabbix JS utility
SYNOPSIS
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
DESCRIPTION
zabbix_js is a command line utility that can be used for embedded
script testing.
OPTIONS
-s, --script script-file
Specify the file name of the script to execute. If '-' is speci‐
fied as file name, the script will be read from stdin.
-p, --param input-param
Specify the input parameter passed to the script. Parameter is
passed verbatim as a string and is available in the script via
the 'value' variable. Mutually exclusive with -i.
-i, --input input-file
Specify a file containing the input parameter passed to the
script. The file contents are passed verbatim as a string and
are available in the script via the 'value' variable. If '-' is
specified as file name, the input will be read from stdin. Mutu‐
ally exclusive with -p.
-w, --webdriver url
Specify the webdriver URL.
-l, --loglevel log-level
Specify log level (Range: 0-5).
-t, --timeout timeout
Specify the timeout in seconds. Valid range: 1-600 seconds (de‐
fault: 10)
-h, --help
Display this help and exit.
-V, --version
Output version information and exit.
EXAMPLES
zabbix_js -s script-file.js -p example
SEE ALSO
Documentation
zabbix_agentd(8), zabbix_proxy(8), zabbix_sender(1), zabbix_server(8),
zabbix_get(1), zabbix_agent2(8), zabbix_web_service(8)
Zabbix 2022-01-06 ZABBIX_JS(1)