Page History
...
Similarly the following Object Models are defined as follows:
Variable | MOM Object |
|
|
|
|
|
|
OS-level counters |
|
Note |
---|
Operating system-level counters measure CPU, memory usage, and so on. |
MOM variable for SQL DM for MySQL tags and server names
AlertCondition:
This attribute expects an expression that should evaluate to one the following 3 values: "Critical", "Warning" or "None". Generally, a JS expression or function is specified which compares some of the MOM values to the Warning or Critical threshold values defined above. (Optional) Consider two examples of a monitor to receive alerts based on an alert condition.
Code Block | ||
---|---|---|
| ||
function() { if(ToInt(MONyog.MySQL.GlobalStatus.Select_scan) > 1000) return GetWarnStatusInt(this.Value, this.Critical, this.Warning, true); else return "None"; } |
Code Block | ||
---|---|---|
| ||
function()
{
if(this.Value != "(n/a)" && this.Value > 1)
return "Critical";
else
return "None";
} |
WarmUpRequired: A values of "Yes" specifies that this metric makes sense only if the server is running for a minimum period of time. If the server is not running for the minimum period, AlertCondition won't be evaluated and no alerts would be displayed or notified. The default value is 3 hours, if you want to change this value; go to Settings -> General you will find MYSQL WARMUP PERIOD.
...
NotifyStableOverride: A MOM variable that takes either "Yes" or "No" as a value and overrides the server-level "Notify when stable" setting at the counter-level.
Anchor MOM-variables MOM-variables
MOM-variables | |
MOM-variables |
MOM variables for SQL DM for MySQL tags and server names
...