I have 6 different servers that all have the Windows Update Status sensor in them and they all stopped working at the same time and throwing the same error.
Error Message: XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)
I'm running..... Version 18.2.41.1652 successfully installed Microsoft Windows Server 2008 R2 Standard (6.1 Build 7601 Service Pack 1 SPV1.0), 4 CPUs (Quad x64 Model 6 Step 1), code page "Windows-1252", on "NUTANIX VDISK SCSI DISK DEVICE"
File1: Result of Sensor 11987.Data
Data['blockedsens'].asString := ''; Data['canlinux'].asString := '0'; Data['channelinfos'].asString := '{"1":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"2":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":"0.2"},"3":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"4":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":"0.2"},"5":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"6":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":"0.2"},"7":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"8":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"0.2","LimitMaxWarning":""},"9":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"10":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"0.2","LimitMaxWarning":""},"11":{"Unit":"oukTimeSeconds","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"0","LimitMaxError":"","LimitMaxWarning":"2592000"},"12":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"13":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"14":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"15":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":"0.2"},"16":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"1","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"0.2","LimitMaxWarning":""}}'; Data['channelnames'].asString := 'Updates (Unclassified) Installed'#$D#$A + '1'#$D#$A + 'Updates (Unclassified) Missing'#$D#$A + '2'#$D#$A + 'Updates (Severity Low) Installed'#$D#$A + '3'#$D#$A + 'Updates (Severity Low) Missing'#$D#$A + '4'#$D#$A + 'Updates (Severity Moderate) Installed'#$D#$A + '5'#$D#$A + 'Updates (Severity Moderate) Missing'#$D#$A + '6'#$D#$A + 'Updates (Severity Important) Installed'#$D#$A + '7'#$D#$A + 'Updates (Severity Important) Missing'#$D#$A + '8'#$D#$A + 'Updates (Severity Critical) Installed'#$D#$A + '9'#$D#$A + 'Updates (Severity Critical) Missing'#$D#$A + '10'#$D#$A + 'Time since last update'#$D#$A + '11'#$D#$A + 'Updates (Unclassified) Hidden'#$D#$A + '12'#$D#$A + 'Updates (Severity Low) Hidden'#$D#$A + '13'#$D#$A + 'Updates (Severity Moderate) Hidden'#$D#$A + '14'#$D#$A + 'Updates (Severity Important) Hidden'#$D#$A + '15'#$D#$A + 'Updates (Severity Critical) Hidden'#$D#$A + '16'#$D#$A + ''; Data['environment'].asString := 'prtg_sensorid=11987 prtg_deviceid=11544 prtg_groupid=2641 prtg_probeid=1 prtg_host=10.120.160.195 prtg_device=Varonis (10.120.160.195) prtg_probe=ETS NETWORK PROBE prtg_name=Windows Updates Status 10 prtg_windowsdomain=localhost prtg_windowsuser=administrator prtg_windowspassword=*** prtg_linuxuser= prtg_linuxpassword= prtg_snmpcommunity=public prtg_url=https://s-vm-itadmin/ prtg_primarychannel=11 prtg_version=18.2.41.1652'; Data['exefile'].asString := 'LastWindowsUpdateSensor.exe'; Data['exeparams'].asString := ' -host="10.120.160.195" -timeout=3598 -port=5985 "-debugfile=C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)\Result of Sensor 11987.log"'; Data['fastcount'].asString := '0'; Data['host'].asString := '10.120.160.195'; Data['hostv6'].asString := ''; Data['inerror'].asString := '1'; Data['interfacenumber'].asString := ''; Data['inum'].asString := ''; Data['ipversion'].asString := '0'; Data['isexesensor'].asString := '1'; Data['lastmsg'].asString := '#Y2 @#O233 @#O231[Invalid JSON.]'; Data['lastuptime'].asString := '0'; Data['linuxlogindomain'].asString := ''; Data['linuxloginpassword'].asString := ''; Data['monitorchange'].asString := ''; Data['mutexname'].asString := ''; Data['notonpod'].asString := '0'; Data['reboot'].asString := '43265.5164903241'; Data['reqmsginterval'].asString := '3600'; Data['requiredotnetversion'].asString := '45'; Data['resultfile'].asString := 'Result of Sensor 11987.txt'; Data['sensorid'].asString := '11987'; Data['simulate'].asString := '0'; Data['timeout'].asString := '1140'; Data['tlsexplicit_default'].asString := ''; Data['tlsexplicit_ftp'].asString := ''; Data['tlsexplicit_imap'].asString := ''; Data['tlsexplicit_pop3'].asString := ''; Data['tlsexplicit_port'].asString := ''; Data['tlsexplicit_smtp'].asString := ''; Data['uptimecount'].asString := '0'; Data['usednstime'].asString := '0'; Data['usewindowsauthentication'].asString := ''; Data['windowslogindomain'].asString := 'localhost'; Data['windowsloginpassword'].asString := '***'; Data['windowsloginusername'].asString := 'administrator'; Data['writeresult'].asString := '1';}}} {{{ File 2: Result of Sensor 11987 Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. at LastWindowsUpdateSensor.Program.Main(String[] args)
Add comment