Hi Guys
I've been pouring over the forums and am unable to find an answer to what should be an easy question, please bear with me while I explain the problem.
I was using a basic alert to monitor fixed disk volume free space and had set up an alert to trigger when disk space was over 90% of the total volume. The problem with this is that it does not show you how many bytes are available. I therefore set up an advanced alert "Volume Percent Used is greater than or equal to 90" with the trigger to send an email with the following message body:
"The space available on ${FullName} is now ${SQL:Select round((VolumeSpaceAvailable / 1024 / 1024 / 1024),2) from Volumes WHERE VolumeID='${VolumeID}'} GB, total volume size is ${SQL:Select round((VolumeSize / 1024 / 1024 / 1024),2) from Volumes WHERE VolumeID='${VolumeID}'} GB."
So essentially it still notifies me when the disk is more than 90% full but the email states how many bytes are available (rounded up to GB). Now for the question! While I had this set up just as a percentage on the basic alert engine and I browsed to active alerts on the web interface the message would state at what percentage the alert was triggered but it would also tell me what the current value is. This is no longer the case with advanced alerts, the current value field is blank. How do you go about using macro's to be displayed on the web interface with advanced alerts? I want the current value to tell me how many bytes are available on that volume!
Please let me know if you need any additional info, any input would be appreciated.
Many thanks,