Skip to main content

Parameters and configuration

Parameter Description
--agent Agent alias in Pandora FMS. It can be obtained using the _agentalias_ server macro.
--agentid Numeric ID of the agent in Pandora FMS. It can be obtained using the _id_agent_ macro
--module Name of the Pandora FMS module that is generating the event or data. It can be obtained with the _module_ macro.
--data Valor numérico o texto correspondiente a los datos del módulo. Se obtiene con la macro _data_.
--address IP address or hostname of the monitored agent. It can be obtained with the _address_ macro.
--apikey Opsgenie API Key required to authenticate requests against its API.
--pandoraurl Full URL of the Pandora FMS console, including /pandora_console/.
Default value: https://symity.pandorafms.com/pandora_console/
--license

License mode.

“0” → disabled (default)

“1” → enabled

--user User who will appear as the author of the action in Opsgenie.
Default value: “Pandora”
--source Source or identifier of the origin in Opsgenie, useful for categorizing alerts.
Default value: “pandora”
--status 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.
--verbose

Enable verbose mode to display additional information in the logs.

“0” → disabled (default)

“1” → enabled

“2” → enabled, higher level of detail

--logfile
If a file is specified, logs will be written to that file instead of being shown on the output.
--max-retry Maximum number of retries allowed when the Opsgenie API returns an error.
Default value: 3
--wait-time Wait time (in seconds) between each retry of calls to Opsgenie.
Default value: 2
-h, --help Displays the program help and terminates execution.