When running Foglight with database agents the NFS automount/autofs does not work properly. The host never unmount unneeded file systems.
Once the database agent is stopped the unmount works fine.
Collection DBO_OS_File_System_IO stops the automount to work properly.
The command "df -P" causes the issue.
Change the hidden ASP (Agent Status Property) value fsdLocalDrivesOnly to true
The following groovy script can be used to change this hidden ASP value to true. Replace AGENTNAME in the first line with the name of the Oracle database agent encountering this issue.
def agentName = "AGENTNAME";// find the agent
def agents = server.get("AgentService").findByName(agentName);
if (agents.size() == 0 ) {
return String.format("Failed to find agent: %s", agentName);
}
if (agents.size() > 1 ) {
return String.format("More than 1 agents were found to: %s", agentName);
}
def agent = agents.get(0);// update agent ASP
def configService = server.get("ConfigService");
def primaryAsp = configService.getAgentInstancePrimaryAsp(agent.getAgentNamespace(), agent.getTypeId(), agent.getId());
primaryAsp.setValueByString("fsdLocalDrivesOnly", "true");
configService.saveConfig(primaryAsp);return String.format("Agent %s ASP successfully updated", agentName);
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center