AHF - Autonomous Health Framework (TFA - ORACHK) (MOSC)

MOSC Banner

orachk user defined checks

Hi,

 

I'm trying to implement a user defined check, as documented in the sample_user_defined_checks.xml file. However, according to the orachk.log, it skips my custom check "because database role does not() match to check role (PRIMARY) or database type(NORMAL) does not match to NORMAL". The database is definitely a PRIMARY database, so I believe the check logic in the orachk script is not right. Changing the code like shown below, it's working:

 

56761                     if [ $skip_this_version -eq 0 ]

56762                     then

56763                       #match_database_role "${mb_database_role[$mb_db_counter]}"

56764                       match_database_role "$check_database_role"

56765                       match_database_type "${mb_database_type[$mb_db_counter]}"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center