Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
themeConfluence
function()
{
    if(this.Value != "(n/a)" && this.Value > 1)
        return "Critical";
    else 
        return "None";
}

WarmUpRequired: A values value 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 is not 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 -> , select General you will find MYSQL WARMUP PERIOD.

...

MONyog.Connections.ConnectionName Gives the name of that server. This can be extremely useful while setting different threshold levels (based on tags or server names) for a monitor. ExampleFor example:

The following can be added to the critical/warning field in Add/Edit server->View Advanced to set server and tag specific thresholds.

...