Home

Troubleshooting Microsoft Monitoring Agent issues

%3CLINGO-SUB%20id%3D%22lingo-sub-186480%22%20slang%3D%22en-US%22%3ETroubleshooting%20Microsoft%20Monitoring%20Agent%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186480%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20working%20with%20an%20OMS%20setup%20where%20Custom%20Log%20ingestion%20has%20been%20setup.%20This%20is%20working%20fine%20for%20the%20most%20part%2C%20but%20occasionally%20the%20Custom%20Log%20data%20stops%20transmitting%20to%20OMS.%20During%20these%20times%20it%20has%20been%20verified%20that%20data%20is%20still%20being%20written%20to%20the%20log%20on%20the%20VM%20(the%20client%20has%20viewed%20and%20verified%20this)%20and%20the%20MMA%20heartbeat%20still%20occurs%20(verified%20via%20a%20Log%20Analytics%20query)%2C%20just%20none%20of%20the%20Custom%20Log%20data%20is%20being%20transmitted.%20When%20the%20agent%20is%20restarted%2C%20data%20transmission%20starts%20working%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20should%20we%20begin%20troubleshooting%20this%3F%20I%20assumed%20that%20MMA%20logs%20INFO%2C%20ERROR%20and%20WARNING%20details%20in%20the%20Event%20Viewer%2C%20but%20I%20was%20not%20able%20to%20locate%20the%20details%20in%20Event%20Viewer.%20I%20also%20looked%20into%20the%20installation%20folder%20to%20see%20if%20a%20log%20file%20was%20generated%20there%2C%20but%20to%20no%20avail.%20Any%20help%20pointing%20to%20where%20we%20could%20look%20to%20troubleshoot%20this%20would%20be%20appreciated!%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-186480%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAgents%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECustom%20Logs%20and%20Custom%20Fields%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-187374%22%20slang%3D%22en-US%22%3ERe%3A%20Troubleshooting%20Microsoft%20Monitoring%20Agent%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-187374%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20add%20more%20context%20to%20this%20issue%2C%20the%20agent%20seems%20to%20be%20able%20to%20transmit%20other%20OMS%20solution%20based%20data%20to%20OMS%20at%20normal%20intervals%2C%20so%20it%20may%20be%20an%20issue%20with%20this%20custom%20log.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20weird%20thing%20is%20that%20the%20client%20is%20saying%20the%20file%20is%20updated%20every%20five%20minutes%2C%20however%20the%20Date%20Modified%20timestamp%20for%20the%20file%20in%20Windows%20does%20not%20update%20throughout%20the%20day%20(not%20sure%20how%20that%20happens%2C%20but%20asking%20the%20client%20to%20verify).%20What%20triggers%20the%20Microsoft%20Monitoring%20Agent%20to%20recognize%20a%20file%20has%20been%20updated%20and%20to%20transmit%20data%20to%20OMS%20(is%20it%20that%20the%20Date%20Modified%20timestamp%20has%20changed%2C%20or%20is%20some%20kind%20of%20checksum%20calculation%20performed%20to%20recognize%20new%20data%20has%20been%20added)%3F%20Or%20does%20MMA%20simply%20stream%20anything%20new%20it%20sees%20in%20the%20log%20every%205%20minutes%20regardless%20of%20if%20the%20Date%20Modified%20timestamp%20has%20changed%20or%20not.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

I am working with an OMS setup where Custom Log ingestion has been setup. This is working fine for the most part, but occasionally the Custom Log data stops transmitting to OMS. During these times it has been verified that data is still being written to the log on the VM (the client has viewed and verified this) and the MMA heartbeat still occurs (verified via a Log Analytics query), just none of the Custom Log data is being transmitted. When the agent is restarted, data transmission starts working again.

 

Where should we begin troubleshooting this? I assumed that MMA logs INFO, ERROR and WARNING details in the Event Viewer, but I was not able to locate the details in Event Viewer. I also looked into the installation folder to see if a log file was generated there, but to no avail. Any help pointing to where we could look to troubleshoot this would be appreciated!


Thank you!

1 Reply

To add more context to this issue, the agent seems to be able to transmit other OMS solution based data to OMS at normal intervals, so it may be an issue with this custom log.

 

One weird thing is that the client is saying the file is updated every five minutes, however the Date Modified timestamp for the file in Windows does not update throughout the day (not sure how that happens, but asking the client to verify). What triggers the Microsoft Monitoring Agent to recognize a file has been updated and to transmit data to OMS (is it that the Date Modified timestamp has changed, or is some kind of checksum calculation performed to recognize new data has been added)? Or does MMA simply stream anything new it sees in the log every 5 minutes regardless of if the Date Modified timestamp has changed or not.


Thanks!