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
How to troubleshoot my Windows PowerShell Plugin?
By default, the Site24x7 monitoring Windows agent will run as a SYSTEM user. In case, if you would like to verify if the plugin script is giving the output properly as SYSTEM user, follow these steps: Download PsExec from this link and extract the ...
How do I add the Dell iDRAC plugin for Windows?
Prerequisites Install the latest version of the Net-SNMP package. Follow these steps to install and configure it. Install Python 3.6. Plugin Installation Create a folder named idrac. Download the files from our GitHub repository and place them in the ...
Install and configure an Oracle plugin in Windows
Prerequisites Ensure that the Site24x7 Windows server monitoring agent is installed in the system where the Oracle instance is running. Ensure python3 is installed in the system and add it to the Windows path. Refer to the link below for adding ...
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 Error 404, Error 111, and "no host given" error when installing the Apache plugin
When installing the Apache monitoring plugin, you may encounter the following errors: Error_code : URL Error no host given: The "no host given" error message typically indicates an issue with a URL or request that lacks a hostname. If you encounter ...