# Specific parameters

The plug-in has the following parameters:

<table border="1" id="bkmrk-par%C3%A1metro-descripci%C3%B3" style="border-collapse: collapse; width: 100%; height: 260px;"><tbody><tr style="height: 29px;"><td style="width: 50%; height: 29px;">**Parameter**</td><td style="width: 50%; height: 29px;">**Description**</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">-u &lt;uri&gt; --u &lt;uri&gt;</td><td style="width: 50%; height: 29px;">The connection uri (mandatory)</td></tr><tr><td style="width: 50%;">-s &lt;server&gt; --server &lt;server&gt;</td><td style="width: 50%;">To get server stats (cluster)</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">-d &lt;name\_database&gt; --databases &lt;name\_database&gt;</td><td style="width: 50%; height: 29px;">To get statistics from a database, the one with the name you enter.

</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">-a &lt;1&gt; --alldatabases &lt;1&gt;</td><td style="width: 50%; height: 29px;">To get the stats from all databases, it is activated with 1</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">-p &lt;prefix&gt; --prefix &lt;prefix&gt;</td><td style="width: 50%; height: 29px;">To name the agents (optional)</td></tr><tr style="height: 28px;"><td style="width: 50%; height: 28px;">-c &lt;1&gt; --collectionstats &lt;1&gt;</td><td style="width: 50%; height: 28px;">To activate the stats of the collections in the database, activate with 1 (optional).</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">-g GROUP, --group GROUP</td><td style="width: 50%; height: 29px;">Pandora FMS target group (optional)</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">--data\_dir DATA\_DIR</td><td style="width: 50%; height: 29px;">Pandora FMS data directory. By default it is /var/spool/pandora/data\_in/ (optional)</td></tr><tr style="height: 29px;"><td style="width: 50%; height: 29px;">--as\_agent\_plugin</td><td style="width: 50%; height: 29px;">It's optional, if you want the plugin to be an agent plugin and put the modules in the pandora agent, execute this with a 1 (optional)</td></tr></tbody></table>

Help example:

```bash
./pandora_mongodb
```

[![6.png](https://pandorafms.com/guides/public/uploads/images/gallery/2021-08/scaled-1680-/6.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2021-08/6.png)