The python directory path installed in the user's machine should match the path mentioned in the plugin script.
Replace the shebang character "#!" with the appropriate path for Python 3 in your system. Eg : #!/usr/local/bin/python3
Check if the dependency modules are installed for the python version used to execute the plugin script. Eg: MySQL - pymysql module should be installed
The authentication credentials, which are required for certain plugins (MySQL, Redis, HAProxy), should be updated correctly Eg: While configuring MySQL plugin, make sure the following credentials are updated appropriately: #Config Section: MYSQL_HOST = "localhost" MYSQL_PORT="3306" MYSQL_USERNAME="root" MYSQL_PASSWORD=""
The python or the shell script should contain atleast one numeric attribute for successfully adding a plugin for monitoring.
Any application which is down will not be registered as a plugin since no attributes can be collected for monitoring.
If the configured script does not deliver the expected format, the plugin file will automatically be moved to the Ignore list. To check that, log in to Site24x7 and go to Server > Server Monitor > Servers > click on the Linux monitor > Plugins > under Inventory > click on the reload icon to try adding the plugin again for monitoring.
Note: The user can check the ignore list in the plugins.txt file present in the plugins directory
Ensure the plugin script is placed correctly in its respective plugin folder. For eg., For a MySQL plugin, the mysql.py file should be placed under the MySQL folder.
Make sure the name of the file and the folder name, both are identical. Eg: If the name of the file is pluginmonitor.py, the folder name should be pluginmonitor
The file name should not exceed 30 characters. The file name and the folder name should contain only alphanumeric characters and the special character underscore (_) without any spacing between them.
In cases where multiple plugin versions are available for a plugin across multiple servers, the user should use only the latest version or above for registering any new plugin in another server. Eg: Instances of MySQL plugin are present in server A and B with versions 1 and 2 respectively. So, if the user wants to add another instance of MySQL to another server C, then the version specified in the plugin script should be version 2 or above.