Skip to main content

Parameters

Parameters

  • -c <path_file_conf> o --conf <path_file_conf>
Path to the plugin configuration file containing the configured parameters.
  • --as_discovery_plugin <1|0>
Run the plugin in discovery mode, it will show information about the execution, such as the number of machines.

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

[CONF]
xen_server_ip
 = <ip_server_ipserver_ip>.
user
 = <user>
password
 = <password>
temporary
 = <temporary files directory>
tentacle_ip
<ip of[PANDORA] tentacle>
tentacle_port
<tentaclegroup port>
logfile
<log= path>
interval
<agent interval>
group
<group wherein which the agents will be placed>.
all_vm
logfile = <path of the log file created by the plugin> interval = <interval in seconds at which plugin agents are created> transfer_mode = <execution mode, the two possible options are local or tentacle> tentacle_ip = <ip of tentacle, enter that of the Pandora machine in which you want to discardview the agents> tentacle_client = <tentacle_client system command, default is tentacle_client> tentacle_port = <tentacle port, default is 41121> tentacle_opts = <additional options for transferring files to the indicated Tentacle server> data_dir = <path of the folder where the agent XMLs for local transfer mode will be created (transfer_mode = local)> [TUNING] time_adjustment = <Time adjustment, enter in seconds> scan_vm_ip = <Enable with 1 to check the virtual machines,machine IP> scan_all_vm = <Enable with a1 0to theyenable arescanning discardedof andall thesevirtual machines> scan_all_sr = <Enable with 1 to enable scanning of all SR agents> willscan_all_hosts not= be<Enable createdwith 1 to enable scanning of all hosts>.
all_sr
[REJECT] <Toname discardof the SRvirtual agents,machine, withsr aor 0host theythat areyou discardedwant andto thesedeactivate> agents= will1 not[RENAME] be<name createdof the virtual machine, sr or host that you want to rename>.

 = <name that you want to give it>

An example configuration file:

[CONF]
xen_server_ip=192.168.50.50
80.17 user=root
password=*****
temporary=S4ToBh! temporal=/tmp
tentacle_ip=192.168.70.125
tentacle_port=41121
[PANDORA] group=Unknown logfile=/tmp/xen_plugin.pandora_xenserver.log
interval=300
group=xenserver

transfer_mode=tentacle tentacle_ip=172.42.42.101 tentacle_client=tentacle_client tentacle_port=41121 tentacle_opts= data_dir=/tmp/data_in [TUNNING] time_adjustment=10 scan_vm_ip=1 scan_all_vm=1 scan_all_sr=1 scan_all_host=1 [REJECT] vm_test_env=1 sr_additional=1 [RENAME] vm_env_prod_157=Prod157 vm_env_dev_157=Dev157

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

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.