Site24x7 Knowledge Base
Monitor multiple MySQL instances from one plugin
From a single plugin you cannot monitor all MySQL instances. You can reuse the same MySQL plugin by renaming it and editing the configuration.
Using MySQL for monitoring multiple instances:
Copy the mysql/ folder to mysql_instance/
Rename the mysql.py to mysql_instance.py present under mysql_instance/
Commands to execute in your server to achieve the above steps:
cp -r mysql/ mysql_instance/
mv mysql.py mysql_instance.py
Edit the mysql_instance.py to change the mysql configurations.
Agent will pick this up in the next data collection and you can view your plugin under server monitor details page.
If you have many instances, please follow the steps listed above (i.e rename the plugin file and its configurations).
For more information on configuring MySQL plugins,
Updated: 04 Apr 2016 10:10 PM
Help us to make this article better
What is a plugin template and a plugin monitor?
Possible reasons why my Linux plugin is not added to my Site24x7 account
Can I monitor multiple Office 365 servers with a single Windows monitor?
Can I associate a threshold profile to multiple server monitors in one go?
Possible reasons why my Windows plugin is not added to my account
Help Desk Software
by Zoho Desk