lordmilko
lordmilko
This is a bug in PrtgAPI which is occurring because the datetime format of your system is MM/dd/yyyy. You can temporarily work around this by changing your date format in...
Can you please provide the output of `Get-PrtgClient -Diagnostic` In addition, if you execute `Get-SensorHistory -Report` with the `-Verbose` parameter it will show you the API request that was executed...
Hi @kbilsted, Just prior to calling `GetProbeProperties`, can you follow the steps listed in [Troubleshooting](https://github.com/lordmilko/PrtgAPI/wiki/Troubleshooting#c-logging) as follows ```c# client.LogLevel = LogLevel.Request | LogLevel.Response; client.LogVerbose (sender, args) => { Console.WriteLine(args.Message); };...
Ah, I see the issue! ```c# var props =client.GetProbeProperties(sensor.Id); ``` You are attempting to retrieve the **probe** properties of a **sensor** To retrieve sensor properties you must use `GetSensorProperties` Additionally,...
Also, I can't believe I never tested this before, but I don't think my `IQueryable` provider supports doing `ToLower` like this ```c# Sensor[] sensors = client.QuerySensors(s=>s.Name.ToLower().Contains("myservice")).ToArray(); ``` From a quick...
If `GetProbeProperties` first had to do `GetProbe` on the ID you passed in to verify whether or not it's actually a probe, this would double the number of API requests...
> Can the filter-operations you suggest be specified as case insensitive? We have a mix of manually created probes over the last decade, so you will find all sorts of...
It sounds like PRTG has added a new [GraphType](https://github.com/lordmilko/PrtgAPI/blob/master/src/PrtgAPI/Enums/Deserialization/ObjectSettings/GraphType.cs) that is not known to PrtgAPI. You can work around this for now by doing `GetObjectPropertiesRaw` instead of `GetSensorProperties`. This will...
Scripty appears to work fine when compiling .NET Core projects in Visual Studio, however as alluded to by @daveaglick when compiling with dotnet.exe it explodes trying to load .NET Framework...
Out of interest, what are you actually using this project for?