Configuration
El fichero de configuración delThe plugin seconfiguration dividefile enis bloques:divided into blocks:
ConfiguracionesAPI deaccess acceso al APIsettings
##################
## RabbitMQ access
##################
## API host:port
host=192.168.80.20:8080
## OVM Manager user
user=guest
## OVM Manager password
pass=guest
host
Dirección IP yaddress puertoand deconnection conexiónport parafor elthe RabbitMQ API de RabbitMQ
user
Usuario de acceso alRabbitMQ API delogin RabbitMQuser
pass
ContraseñaPassword delof usuariothe indicadospecified user
ConfiguracionesAgent del agenteconfigurations
###################
## Agent parameters
###################
## Agent name (if not running as agent plugin)
agent_name=RabbitMQ
## Agent interval
interval=300
agent_name
NombreName delof agentethe alagent queto sewhich enviaráthe lamonitoring monitorizaciónwill sibe elsent if the plugin nois senot ejecutarunning comoas pluginan deagent agente.plugin.
interval
IntervaloMonitoring deinterval monitorizaciónfor parathe elindicated agente indicado.agent.
ConfiguracionesXML defile transferenciatransfer de los ficheros XMLsettings
######################
## Transfer parameters
######################
## Temporal folder
tmp=/tmp
## Transfer mode used to send XML file (tentacle or local)
transfer_mode=tentacle
## Local folder to copy XML file (used only if transfer_mode is not tentacle)
local_folder=/var/spool/pandora/data_in/
## Tentacle server IP
tentacle_ip=127.0.0.1
## Tentacle server port
tentacle_port=41121
## Tentacle extra options (if needed)
#tentacle_opts=
## Define Module Group
#module_group=General
tmp
DirectorioTemporary temporaldirectory enwhere elthe que se generarán los ficherosagent XML delfiles agentewill antesbe degenerated subefore transferenciatransferring althem servidor deto Pandora FMS server (siif elthe plugin nois senot ejecutaexecuted comoas pluginagent de agente)plugin).
transfer_mode
MétodoFile detransfer transferenciamethod deto ficherosbe queused. seIf utilizará.it Siis nonot seset estableceas como"tentacle" “tentacle”it sewill considerarábe queconsidered elthat métodothe detransfer transferenciamethod esis “local”"local" (copiandocopying los ficherosthe XML delfiles directoriofrom temporalthe temporary directory to a unodefined definido)one).
local_folder
DirectorioDirectory alto quewhich se copiarán los ficherosthe XML sifiles elwill métodobe decopied transferenciato noif sethe establecetransfer comomethod “tentacle”is not set to "tentacle".
tentacle_ip
Dirección IP aladdress queto sewhich enviarán los ficherosthe XML sifiles elwill métodobe desent transferenciaif sethe establecetransfer comomethod “tentacle”is set to "tentacle".
tentacle_port
PuertoPort alto queconnect conectarseto al servidor dethe Tentacle indicadoserver enspecified elin parámetrothe “tentacle_ip”."tentacle_ip" parameter.
tentacle_opts
Additional options for transferring files to the indicated Tentacle server.
module_group
Defines the group to which the modules will belong.
Additional configurations
###################
## Extra parameters
###################
## Set to 1 to run de plugin as an agent plugin
as_agent_plugin=1
as_agent_plugin
If set to "1" the plugin will be executed as an agent plugin. If set to "0" the plugin will generate XML files that will be transferred to Pandora FMS server to be processed.