Best practices for plugin integrations
Follow the best practices below to effectively use plugin integrations:
Installation and configuration
- While installing out-of-the-box plugins, follow the additional prerequisites steps in the GitHub repository README for seamless configuration.
- Configure the .cfg file to simplify monitoring multiple instances of an application or service in a single plugin script, saving time and effort.
- Adhere to the correct plugin file naming conventions. The plugin file name should not exceed 30 characters and should contain only alphanumeric characters and underscores, without any spaces.
Error management and troubleshooting
- Efficiently manage and resolve installation errors with the Help Assistant in the Plugins section where you can view installation error messages, the possible reasons for the errors, and easily re-register the plugin.
- Implement proper exception handling within plugin scripts to capture errors when metrics cannot be collected. This ensures that errors are logged appropriately and can be addressed promptly.
Monitoring and visualization
- Monitor various tech stacks, like the LAMP stack, by creating custom dashboards with drag-and-drop widgets that display metrics from different plugins and servers.
Plugin script editing
- While editing a plugin script, do not delete the mandatory fields in the script.
- To ensure that the plugin monitor is displayed in the Site24x7 web client, the plugin script must contain at least one numeric attribute.