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

Send Notifications/alerts Needs Blackout/maint Period

forums forums Monyog Monyog: Bugs / Feature Requests Send Notifications/alerts Needs Blackout/maint Period

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #31372
      peterlaursen
      Participant

      It is there already.  This is implented in the 'MONyog API'. Please refer documentation, and scroll down to 'The MONyog API'.

      You will need a scripting/programming environment that can send (simple) HTTP requests (what I cannot think of any that cannot) and schedule two script/apps – one stopping and another restarting alerts.

      Code:
      Enables alerts for

      http://:/?_object=ConnectionMgr&_action=ConnectionAPI&_actionvalue=EnableAlerts&password=&server_name=

      Disables alerts for

      http://:/?_object=ConnectionMgr&_action=ConnectionAPI&_actionvalue=DisableAlerts&password=&server_name=

    • #31373

      Just one more point to add to Peter's reply: You can check MONyog's documentation for an example script (written in Perl) — section called “The MONyog API”. The script accepts command line parameters (so the same script can be scheduled with different parameters at different times). We use this feature ourselves for our production servers.

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