Azure iot defender micro agent - [procfs_reader.c/read_data_from_procfs:101] Error getting username in pid
Hi,
When configuring the azure iot defender micro agent on the iot edge device (azure vm) we uncounted the following error message - [procfs_reader.c/read_data_from_procfs:101] Error getting username in pid
When checking the status its running, its gives an error
I restarted the service and then saw additional messages at startup (don't know if its related to the issue).
sudo journalctl -u defender-iot-micro-agent | tail -n 100
we checked the permissions and its looks okay
The one thing stands out the folder looks different than in the Microsoft documentation. But its same folder as when we run the status command.
I also tested the system- https://learn.microsoft.com/en-us/azure/defender-for-iot/device-builders/tutorial-standalone-agent-binary-installation#test-the-system
but it doesn't produce recommendation in azure. The log analytics table : SecurityRecommendation does not return any result.
Please help,
Regards,
Midhun