VMware Cloud Community
wfdeller
Contributor
Contributor

Create an alert for a user-calculated statistic

I would like to create an alert on memory sorts compared to disk sorts - is this possible? The Oracle agent already collects both individual stats, but can I create an alert to determine if the sorts to memory are at least, 99% for example, of all sorts?
0 Kudos
1 Reply
admin
Immortal
Immortal

It's not currently possible currently to create derived metrics within HQ. (i.e. using 2 or more metrics to construct a third) If you have the SQL to calculate this metric, I could write up a small extension plugin that you could use to collect your own custom metrics.

There is an example of how to do this in our documentation, it's pretty straightforward once you get the hang of it:

http://support.hyperic.com/confluence/display/DOCSHQ27/SQL+Query+Plugin

-Ryan
0 Kudos