# Parameters and configuration

**Parameters**

<table border="1" id="bkmrk---conf-ruta-al-archi" style="border-collapse: collapse; width: 100%;"><tbody><tr><td style="width: 20.6735%;">--conf</td><td style="width: 79.4389%;">Path to the configuration file</td></tr></tbody></table>

**Configuration file (--conf)**

```
[CONF]

threads = < Number of threads to be used for agent creation >
prefix = < Prefix to be added to the name of the generated modules >
prefix_agents = < Prefix to be added to the name of the generated agents >
agents_group = < ID of the Pandora FMS group where the agents will be created >
tentacle_ip = < IP of the Tentacle server to which the information will be sent >
allow_regexp = < Regular expression to filter module names that will be allowed >
deny_regexp = < Regular expression to filter module names that will be denied >
scan_server = < Enable with 1 to monitor Redis server statistics >
scan_clients = < Enable with 1 to monitor connected client statistics >
scan_memory = < Enable with 1 to monitor memory statistics >
scan_persistence = < Enable with 1 to monitor persistence status >
scan_threads = < Enable with 1 to monitor internal thread statistics >
scan_stats = < Enable with 1 to monitor general statistics >
scan_replication = < Enable with 1 to monitor replication status >
scan_cpu = < Enable with 1 to monitor CPU usage >
scan_commandstats = < Enable with 1 to monitor executed command statistics >
scan_latencystats = < Enable with 1 to monitor latency statistics >
scan_sentinel = < Enable with 1 to monitor Sentinel status >
scan_cluster = < Enable with 1 to monitor cluster status >
scan_modules = < Enable with 1 to monitor module statistics >
scan_keyspace = < Enable with 1 to monitor the Redis keyspace >
scan_errorstats = < Enable with 1 to monitor error statistics >

[CONNECTION_STRINGS]

< Connection string for a Redis server. One string must be defined per line. You can specify the agent name by using | at the end of the connection string and specifying the agent name. >

[THRESHOLDS]

< Threshold settings to apply to a specific module. One must be defined per line. >

< Threshold settings to apply to specific modules that match a regexp expression. One must be defined per line. >

[QUERIES]

< Custom module to execute a custom search query. One must be defined per line

```

<span style="text-decoration: underline;">Example</span>

```
[CONF]
threads = 1
prefix = redis-
prefix_agents = redis-
agents_group = 

tentacle_ip= 192.168.10.51

allow_regexp = ^used
deny_regexp = 

scan_server = 1
scan_clients = 1
scan_memory = 1
scan_persistence = 1
scan_threads = 1
scan_stats = 1
scan_replication = 1
scan_cpu = 1
scan_commandstats = 1
scan_latencystats = 1
scan_sentinel = 1
scan_cluster = 1
scan_modules = 1
scan_keyspace = 1
scan_errorstats = 1

[CONNECTION_STRINGS]
host='localhost', port=6379
host='127.0.0.1', port=6379|redis_agent

[UMBRALS]

pre-used_memory [name] = min_warning 75|min_critical 85
pre-used_cpu_sys_children [name] = min_warning 60|min_critical 90
^used [regexp] = min_warning 50|min_critical 80

[QUERIES]
custom_module 1|generic_data_string|idx:users|Paul @age:[30 40]|name
custom_module 2|generic_data_string|idx:users|@city:{Tel Aviv}
```