Hello Luciano,
Here is the log "Result of Sensor 8548.Data.txt":
Data['blockedsens'].asString := '';
Data['canlinux'].asString := '0';
Data['channelids'].asString := '';
Data['channelinfos'].asString := '{"0":{"Unit":"oukTimeResponse","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"1":{"Unit":"oukTimeResponse","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""},"2":{"Unit":"oukCount","CustomUnit":"","ValueLookupName":"","LimitMode":"0","LimitMinError":"","LimitMinWarning":"","LimitMaxError":"","LimitMaxWarning":""}}';
Data['channelnames'].asString := 'Ausführungsdauer'#$D#$A +
'0'#$D#$A +
'Abfrageausführungsdauer'#$D#$A +
'1'#$D#$A +
'Betroffene Zeilen'#$D#$A +
'2'#$D#$A +
'';
Data['environment'].asString := '';
Data['exefile'].asString := 'SQLv2.exe';
Data['exeparams'].asString := '"-dbuser=xxx\admin" "-dbpass=***" "-host=xxx-sql" "-dbauth=1" "-database=xxxdaten" "-timeout=60" "-server=mssql" "-handledbnull=1" "-querytype=ChangeDB" "-transaction=noTransaction" "-selectvalue=ColumnID" "-channelids=" "-selectors=" "-includeruntime=1" "-isdif=" "-enforceencryption=0" "-sqlpath=C:\Program Files (x86)\PRTG Network Monitor\custom sensors\sql\mssql\Demo Serveruptime.sql" "-writefile=C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)\Result of Sensor 8548.log"';
Data['fastcount'].asString := '0';
Data['host'].asString := 'xxx-sql';
Data['hostv6'].asString := '';
Data['inerror'].asString := '';
Data['ipversion'].asString := '0';
Data['isdif'].asString := '';
Data['isexesensor'].asString := '1';
Data['lastuptime'].asString := '0';
Data['linuxlogindomain'].asString := '';
Data['linuxloginpassword'].asString := '';
Data['monitorchange'].asString := '0';
Data['mutexname'].asString := '';
Data['notonpod'].asString := '0';
Data['password'].asString := '***';
Data['query'].asString := 'Demo Serveruptime.sql';
Data['reboot'].asString := '43380.4729617593';
Data['reqmsginterval'].asString := '0';
Data['resultfile'].asString := 'Result of Sensor 8548.txt';
Data['sensorid'].asString := '8548';
Data['simulate'].asString := '0';
Data['timeout'].asString := '60';
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['windowslogindomain'].asString := 'xxx';
Data['windowsloginpassword'].asString := '***';
Data['windowsloginusername'].asString := 'administrator';
Data['writeresult'].asString := '1';
Result of Sensor 8548.log:
08.10.18 13:21:04: Connections String: Data Source=xxx-sql;Initial Catalog=xxxdaten;User ID=xxxxx\admin;Password=***********;Connect Timeout=60
08.10.18 13:21:04: Opening Connection to MSSQL Server 'xxx-sql'
08.10.18 13:21:04: Closing Connection to MSSQL Server 'xxx-sql'
Result of Sensor 8548.txt:
<?xml version="1.0" encoding="utf-8"?>
<prtg>
<error>1</error>
<text>Fehler bei der Anmeldung für den Benutzer 'xxx\admin'.(Connectionstring: Data Source=xxx-sql;Initial Catalog=daten;User ID=xxx\admin;Password=;Connect Timeout=60)</text>
</prtg>
I changed some Login Information in the log
Add comment