Configuration in PandoraFMS
To obtain the information, the exchange plugin must be configured in the Pandora agent.
To be able to monitor from Pandora FMS with the plugin, we must call it from the EndPoint config file located in the following path:
/etc/pandora/pandora_agent.conf
We will call it in the last line of the conf with the module_plugin command, followed by the following command:
module_plugin powershell.exe -PSConsoleFile "<exchange_shell_directory>\exshell.psc1" -command "C:\'<plugin_directory>\Pandora_Plugin_Exchange.ps1' <parameters> 3> $NULL"
This can also be done from the console if remote configuration is enabled.