N-able / CustomMonitoring

Custom Monitoring components for N-Central
52 stars 45 forks source link

Microsoft SQL Server Backups Monitoring (Last Backup Time) #18

Open thenaysayer opened 7 years ago

thenaysayer commented 7 years ago

When using the Microsoft SQL Server Backups Monitoring (Last Backup Time) custom service, I am getting the following error in N-Central:

102 Null reference to the variable object defined in the recipe Scan detail size is zero or negative integer. 0

The provided powershell script appears to be working as intended. I can manually query the WMI data created by the script without issue, The problem seems to be with N-Central collecting that WMI data,

I am attempting to run this on multiple server OS types including 2008R2, Windows 7, and 2012R2. I see that the script doesn't report compatibility with 2012R2, but I was hoping to get some assistance here with making it work.

Since the data is getting into WMI, it seems like its just a manner of pulling that WMI data properly.

Thanks