Configuration
The plugin configuration file is divided into blocks:
API access settings
##################
## RabbitMQ access
##################
## API host:port
host=192.168.80.20:8080
## OVM Manager user
user=guest
## OVM Manager password
pass=guest
host
IP address and connection port for the RabbitMQ API
user
RabbitMQ API login user
pass
Password of the specified user
Agent configurations
###################
## Agent parameters
###################
## Agent name (if not running as agent plugin)
agent_name=RabbitMQ
## Agent interval
interval=300
agent_name
Name of the agent to which the monitoring will be sent if the plugin is not running as an agent plugin.
interval
Monitoring interval for the indicated agent.
XML file transfer settings
######################
## 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
Temporary directory where the agent XML files will be generated before transferring them to Pandora FMS server (if the plugin is not executed as agent plugin).
transfer_mode
File transfer method to be used. If it is not set as "tentacle" it will be considered that the transfer method is "local" (copying the XML files from the temporary directory to a defined one).
local_folder
Directory to which the XML files will be copied to if the transfer method is not set to "tentacle".
tentacle_ip
IP address to which the XML files will be sent if the transfer method is set to "tentacle".
tentacle_port
Port to connect to the Tentacle server specified in the "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.