What does Catalyst Free Database Space Checking rule do?
The rule checks for Freespace left in the Foglight backend database.
Use the script below to manually trigger the metrics update and retrieve the metric:
new
com.quest.nitro.service.util.MBeanRef(javax.management.ObjectName.getInstance("com.quest.nitro.monitor:type=DatabaseSpace")).ref().execute(System.currentTimeMillis())
sleep(3000)
#!CatalystTablespace#.topologyObjects.collect{ obj ->
def val = server.DataService.retrieveLatestValue( obj, 'freeSize')
"$val.startTime - $val.endTime : ${val.value.avg/1024.0/1024.0} MB, count ${val.value.count}"
}.join('\n')
© 2022 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy