Open Heliosphan opened 6 years ago
@Heliosphan Hi Stuart,
I haven't touched PRTG and this code in a long time, also haven't touched GitHub in a while. I am revising a bunch of my old code and modernizing it - I will see if my adjustments will resolve your issue.
Hi Evan, I'm Stuart Smith, a sysadmin in the UK. I've just installed your PRTG script and it's working great in our live environment (7 day). Thanks for that - although I did need to change the timeout to 180 seconds, as it takes time to run. Unfortunately it's showing an uptime of 91.9%, which is peculiar given most of our kit has been almost totally up and running, except for only a few short incidents and misconfigurations in PRTG. SLAs are usually based on certain end-user services being up and running, not specifically servers, and less so certain sensors. Also only for working hours and week days. I get the impression your script does a blanket uptime grab throughout. So is there a way of configuring your code to only monitor certain servers and sensors for certain periods of time during a week? I've tried to have a look at the source code, knowing a bit of powershell, but the PRTG API tie-ins are confusing me a bit! If you can give me a few basic pointers, it'd be appreciated. Thanks!
Stuart