What is a plugin template and a plugin monitor?
Plugin Template:
A plugin template is a set of attributes to be monitored. Example: mysql.py file consisting of attributes like slow queries, reads, writes etc
Plugin Monitor:
A monitor that uses a plugin template for monitoring purposes
Example: The mysql.py template installed in 'n' number of servers will create 'n' number of MySQL plugin monitors
Working Condition:
A single plugin template can be used for multiple plugin monitors
Use Case:
A user downloads and installs the mysql.py from the Site24x7 Git repository and adds it to Server A. So, the template is mysql.py and the plugin monitor added is mysql.py-A
Now, the user can also use the same template mysql.py in another server B. The plugin monitor mysql.py-B will be added
Related Articles
How to debug a plugin monitor?
Please follow the steps below: Go to your plugin folder For Linux : /opt/site24x7/monagent/plugins/<plugin name> For Windows: <Installation Directory>\Site24x7\WinAgent\monitoring\Plugins\ Execute your plugin file Eg: For Python : python <plugin ...
Under what conditions should I change my plugin version?
A template contains the list of attributes to be monitored. If the user wants to add/modify/delete attributes, the plugin version needs to be changed to create a new template. Working Principle: When a plugin is created by the user, Site24x7 ...
Requirements to write a Windows plugin using DLL
Please make sure the following requirements are met to successfully write a Windows plugin using DLL: Plugin must be written in C# (.NET framework 3.0 and above) The output of the script should be in JSON format Mandatory variables to be present in a ...
Disable alerts for a plugin if the parent server is down
If a plugin monitor's parent server goes down, you can choose to exclude additional alerts from the plugin monitor. This way, you won’t receive alerts when the plugin monitor goes down as a result of the parent server being unavailable. To enable ...
What are the dependency modules to be installed while adding a plugin?
Please find below the list of plugins with their required dependency modules: MySQL - pymysql Redis - redis Postgres - psycopg2 Memcached - memcached MongoDB - pymongo DB2 - ibm_db StatsD - statsd iNode - psutil Twilio - twilio Supervisord - ...