Page History
This knowledge base article provides a workaround for the most common cause of the "Failed to get configuration from agent" error with Linux agents, which occurs when there is unexpected or malformatted data returned from the agent. With Linux agents, the issue is most commonly related to file system metrics.
To identify where the issue is occurring, it is best to use the Poll Agent tool, if the system has is already been added to Uptime Infrastructure Monitor, or the Agent Scanner, if it has not. The
To run the Agent Scanner can be run with the following steps:
- Click the dropdown button beside your username in the top right corner of the UI, and select then select Support.
- Click Agent Scanner link (around the middle area of the window).
- In the new window, enter type the hostname, select select Uptime Agent, and enter then type port 9998.
- Check each of the Agent Command boxes.
- Click the Click Query button.
It is best to have an IDERA Support Engineer assist in reviewing the output of the Agent Scanner output but if you see a line similar to the following under the df-k
function, then the workaround below should resolve it.
Code Block | ||
---|---|---|
| ||
df: `/root/.gvfs': Permission denied |
Workaround
...
...
- On the Linux system, browse to the
/opt/uptime-agent/bin
directory, and then open thedf-k.sh
script for editing.
...
- Update the line that says
DFBIN="df -lk"
...
- to
DFBIN="df -lk -x fuse.gvfs-fuse-daemon"
...
- Save and exit the file editor.
If the Linux system was already added to Uptime Infrastructure MonitorUIM, you can click the Rescan Configuration button to properly read in the file systems. Within 10 - 15 minutes you will be able to generate graphs for the recently collected file system metrics.
If you were previously unable to add the Linux system to Uptime Infrastructure MonitorUIM, you should now be able to.