Monitoring OS resources on remote server

8.1.x

I’d like to monitor CPU, RAM, and storage space on some remote (non-Ignition) Windows Server 2019 VMs. Has anyone tried this before?

Ideally I’m looking for a free solution that doesn’t require user credentials for the remote machine and is set-and-forget. Presumably that would be some python solution. If free isn’t feasible, I think the easiest option is just to install Ignition Edge with Sync Services ($400 ea). Thoughts?

perfmon is built in to the OS and can connect to remote hosts:

I would be very surprised if there weren’t other Windows built-ins that could offer at least basic insight into data like this.

That makes sense and I figured those would exist. I should have mentioned, my end goal is to get this data into an Ignition tag and poll regularly to use in a Vision application. Currently getting hung up finding a way to directly query those Windows components.

This looks like it could work (I have not tested):

I'm guessing you'll need Ignition running under a user that is a member of Performance Monitor Users on the remote machines:

1 Like

Ah, that looks like it could do the trick. Thanks!

1 Like

@Cory.grube hey, interested in doing something exactly like this. were you able to get this to work?

I have the WMI library installed and it is recognized but I get a ton of errors with it trying to connect to pywin32 stuff and specifically cant get past win32api, but apparently those dont work since there is underlaying C code so Im just wondering how you circumvented that if at all? Thanks!

Unfortunately, I never had the chance to dig in and try it. Other work ended up getting in the way. If it's relying on C code, I don't think there's any real workaround short of finding a different library. If you find a solution though, definitely follow up!

Well thanks for the reply! Glad to know this so since this was the last confirmation it wont work and I wont sink anymore hours into this