Skip to main content

Configuración del plugin

Para poder conectar con la base de datos a monitorizar, se deberán rellenar los siguientes campos, en el archivo pandora_sybase.conf:

  • isql = Ruta de la terminal interactiva isql
  • user = Usuario de la base de datos
  • password = Contraseña de la base de datos
  • server = Nombre de la base de datos a conectar

El plugin también dispone de umbrales configurables para los siguientes módulos:

  • sybase_mem use - Memoria usada en MB
  • sybase cpu_usage - Tiempo que el Servidor Adaptativo estuvo ocupado durante el ciclo de sondeo anterior
  • sybase suspect databases - Número de bases de datos marcadas como sospechosas o inutilizables por el Servidor Adaptativo
  • sybase locks remaining - Número de locks disponibles para su uso

Ejemplo de archivo.conf

isql=C:\SAP\OCS-16_0\bin\isql
user=sa
password=pandorapass
server=DESKTOPDQN7L842
agent_name=sybase

# threshold configuration: sybase_memuse
thresholds.sybase_memuse.wmin = 
thresholds.sybase_memuse.wmax = 
thresholds.sybase_memuse.cmin = 
thresholds.sybase_memuse.cmax = 

# threshold configuration: cpu_usage
thresholds.sybase_cpuusage.wmin = 
thresholds.sybase_cpuusage.wmax = 
thresholds.sybase_cpuusage.cmin = 90
thresholds.sybase_cpuusage.cmax = 100

# threshold configuration: sybase_suspects_databases
thresholds.sybase_suspects_databases.wmin = 0
thresholds.sybase_suspects_databases.wmax = 0
thresholds.sybase_suspects_databases.cmin = 1
thresholds.sybase_suspects_databases.cmax = 0

# threshold configuration: sybase_locks_remaining
thresholds.sybase_locks_remaining.wmin = 50
thresholds.sybase_locks_remaining.wmax = 100
thresholds.sybase_locks_remaining.cmin = 0
thresholds.sybase_locks_remaining.cmax = 50