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
              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.

       -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.

EXAMPLES
       zabbix_js -s script-file.js -p example

SEE ALSO
       Documentation

       zabbix_agentd(8),     zabbix_proxy(8),    zabbix_sender(1),    zab‐
       bix_server(8),  zabbix_get(1),  zabbix_agent2(8),   zabbix_web_ser‐
       vice(8)

Zabbix                          2022-01-06                    ZABBIX_JS(1)