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.
|
|
-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) | |
-from (opcional) | |
-subject (opcional) | |
-content (opcional) | |
-smtp_gw (opcional) | |
-smtp_port (opcional) |
PandoraFMS modules configuration
-t name (opcional) | ( transaction module, called 'UX XXXX name'. |
-interval (opcional) | |
-g (opcional) | |
-post (opcional) | -post "taskkill /F /IM firefox.exe" -post "killall firefox". |
-tag_list x (opcional) | tag1,tag2,... |
Extra fields
-exit_on_fail (opcional) | PWR. 0 |
-phase_snapshot (opcional) | |
-classic_mode (opcional) | |
-v (opcional) | |
-agent (opcional) | |
-agent_group (opcional) | |
-interval (opcional) | |
-tentacle_ip (opcional) | |
-tentacle_port (opcional) | |
-tentacle_opts (opcional) | |
-local_folder (opcional) | |
-mode (opcional) | [local|tentacle] |