
Andy Gaskell (Customer) asked a question.
Active Monitor for Disk Threshold using VBScript connecting to WUGDB
Hi all, we're trying to move from V16 to 2023, we've had an active monitor in place for years, configured as a vbscript connecting to the WUG database. Added it to 2023 and the monitor just shows "UP" no matter what the status of the device. We have disk threshold configured to 90% and have triggered this, but the Active Monitor remains UP. Notification profiles aren't hitting the spot. We use the Active monitor "DOWN" status to automatically trigger an email to our call logging system in a specific format stating the "disk" monitor is down. Wondering if anyone can help? Attached is the current Script. Thanks in advance.
I cleaned up the SQL query a bit, try this one.
Are you just wanting a monitor for disk utilization > 90%? You may want to look at using the API.
Hi Mark, thank you so much for taking the time to clean up the SQL code, I've added it in and we're doing some testing now. It literally is just the disk active monitor for over 90% we need. It's saved us many times over the years we've had it. We haven't actually used the API up to now. Our call logging software is automatically logging a call from a specific email format when the device status has the active monitor "down" and it lists the Disk active monitor in the call contents. Will update after we've tested the new script! Thanks again!