Customer Self-Service Portal

Custom Plugin

I am absolutely confused with these custom plugins and was wondering if anyone can answer 

 

1. When I run the script and validate manually everything is fine no problem - I then add the script to become a plugin and Site 24x7 dashboard tells me that the JSON output is invalid. I then rename the folder & script and suddenly its correct?

2. How can I manually trigger a poll for the plugin. At times I can add a new plugin or change (changing the version number) and site 24x7 doesn't even see anything has changed in the plugin folder. How can I trigger the app to check or how can I see why the agent has not even attempted to find the plugin?

3. How can I ensure that the plugin is actually working with the agent?