# Configuration

<span style="font-weight: 400;">The configuration file is splitted in several lines:</span>

```
General plugin configuration
#================================================================
# Plugin options
#================================================================

server=192.168.80.199:6379
password=pandora_redis
as_agent_plugin=1
as_server_plugin=0
agent_name=RedisDB
temp=/tmp/
mode=tentacle
tentacle_ip=127.0.0.1
tentacle_port=41121
metrics=all
debug=0

```

**server**

<span style="font-weight: 400;">Redis server address.</span>

**password**

<span style="font-weight: 400;">Password for authentication in case this option is enabled in Redis server.</span>

**metrics**

<span style="font-weight: 400;">Metrics to obtain (all || server || clients || memory || persistence || stats || replication || cpu || commandstats || cluster || keyspace )</span>

**as\_agent\_plugin**

<span style="font-weight: 400;">Use the plugin as agent plugin</span>

**as\_server\_plugin**

<span style="font-weight: 400;">Use the plugin as server plugin</span>

**\[agent\_name\]**

<span style="font-weight: 400;">Agent name (as\_server\_plugin)</span>

**\[temp\]**

<span style="font-weight: 400;">Temporal folder to store XML files (local)</span>

**\[mode\]**

<span style="font-weight: 400;">Transfer mode (tentacle/local)</span>

**\[tentacle\_ip\]**

<span style="font-weight: 400;">Tentacle server ip</span>

**tentacle\_port**

<span style="font-weight: 400;">Tentacle server port</span>

**debug**

<span style="font-weight: 400;">Debug mode</span>