The exit code for the SSH df command is not ignored when running OS collections in the Oracle agent in AIX.
An error similar to the following can be see in the database agent log file.
ERROR [HOSTNAME-INSTANCE-lowPriorityPool-11750-[DBO_OS_File_System_Disk][]] com.quest.qsi.fason.oracle.collection.processor.DBOInstanceProcessor - Failed to run DBOFileSystemDiskProcessor processor of DBO_OS_File_System_Disk collection of HOSTNAME-INSTANCE instance.
java.lang.RuntimeException: Failed to execute collection [DBO_OS_File_System_Disk], reason=- Profile:SSH Connection Profile {Host = HOSTNAME, Agent = HOSTNAME-AGENTNAME, Port = 22, Environment = {}} Query: "${LOCALE} ${sudo} df -Pk"
The following scripts may be affected
I
In the Oracle database agent status properties (ASP) there is a parameter called "ignore exist code for command".
This is represented in the Oracle agent log as
osCommandIgnoreExistCode=
Change the parameter in the ASP to add the name of the scripts that fail in the error detailed in the Agent log file.
For example add DBO_OS_File_System_Disk_aix.ksh,DBO_OS_Archive_Disk_aix.ksh, in the log will appear
osCommandIgnoreExitCode changed from "" to "DBO_OS_File_System_Disk_aix.ksh,DBO_OS_Archive_Disk_aix.ksh"
Then deactivate and reactivate the database agent in the Agent Status screen, after which the following message will appear in the Oracle agent log
osCommandIgnoreExitCode=DBO_OS_File_System_Disk_aix.ksh,DBO_OS_Archive_Disk_aix.ksh