If you want to have different threshold values for each server, you have to write condition in Critical/Warning section.
This can be easily done in MONyog :
Let me explain an example :
Consider a counter “Seconds behind master”
For first register server named “TestServer” you want “Critical” value as 1000 and for second register server name “Production” you want “Critical” value as 800.
How to make this changes in MONyog:
1) Click on “Seconds behind master” counter
2) Click on “Customize”
3) Click on “View Advanced”
4) Now clear “Critical” field and fill with this function.
function()
{
if(MONyog.Connections.ConnectionName == “Testserver”)
return 1000;
if(MONyog.Connections.ConnectionName == “Production”)
return 800;
}
5) Now Save the changes.
In this way you can customize MONyog counter per server basis. ( Please refer screen shot)