Would anyone be able to help identify cause of errors in Windows agent log.
Customer is experiencing this issue on only a few virtual machines with the build:
Windows Server 2019 Standard
Version 10.0.17763 Build 17763
Agent version: 1.6.0 and 1.7.0
They have machines with the same agent version and same windows server 2019 builds where the agents are communicating successfully.
The specific errors in the event viewer I see after the initial handshake during agent startup are:
�!�2��:#��N�w�)Cnh�ERROR:init instance error: Category does not exist.ssa8**hC����:#���N&
�!� �f;#��N�w�)Cn��ERROR:Subscription process message error: Object reference not set to an instance of an object.u00�**�I�g-*;#���N&
After this the agent stops/is unable to send the stats packets back to Morpheus appliance.
Here is a longer extract:
�s!�Ä��\�à"ÿ�®I™�����wÿ)Cn��PÅ��INFO:Received Stomp Frame: CONNECTED - obs �**»�E���\�à"ÿ������§�ëN&���������������������
����!�Ä��\�à"ÿ�©I™�����wÿ)Cn��¯Å��INFO:Received Stomp Frame: CONNECTED\nversion:1.2\nheart-beat:0,0\nuser-name:d635ae92-ee6d-4990-9644-fadf3d3dd957\n\n\u0000��»�**��F���\�à"ÿ������§�ëN&���������������������
��Y!�Ä��\�à"ÿ�™I™�����wÿ)Cn��6Å��INFO:Sending Message: [""]Jobs��**Ä�G���\�à"ÿ������§�ëN&���������������������
��◊!�Ä��\�à"ÿ�´I™�����wÿ)Cn��¥Å��INFO:Sending Message: ["SUBSCRIBE\ndestination:/user/queue/statCommands\nid:0\n\n\u0000"]]Ä�**h�H���\�à"ÿ������§�ëN&���������������������
��π!�Ä��\�à"ÿ�¨I™�����wÿ)Cn��ñÅ��INFO:Sending Message: ["SEND\ndestination:/app/requestStatJobs\n\n\u0000"]00"]h�**ê�I�*xØ�à"ÿ������§�ëN&���������������������
��Á!�Ä��\�à"ÿ�≠I™�����wÿ)Cn��ƒÅ��INFO:Sending Message: ["SUBSCRIBE\ndestination:/user/queue/morpheusAgentActions\nid:1\n\n\u0000"]yê�**8�J�*xØ�à"ÿ������§�ëN&���������������������
��ã!�Ä*xØ�à"ÿ�ÆI™�����wÿ)Cn��hÅ��ERROR:init instance error: Category does not exist.u008�**h�K�zü∂�à"ÿ������§�ëN&���������������������
��π!�Ä*xØ�à"ÿ�ØI™�����wÿ)Cn��ñÅ��INFO:Sending Message: ["SEND\ndestination:/app/requestStatJobs\n\n\u0000"]\u00h�**ÿ�L��¿¸?à"ÿ������§�ëN&���������������������
��-�!�Äzü∂�à"ÿ�∞I™�����wÿ)Cn��
�Å��INFO:Sending Message: ["SEND\ndestination:/app/serverInit\ncontent-type:application/json\n\n{\"osName\":\"windows\",\"osVersion\":\"\",\"agentVersion\":\"1.6.0.0\",\"capacityInfo\":{\"maxCores\":0,\"maxStorage\":321457741824,\"maxMemory\":17178800128}}\u0000"]"]ÿ�**h�M��¿¸?à"ÿ������§�ëN&���������������������
��π!�Ä�¿¸?à"ÿ�±I™�����wÿ)Cn��ñÅ��INFO:Sending Message: ["SEND\ndestination:/app/requestStatJobs\n\n\u0000"]00"]h�**H�N��¿¸?à"ÿ������§�ëN&���������������������
��ô�!�Ä�¿¸?à"ÿ�≤I™�����wÿ)Cn��v�Å��INFO:Received Stomp Frame: MESSAGE - {\"stats\":[{\"typeCode\":\"server\",\"objectId\":\"82\",\"frequency\":60000,\"config\":{}},{\"typeCode\":\"vmware\",\"objectId\":\"39\",\"containerName\":\"39_39\",\"externalId\":null,\"frequency\":60000,\"config\":{\"maxStorage\":322122547200}}],\"serverTime\":1644942158587}H�**ê�O���@à"ÿ������§�ëN&���������������������
��Â�!�Ä�¿¸?à"ÿ�≥I™�����wÿ)Cn��¬�Å��INFO:Received Stomp Frame: MESSAGE\ndestination:/user/queue/statCommands\ncontent-type:application/json;charset=UTF-8\nsubscription:0\nmessage-id:s6io0keb1yyuxeyl9aj-3740516\ncontent-length:241\n\n{\"stats\":[{\"typeCode\":\"server\",\"objectId\":\"82\",\"frequency\":60000,\"config\":{}},{\"typeCode\":\"vmware\",\"objectId\":\"39\",\"containerName\":\"39_39\",\"externalId\":null,\"frequency\":60000,\"config\":{\"maxStorage\":322122547200}}],\"serverTime\":1644942158587}\u0000��ê�**ê�P���@à"ÿ������§�ëN&���������������������
��„!�Ä��@à"ÿ�¥I™�����wÿ)Cn��¿Å��ERROR:Subscription process message error: Object reference not set to an instance of an object.ssaê�**¯�Q�îfƒcà"ÿ������§�ëN&���������������������
��I�!�Ä��@à"ÿ�µI™�����wÿ)Cn��&�Å��ERROR:Could not process message: {"stats":[{"typeCode":"server","objectId":"82","frequency":60000,"config":{}},{"typeCode":"vmware","objectId":"39","containerName":"39_39","externalId":null,"frequency":60000,"config":{"maxStorage":322122547200}}],"serverTime":1644942158587}inat¯�**h�R�≤Ãàáà"ÿ������§�ëN&�
When I checked it looked like it could be an issue obtaining performance counter metrics. On instruction the customer has rebuilt the performance counter and restarted the agent but the issue is still present.