Azure ATP Sensor Log Errors

Copper Contributor

We are seeing to errors repeatedly in the Microsoft.Tri.Sensor-Errors.log file. We have the agent installed directly on the domain controllers.  Does anyone have insight into what these mean or how to resolve?

 

Error 1:

2019-06-24 12:15:56.4471 Error EventLogException System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at void System.Diagnostics.Eventing.Reader.EventLogException.Throw(int errorCode)
at EventLogHandle System.Diagnostics.Eventing.Reader.NativeWrapper.EvtSubscribe(EventLogHandle session, SafeWaitHandle signalEvent, string path, string query, EventLogHandle bookmark, IntPtr context, IntPtr callback, int flags)
at void System.Diagnostics.Eventing.Reader.EventLogWatcher.StartSubscribing()
at Task Microsoft.Tri.Sensor.WindowsEventLogReader.UpdateWindowsEventLogReaderBookmarksAsync()+(KeyValuePair<string, EventLogWatcher> _) => { }
at void MoreLinq.MoreEnumerable.ForEach<T>(IEnumerable<T> source, Action<T> action)
at async Task Microsoft.Tri.Sensor.WindowsEventLogReader.UpdateWindowsEventLogReaderBookmarksAsync()
at async Task Microsoft.Tri.Infrastructure.Module.RunTaskAsync(Func<Task> actionAsync, string name, SimpleTimeMetric timeMetric)
at void Microsoft.Tri.Infrastructure.Module+<>c__DisplayClass30_0+<<RegisterPeriodicTask>b__1>d.MoveNext()
at void Microsoft.Tri.Infrastructure.TaskExtension+<>c__DisplayClass22_0+<<RunPeriodic>b__0>d.MoveNext()

 

Error 2:

2019-06-24 12:15:56.1975 Error IpParser Error parsing datagram
System.OverflowException: Arithmetic operation resulted in an overflow.
at void Microsoft.Tri.Sensor.IpParser.ParseVersion4(IpDatagram datagram, BufferSlice bufferSlice)
at void Microsoft.Tri.Sensor.IpParser.Parse(DateTime frameTime, BufferSlice bufferSlice)
at Microsoft.Tri.Sensor.ParsingOrchestrator(IBufferPool bufferPool, IConfigurationManager configurationManager, IEntityResolver entityResolver, IEntitySender entitySender, IMetricManager metricManager, INetworkAdaptersManager networkAdaptersManager, ISensorExceptionStatisticsManager sensorExceptionStatisticsManager, ISensorSecretManager sensorSecretManager)+(int parallelismIndex, Datagram datagram) => { }

1 Reply

@Jerry Kiedrowski 

The first error you found says we fail to read the security log, probably due to permissions.

During deployment we add read permissions to the log, looks like it either did not work or overridden later.

Try to uninstall the Sensor, then reinstall (keep the deployment logs! ) and see if it resolves the issue.

 

For the second case, if you have only few of these errors, you can ignore them,  if you have a lot, then:

Are you running on vmware? if so, did you remember to disable TSO offload?