When using a Foglight Agent Manager (FglAM) hosted on a Windows server to monitor an Unix host remotely, the UnixAgent fails to collect any data. Within the VM Options section of the FglAM start up the following option is present: "-Dquest.platform.name=windows-x86_64"
Enabling debug=2 logging on the FglAM shows the following error:
2012-11-28 11:10:05.893 ECHO <HostAgents/5.6.4/UnixAgent/Monitor@some.host.com> DEBUG [Quartz-2530] com.quest.glue.core.remoteconnection.SSHGanymedConnectionImpl - Executing remote cmd '/usr/bin/test -x /bin/uname && /usr/bin/env LC_ALL=C /bin/uname -s || /usr/bin/env LC_ALL=C /usr/bin/uname -s'
...
2012-11-28 11:10:05.909 ECHO <HostAgents/5.6.4/UnixAgent/Monitor@some.host.com-agent> ERROR [Quartz-2530] com.quest.remoteos.UnixAgentImpl - The operating system type windows is not recognized or not supported and no collector will be created for it.
The -Dquest.platform.name=windows-x86_64 property is being passed to the FglAM process on startup. Either via command line or within the service definition.
As per FAM-4602, when the platform name for FglAM is overridden with -Dquest.platform.name, remote platforms are overridden as well.