Skip to main content

General parameters

Parameters

Nombre  Description
-exe Directory to the binary of your automation utility or test tool.
It is also possible to select the internal mode:
** Windows only:
PDR - complex desktop check tool.
** windows & linux:
PWR - complex web check tool (with Selenium).
** requires curl in the PATH:
stats - fast web server performance monitoring.
** linux only:
goliat - web checks based on Pandora Webserver
-args (opcional) Arguments for the automation tool
 

Script(s) to be executed.


You can define as many as you need. For example:
-script script1,script2,script3.

-folder (opcional) Directory in which the screenshots will be stored
  * PWR: defines the name of the transaction.
* PWD: name of the phase, you can define as many as you need.
example: -name phase1,phase2,phase3
should match with the defined scripts
-pwr_port(opcional) PWR server listening port
4444 by default, requires -exe PWR
-pwr_host(opcional) Host on which the PWR server is located
Localhost by default, requires -exe PWR
-pwr_browser(opcional) Browser in which PWR checks will be executed
*Firefox by default, requires -exe PWR
-pwr_classic(opcional) Use the old libraries
Test::WWW::Selenium
PandoraFMS::WebDriver, requires -exe PWR, default 0
-pwr_override_global_phase_time (opcional)

Substitute the value of the global module time, by the sum of all phases.

If the token is set to 1, the sum of all phases will be used as the module value.

-retries (opcional) Maximum number of retries in case of error
-ss_config (opcional) Configuration of the screenshots: X,Y,Width,Height
example: -ss_config 0,0,0,100,100
will get a 100x100 image from coordinates 0,0
[Windows only]: activate the -ss_config parameter to capture the active window.
-checkpoint (opcional) Create a new control screenshot
-s(opcional) Substitution macro, replaces each instance of _text_ with the configured value. It is possible to use now+1 as the value to insert the current day. You can set as many macros (-s) as you need, followed by formatting (-f) if
is needed:
-s macro1=value1 -f format1 -s macro2=value2 -f format2
-f(opcional) Format for date type macros
uses std notation:
example: -f "%y%m%d" with date 2016, Sep 13 to get 160913.
  Uses the errorlevel output for checks in case of failure. It is checked by
default in case the plugin returns any '[error]' phase.
-max_differences(opcional) Specifies the maximum percentage difference between the control image and those obtained as a result of the test. By default it is set to the numerical value 0.5.

 

Email configuration

-to (opcional) Destination email address to be sent in case of error
-from (opcional) Email sender
-subject (opcional) Email subject
-content (opcional) Email content
-smtp_gw (opcional) smtp server gateway, 127.0.0.1 by default
-smtp_port (opcional) Smtp server port. 25 by default

 

PandoraFMS modules configuration

-t name (opcional) (PDR mode only) enables and configures a name for the "global" transaction. From
all check modules will be associated to the global transaction module, named 'UX XXXX name'.
transaction module, called 'UX XXXX name'.
-interval (opcional) Set a module interval for the modules resulting from the test
-g (opcional) Configures a module group for the modules resulting from the test
-post (opcional) Command to be executed at the end of the check, e.g. kill firefox:
-post "taskkill /F /IM firefox.exe"
-post "killall firefox".
-tag_list x (opcional) Add x (comma separated) tags to the generated modules, example:
tag1,tag2,...

 

Extra fields

-exit_on_fail (opcional) Immediately terminate the transaction if it is not possible to connect to the server.
PWR. 0 by default
-phase_snapshot (opcional) Generates one screenshot per phase. 0 by default.
-classic_mode (opcional) The token set to 0 always updates the latency. The token to 1 only updates the latency if the check is successful.
the check has been successful. 0 by default.
-v (opcional) Activates verbose mode
-agent (opcional) Defines the execution as a server plugin, configures the name of the agent in which the output modules will be stored.
where the output modules will be stored
-agent_group (opcional) If the "agent" token is defined and a new agent is created, it configures the group to which it will belong.
-interval (opcional) If the "agent" token is defined and a new agent is created, it configures the interval it will have.
it will have. 300 by default
-tentacle_ip (opcional) tentacle server ip. 127.0.0.1 by default
-tentacle_port (opcional) Tentacle server port. 41121 by default
-tentacle_opts (opcional) Extra tentacle server options
-local_folder (opcional) Tentacle local directory. /var/spool/pandora/data_in by default
-mode (opcional) [local|tentacle] transfer mode, "local by default".