Pandora FMS Community

4.0 Windows x64 server agents

kemper451 · 18 oct 2011, 23:47 · 3 mensajes · 66 visitas

  1. Inicio del debate

    Even though the agent installs successfully on a 64-bit server (i.e. Windows 2008 R2 x64), it is still running under a 32-bit context.  There seems to be some issues related to this. 1. Remotely executing powershell with Exchange 2010 extension.  It attempts to look at the 32-bit registry but the settings only exist in the x64 registry.  Therefore, it fails. 2. module_logevent.  Even the default sample modules fail.  No errors or explanation.  Debug just shows the process starting but no end.  Is there a way to compile the agent install for true 64-bit?  This way the x64 program files path and registry are used.  Or is there some other solution? thx.

    1. I've already dealt with it. ;) The easiest way to fix this problem is using a workaround: a) Copy your WindowsSystem32Windows Powershellv1.0Powershell.exe to another location outside of System32... the Pandora Agent folder for instance. b) In order to execute an agent Powershell plugin in order to monitor Exchange using the Management Shell, do it with this line:
    module_plugin "C:Program Files (x86)pandora_agentpowershell.exe" -PSConsoleFile "E:Program FilesMicrosoftExchange ServerBinexshell.psc1" -command C:'Program Files (x86)pandora_agentutilPandora_Exchange_Plugin.ps1'
    

    In this example, I've placed powershell.exe in the pandora_agent folder, the management shell file is located in E:Program FilesMicrosoftExchange ServerBinexshell.psc1 and my Powershell plugin is placed in pandora_agentutil You can place Powershell.exe anywhere else but System32. About exshell.psc1, find where you have it and use the correct paths and you should have it working without problems. ;) 2) Problems running agent for Windows 2008 in 64 bits (Link not available anymore) You are missing a good PDH.dll :) Regards.

  2. fantastic!  I'll give this a try.  :)

Entra en tu cuenta para publicar.