Troubleshooting problems related to agents