Failed to read from eventlog: 1783: The stub received bad data


#1

Hi MickeM,

We are trying to monitor event ids on windows device. But we are getting error as - “Failed to read from eventlog: 1783: The stub received bad data.”

Command executed in nagios:

./check_nrpe -H 10.2.2.1 -c CheckEventLog -a file=System debug=true MaxCrit=1 “filter=id = 7 AND generated > -1m AND level in(‘error’)” truncate=1000 unique descriptions “syntax=Time:%generated%, Event ID:%id%, Source=%source%, Type=%level% , Mes^Cge=%messages%”

OUTPUT: Failed to read from eventlog: 1783: The stub received bad data.

NSClient Logfile errors:

2018-02-20 08:10:14: e:…\trunk\modules\CheckEventLog\CheckEventLog.cpp:564: Failed to read from eventlog: 1783: The stub received bad data.

2018-02-20 08:10:16: e:…\trunk\modules\CheckEventLog\CheckEventLog.cpp:564: Failed to read from eventlog: 1783: The stub received bad data.

What could be the issue? can you help me.