Skip to main content

Plugin configuration

-Install a Pandora FMS agent inside the machine running the Informix server.

-Create and customize a specific configuration file for the plugin.

-Configure the environment variables to be used by the Pandora agent (depending on the user running the agent).
 This is an example:

#
# LOG PARSER UTILITY
#
LOGPARSER = /usr/share/pandora_agent/plugins/grep_log
DATABASES = Databases in which the databases will be monitored.
ADVANCED_TABLESPACE_MONITORING = 0 or 1. 1 will create a module for each tablespace of each database, 0 will only create a module with the sum of all tablespaces of a database.
# 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

Define the call to the plugin in your Pandora agent configuration file:

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