Unsupported Screen Size: The viewport size is too small for the theme to render properly.

How To Create Own Own Custom Monyog Advisor

forums forums Monyog Monyog Deployment How To Create Own Own Custom Monyog Advisor

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #13324

      I have been using MONyog from long time,

      I need help, on creating advisor.

      I want to create custom advisor to monitor certains MySQL parameters,

      Can any one guide me, on how to create one,

    • #35214
      siddhant
      Member

      Hi,

       

      You can follow these steps given in our documentation for adding a custom advisor. You need to enable this advisor using certain MySQL parameters, which I’ll assume you meant the global status and global variables. You can make use of the MOM (MONyog Object Model) to access these variables and create a custom counter. For example if you want to access the global variable log_warnings and global status Aborted_connects, you can do it using MOM in the following way:

       

      MONyog.MySQL.GlobalVariables.log_warnings

      MONyog.MySQL.GlobalStatus.Aborted_connects

       

      You can use this in the Value field inside the JavaScript function. To know more about on how to Add a new monitor/advisor in MONyog please refer to these links:

       

      http://monyogkb.webyog.com/article/103-adding-new-monitors 

      http://monyogkb.webyog.com/article/108-monyog-object-model

       

      If you still face any issue, please write back to us.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.