I'm trying to set up WMI disk sensors in PRTG to alert me when I'm running low on disk space. However, I'm encountering issues with WMI connectivity. I've successfully created the sensor and notifications, but when I switch from using the admin account to a local user account that I set up with the necessary WMI permissions, things break. Here's what I've done so far with the local user account:
1. Added the user to performance monitor user groups
2. Set the appropriate WMI permissions
3. Ensured the firewall is not blocking access
4. Configured DCOM with correct permissions
When I use my Admin credentials, everything works fine, but when I switch to the local user account, I receive an error message: "Connection could not be established (80070005: Access is denied) (code: PE015)." I really need some help troubleshooting this!
2 Answers
Have you thought about switching to SNMP instead? It's way easier to set up and usually puts less strain on your PRTG server and the system you're monitoring.
Did you run a WMI test? Also, make sure that the probes on the machine are restarted; that can sometimes fix these kinds of issues.
The WMI test comes back fine, and I really shouldn’t need to restart anything, especially since it works perfectly with Admin credentials. It seems to be related to the local user account.
I did try SNMP, but I keep getting this error: "Sorry, the scan for available monitoring items has failed. Could not create on xy server. No response. SNMP error # -2003." So that's not working for me.