Skip to main content

Configuration

In the configuration file (.conf) we will specify the following parameters:

xen_server_ip
<ip_server_ip>.
user
<user>
password
<password>
temporary
<temporary files directory>
tentacle_ip
<ip of tentacle>
tentacle_port
<tentacle port>
logfile
<log path>
interval
<agent interval>
group
<group where the agents will be placed>.
all_vm
<to discard the virtual machines, with a 0 they are discarded and these agents will not be created>.
all_sr
<To discard the SR agents, with a 0 they are discarded and these agents will not be created>.

An example configuration file:

xen_server_ip=192.168.50.50
user=root
password=*****
temporary=/tmp
tentacle_ip=192.168.70.125
tentacle_port=41121
logfile=/tmp/xen_plugin.log
interval=300
group=xenserver

It should be taken into account that the interval we define in this configuration file, which will be the interval of the agents generated when the plugin is executed, has to be equal to the plugin execution interval. If this is not the case, the modules of the generated agents will be set to "unknown" in the moments in which the agents try to collect the data but the plugin has not been executed yet.

The plugin execution interval will be equal to module_interval defined in the plugin installation per agent interval where the plugin has been installed. In the screenshot of the installation section you can also see where to locate the plugin module execution interval.