The fastest way to check the operation of the VMware® Plugin is to execute it manually from the Pandora FMS server shell.
To do this we must execute the plugin that is located in the path:
Followed by the configuration file with the parameters defined as those of the configuration indicated in the Discovery. The format of the configuration file must be the following:
#Configuration Configuration server <VMWARE_SERVER_IP> user <user> pass <password> datacenter <DATACENTER_NAME> temporal /tmp logfile vmware_plugin.log entities_list /tmp/vmware_entities_list.txt transfer_mode local tentacle_ip 127.0.0.1 tentacle_port 41121 tentacle_opts #local_folder /var/spool/pandora/data_in pandora_url http://localhost/pandora_console #api_pass 1234 #api_user admin #api_user_pass pandora retry_send 0 event_mode 0 event_pointer_file /tmp/vmware_events_pointer.txt verbosity 10 threads 20 interval 300 group Servers VM /usr/share/pandora_server/util/plugin/vmware-plugin.pl /root/vmware-plugin-ej.conf
/tmp/vmware_entities_list.txt file created and observe if there are all the VMs, Datastores, … of the environment in it. If not, we must delete the file and run the plugin again. It should give another error or the monitoring should be created correctly.
/var/spool/pandora/data_in/ the server, you should check if the tentacle_client binary is installed or in the case that it is a local transfer_mode, that inside the local_folder parameter the
data_in directory is correctly configured.