Check_mk_agent loop execution

I think without the knowledge of the real path locations of your files and your modifications/environment changes it is not possible to say why it is not working.

This is normally not relevant for your agent problem by itself, only if you get no data at all.

To check if you modified agent or your modified paths are working correctly you can make a small script with a single line output as debug information and place this script in your own plugins directory.
This line should be visible in the agent output also if you call the agent directly on your host.