Possible reasons why my Linux plugin is not added to my Site24x7 account

            The following are the possible list of cases where a plugin monitor will not be configured to your Site24x7 account:
            1. Check if the version of the Site24x7 Linux monitoring agent is above 15.0.0
            2. The python directory path installed in the user's machine should match the path mentioned in the script. 
            3. Replace the shebang character "#!" with the appropriate path for Python 3 in your system
              Eg : #!/usr/local/bin/python3
            4. Check if the dependency modules are installed for the python version used to execute the script 
              Eg: MySQL - pymysql
            5. 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"
            6. The python or the shell script should contain atleast one numeric attribute for successfully adding a plugin
            7. Any application which is down will not be registered as a plugin since no attributes can be collected for monitoring.
            8. If the configured script does not deliver the expected format, the plugin file will automatically be moved to the Ignore list. In order to pull out the script from the Ignore list, the user should restart the Linux agent.
              Eg: The supported JSON format for a python script should resemble
              {“availability” : 0/1 , “data” : {“attribute1” : 3 , “attribute2” : "value2" , “attribute3” : 9.4 }, “units” : {"attribute1" : "ms",“attribute3” : “reads/sec”}}
              Note: The user can check the ignore list in the plugins.txt file present in the plugins directory
            9. Write your plugin in Python or Shell script and make sure the plugin file is placed in its respective folder.
              For eg., For a MySQL plugin, place your file under the MySQL folder
            10. Make sure the name of the file and the folder name, both are identical. 
              Eg: If the name of the file is, the folder name should be pluginmonitor
            11. 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
            12. 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.

            To know more on how to write a Linux custom plugin, click here. Check out our expanding list of plugin integrations.

            Updated: 15 Jun 2017 11:36 PM
            Help us to make this article better
            0 0