Configuración
Instalación
Copiar el plugin al directorio de plugins del agente, distrubuyéndolo mediante file collections. Lo mismo con el archivo conf. La llamada desde el agente será similar a esta, pero usando los paths donde esté instalado el plugin y el conf.
module_plugin "<ruta-powershell>\powershell.exe" -file C:\'<rutaplugin>\pandora_citrix.ps1' -perf C:\'<ruta-conf>\counters_data.txt' -serv C:\'<rutaconf>\services.txt’ -inc C:\'<ruta-conf>\counters_inc.txt' 2> error.log
En el caso de que no querramos monitorizar ningún tipo de contador o solo de algún tipo específico, habria que realizar estas ejecuciones:
- Solo con contadores generic_data:
module_plugin "<ruta-powershell>\powershell.exe" -file C:\'<rutaplugin>\pandora_citrix.ps1' -perf C:\'<ruta-conf>\counters_data.txt' -serv C:\'<rutaconf>\services.txt' 2> error.log
- Solo con contadores generic_inc:
module_plugin "<ruta-powershell>\powershell.exe" -file C:\'<ruta-plugin>\pandora_ citrix.ps1' -perf none -serv C:\'<ruta-conf>\services.txt' -inc C:\'<rutaconf>\counters_inc.txt'' 2> error.log
- Sin contadores:
module_plugin "<ruta-powershell>\powershell.exe" -file C:\'<ruta-plugin>\pandora_ citrix.ps1' -perf none -serv C:\'<ruta-conf>\services.txt' 2> error.log
- Con contadores y sin servicios:
module_plugin "<ruta-powershell>\powershell.exe" -file C:\'<ruta-plugin>\pandora_ citrix.ps1' -perf C:\'<ruta-conf>\counters_data.txt' -inc C:\'<ruta-conf>\counters_inc.txt' 2> error.log