Search our documentation...

Simply enter what you are looking for!

Monitoring Plugins :: Creating plugins

Server Monitoring is very modular. Since our core system is using external plugins to monitor, you can create your own monitoring plugins to suit your needs.

You will be able to find an example plugin at the following path – “modules/addons/servers_monitoring/plugins/example“.

For creating a new plugin using our example plugin, please duplicate the example folder and name it with your new plugin name.
There are 6 basic functions to work with – (raname ‘example’ with your new plugin name)

  • example_settings();
    Basic setting (for example – connection types).
  • example_activate();
    Tasks to run when activating the plugin.
  • example_deactivate();
    Tasks to run when deactivating the plugin.
  • example_actions();
    Get information about your actions. For example – login details to remove server.
  • example_buttons();
    This function creates GUI buttons.
  • example_run_action();
    Tasks to do when action is triggered.