# Configuración

<span style="font-weight: 400;">El fichero de configuración del plugin se divide en lineas:</span>

**Configuraciones generales del plugin**

```
#================================================================
# 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;">Dirección del servidor redis.</span>

**password**

<span style="font-weight: 400;">Contraseña para autenticarse si está habilitada la autenticación en el servidor Redis.</span>

**metrics**

<span style="font-weight: 400;">Métricas a obtener con el plugin (all || server || clients || memory || persistence || stats || replication || cpu || commandstats || cluster || keyspace )</span>

**as\_agent\_plugin**

<span style="font-weight: 400;">Utilizar el plugin en en modo de agente</span>

**as\_server\_plugin**

<span style="font-weight: 400;">Utilizar el plugin en modo servidor</span>

**\[agent\_name\]**

<span style="font-weight: 400;">Nombre de agente (as\_server\_plugin)</span>

**\[temp\]**

<span style="font-weight: 400;">Directorio temporal para almacenar el xml (local)</span>

**\[mode\]**

<span style="font-weight: 400;">Modo de transferencia (tentacle/local)</span>

**\[tentacle\_ip\]**

<span style="font-weight: 400;">Ip del servidor tentacle</span>

**tentacle\_port**

<span style="font-weight: 400;">Puerto del servidor tentacle</span>

**debug**

<span style="font-weight: 400;">Modo debug</span>