Skip to main content

Parameters and configuration

Parameters

--generate_password To generate an encrypted password (if this password is to be used later for connection, it must be entered in the configuration option "password" and the option "use_encrypted_password" must also be activated in the configuration file with 1.
--as_discovery_plugin Option to use it in discovery mode.

Configuration blocks

The configuration file is divided into the following blocks

  • Configuration
  • Datacenter
  • Datastore
  • ESX
  • VM
  • Rename
  • Reject
  • Header

Each of the blocks is specified in the configuration file by entering its parameters below these blocks, for example :

```

Configuration
server 192.168.100.105
user pandorafms
pass P@$5w0rd!
datacenter ha-datacenter

Each block and its options are detailed below:
```

Configuration

Under the configuration block you can specify the following parameters

Global configuration

serverName or IP of the server to monitor
userAccount user
passAccount password
datacenter Datacenter where the plugin will point to
temporalPath where temporary files will be stored
logfilePath where the log file will be stored
entities_listPath where the entities_list file will be created (more information about this file below)
transfer_modeExecution mode, the two possible options are local or tentacle
local_folderPath of the folder where the XML of the agents will be created for the local transfer mode (transfer_mode = local)
pandora_url

pandora URL (only if required to use the event mode of the plugin)

api_passpandora api password (only if required to use the plugin event mode)
api_userpandora api user (only if required to use plugin events mode)
api_user_passPandora api user password (only if required to use plugin event mode)
event_modeTo activate the vCenter event monitoring, it is activated with 1. The events are copied to the Pandora FMS event list and become part of its normal flow (requires connectivity with the Pandora FMS console API).
event_pointer_filePath where the event_pointer_file file will be saved.
tentacle_iptentacle IP, required if the plugin is executed in transfer_mode tentacle
tentacle_portTentacle port, default is 41121
tentacle_optsAdditional options for file transfer to the specified Tentacle server
virtual_network_monitoringEnables monitoring of virtual switches with value 1
use_encrypted_passwordEnables use of an encrypted password with value 1
threadsNumber of threads to be used by the plugin in agent creation
intervalInterval in seconds in which the plugin agents are created
recon_intervalInterval in seconds after which the temporary entity cache file will be automatically deleted to rescan the VMware® infrastructure.
groupGroup where the agents will be created
use_ds_alias_as_nameTriggers the use of datastore agent alias as agent name with value 1
statsintervalInterval in seconds for statistics taken using the "custom_performance" option
flat_datastore_agentsTriggers creation of a single agent for datastores with name "VMWareDatastores" with value 1
use_ds_entity_nameEnables use of Datastore name as agent name with value 1