# Plugin execution and parameters

The plugin needs execution permissions to be launched:

`chmod +x pandora_mist`

The execution and the parameters of the plugin are:

`./pandora_mist -t <token> -o <org_id> [ -g <group> ] [ -p <prefix> ] [ --data_dir <data_dir> ]`

<table border="1" id="bkmrk-parameter-descriptio" style="border-collapse: collapse; width: 100%;"><tbody><tr><td style="width: 26.7902%;">**Parameter**</td><td style="width: 73.2098%;">**Description**</td></tr><tr><td style="width: 26.7902%;">-h</td><td style="width: 73.2098%;">Shows plugin help screen</td></tr><tr><td style="width: 26.7902%;">-t &lt;token&gt;, --token &lt;token&gt;</td><td style="width: 73.2098%;">**Mandatory**. Mist API token</td></tr><tr><td style="width: 26.7902%;">-o &lt;org\_id&gt;, --org &lt;org\_id&gt;</td><td style="width: 73.2098%;">**Mandatory.** Mist organization ID from which to extract the information of the zones</td></tr><tr><td style="width: 26.7902%;">-g &lt;group&gt;, --group &lt;group&gt;

</td><td style="width: 73.2098%;">Group where agents created will belong. *Default: Mist*</td></tr><tr><td style="width: 26.7902%;">-p &lt;prefix&gt;, --prefix &lt;prefix&gt;</td><td style="width: 73.2098%;">Prefix in the created agent names. *Default: Mist*</td></tr><tr><td style="width: 26.7902%;">--data\_dir &lt;data\_dir&gt;</td><td style="width: 73.2098%;">Pandora FMS data directory. *Default: /var/spool/pandora/data\_in*</td></tr></tbody></table>

If the execution was successful we should see '1' data when running the plugin.