Skip to main content

Configuración del plugin

-Instalar un agente de Pandora FMS dentro de la máquina que ejecuta el servidor Informix.

-Crear y personalizar un fichero de configuración específico para el plugin.

-Configurar las variables de entorno que utilizará el agente de Pandora (dependiendo del usuario que ejecute el agente).
 Este es un ejemplo:


#
# LOG PARSER UTILITY
#
LOGPARSER = /usr/share/pandora_agent/plugins/grep_log
DATABASES = 
ADVANCED_TABLESPACE_MONITORING = 0 o 1. Pa
# INSTALLATIONS
INST_NAME = custom name to identify the installation
INST_PATH = INFORMIXDIR, is the path to the installation
PSORT_DBTEMP = specifies the location where DB server writes the temporary files
PARSE_REG = Any new entry in server_path.log which match with this regular
expression will be notified through a module
SERVER LIST
SERVER_NAME = Custom name to identify the server
SERVER_PATH = server main file
SERVER_CONF = server configuration file
SECTION_END
# OPTIONAL
INST_NAME = another custom name to identify another installation
INST_PATH = path to the other installation
PSORT_DBTEMP = path
SERVER LIST
SERVER_NAME = server #1 of the other installation
SERVER_PATH = server #1 main file
SERVER_CONF = server #1 conf file
SERVER_NAM E = server #2 of the other installation
SERVER_PATH = server #2 main file
SERVER_CONF = server #2 conf ile
SECTION_END

Defina la llamada al plugin en su fichero de configuración del agente de Pandora:

module_plugin perl /PATH/TO/FILE/informix.pl /PATH/TO/FILE/informix.conf 2> infx_error.log