Getting ms-windows assets via api
Hey guys and girls, I want to write a local check for my monitoring system (checkmk), so I can monitor if backups are running and if my servers are protected. I don't have much experience with Netbackup, a supplier set up the system for us, I'm just a backup admin (amongst many other things). I'm quite competent with python and api's, but haven't played around with netbackup's api until yesterday.
For my checkmk 'local check' I want an overview of all machines that I make backups of, and when the last succesful backup was run.
Now I have two different workloads: vmware and ms-windows.
For the vmware workload, it's quite easy, I found there's an assetservice api endpoint, where I can get info on all my vm's, and when the last succesful backup was. Easy peasy!
But for the ms-windows workload, it seems like it's a bit more complex. The assetservice api does not seem to recognize the ms-windows workload?
I can get a list of all the recent jobs, look for the WINDOWS_NT type, and massage the data the way I want it, but then I have to aggregate all streams for a specific host, do manual stuff on it, etc. You guys know if there's an easier endpoint to use for this?