forums › forums › Monyog › Monyog customisation › Custom Alert For Seconds Behind Master Per Server
- This topic is empty.
-
AuthorPosts
-
-
September 1, 2011 at 3:52 pm #12441LaurieMember
Hi,
I am trying to find information on how to allow three different threshold levels for seconds behind master on three different servers within the same group/network all being monitored by MONyog. I found a doc on defining server specific alert levels but I'm still a bit confused on exactly what to do. Any info would be much appreciated.
Thanks
-
September 2, 2011 at 4:54 am #32619MaheshMember
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)
-
November 30, 2014 at 7:27 am #32620Magesh KumarMember
Hello Mahesh,
Thanks for your Input.
I am trying it to configure for certain set of tags.
say i have 5 tags for 3 tags i need to set different threshold for CPU uage and other 2 tags needed a seperate threshold.
Can you please let me know how to set it up.
Thanks for your help in Advance.
Regards
Magesh Kumar
-
December 22, 2015 at 7:06 am #32621anup_fcParticipant
Any luck with this .
I got a similar problem like mahesh.
Can it be done for set of tag servers.
-
December 22, 2015 at 2:09 pm #32622anup_fcParticipant
I figure it out .
With new versions we can do it by tagging.
-
May 2, 2016 at 7:17 pm #32623pandianMember
Anup,
Could you please share the details for tagging?
Ans: http://monyogkb.webyog.com/article/108-monyog-object-model
-
-
AuthorPosts
- You must be logged in to reply to this topic.