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 name>.py
Check the output content :
Ensure you get a valid JSON output with a JSON Editor
The plugin script should have plugin_version, heartbeat_required, data, units (optional), msg (optional)
The data attribute must have attributes to be monitored. Only the attributes inside "data" will be monitored.
Eg: "data" : {"attribute a" : 100 ...}
Related Articles:
Related Articles
Troubleshoot connection errors in the MySQL plugin
When configuring the MySQL plugin, you may encounter the following errors: Error : Connection Error - This error typically indicates that there is a problem establishing a connection to the database. Sometimes, this message is supplemented with an ...
Troubleshoot the "pymysql module not found" error when installing the MySQL plugin
If you're encountering the pymysql module not found error, it likely means that the pymysql Python library is not installed on the server. pymysql is a Python package that provides a way to interact with MySQL databases using Python code and is used ...
What happens if I delete a plugin monitor from the Site24x7 web client?
Once the user chooses to delete a plugin monitor, this will be communicated to the agent and it will stop data collection. But, the plugin script file will remain in the plugins directory For Windows - <Installation ...
Troubleshoot the HTTP Error 403 (Forbidden) for Jenkins
When installing the Jenkins monitoring plugins, you may encounter the following error: HTTP Error 403: Forbidden: This error usually indicates that you don't have the necessary permissions to access a particular resource or perform a specific action ...
How to view perfmon counters in Windows?
To monitor specific Windows performance (perfmon) counters with Site24x7's plugin integration, you need to get the names of the performance counters from the Windows Performance Monitor on your server. Follow the steps below to get the names of the ...