# Parameters and configuration

<table border="1" id="bkmrk-par%C3%A1metro-descripci%C3%B3" style="border-collapse: collapse; width: 100%; height: 914.868px;"><tbody><tr style="height: 29.7167px;"><td style="width: 50%; height: 29.7167px;">**Parameter**</td><td style="width: 50%; height: 29.7167px;">**Description**</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--agent</td><td style="width: 50%; height: 46.5167px;">Agent alias in Pandora FMS. It can be obtained using the \_agentalias\_ server macro.</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--agentid</td><td style="width: 50%; height: 46.5167px;">Numeric ID of the agent in Pandora FMS. It can be obtained using the \_id\_agent\_ macro</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--module</td><td style="width: 50%; height: 46.5167px;">Name of the Pandora FMS module that is generating the event or data. It can be obtained with the \_module\_ macro.</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--data</td><td style="width: 50%; height: 46.5167px;">Valor numérico o texto correspondiente a los datos del módulo. Se obtiene con la macro \_data\_.</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--address</td><td style="width: 50%; height: 46.5167px;">IP address or hostname of the monitored agent. It can be obtained with the \_address\_ macro.</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--apikey</td><td style="width: 50%; height: 46.5167px;">Opsgenie API Key required to authenticate requests against its API.</td></tr><tr style="height: 80.1167px;"><td style="width: 50%; height: 80.1167px;">--pandoraurl</td><td style="width: 50%; height: 80.1167px;">Full URL of the Pandora FMS console, including /pandora\_console/.  
Default value: https://symity.pandorafms.com/pandora\_console/</td></tr><tr style="height: 80.1167px;"><td style="width: 50%; height: 80.1167px;">--license</td><td style="width: 50%; height: 80.1167px;">License mode.

“0” → disabled (default)

“1” → enabled

</td></tr><tr style="height: 46.5167px;"><td style="width: 50%; height: 46.5167px;">--user</td><td style="width: 50%; height: 46.5167px;">User who will appear as the author of the action in Opsgenie.  
Default value: “Pandora”</td></tr><tr style="height: 63.3167px;"><td style="width: 50%; height: 63.3167px;">--source</td><td style="width: 50%; height: 63.3167px;">Source or identifier of the origin in Opsgenie, useful for categorizing alerts.  
Default value: “pandora”</td></tr><tr style="height: 80.1167px;"><td style="width: 50%; height: 80.1167px;">--status</td><td style="width: 50%; height: 80.1167px;">Textual status of the Pandora FMS module. It can be obtained with the modulestatus macro.  
The value “MAX” can also be used to assign priority 1 in Opsgenie.</td></tr><tr style="height: 99.517px;"><td style="width: 50%; height: 99.517px;">--verbose</td><td style="width: 50%; height: 99.517px;">Enable verbose mode to display additional information in the logs.

“0” → disabled (default)

“1” → enabled

“2” → enabled, higher level of detail

</td></tr><tr><td style="width: 50%;">--logfile</td><td style="width: 50%;"><div>If a file is specified, logs will be written to that file instead of being shown on the output.</div></td></tr><tr style="height: 63.3167px;"><td style="width: 50%; height: 63.3167px;">--max-retry</td><td style="width: 50%; height: 63.3167px;">Maximum number of retries allowed when the Opsgenie API returns an error.  
Default value: 3</td></tr><tr style="height: 63.3167px;"><td style="width: 50%; height: 63.3167px;">--wait-time</td><td style="width: 50%; height: 63.3167px;">Wait time (in seconds) between each retry of calls to Opsgenie.  
Default value: 2</td></tr><tr style="height: 29.7167px;"><td style="width: 50%; height: 29.7167px;">-h, --help</td><td style="width: 50%; height: 29.7167px;">Displays the program help and terminates execution.</td></tr></tbody></table>