When trying to view the properties of the objects under the DB2_General_Activity topology the activity fails with the follow error.
An error has occurred. Please check your logs.
Script errors are found in the log files similar to the following:
Caused by: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: com.quest.wcf.publicapi.code.FunctionInvocationException: Error executing script
id=system:administration_tooling_script20editor.getValueFromProperty name="'Get Value String from Property' from the System module Administration/Tooling/Script Console"
message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException:
java.lang.RuntimeException: No source values provided for rate calculation.
WORKAROUND
Run the following script in Script Console (Administration | Tooling | Script Console | click + | copy and paste script | click Run) and then restart the FMS
ts= server.get("TopologyService");
type=ts.getType("DB2_General_Activity");
t=ts.beginUpdate(type)
t.getProperty("dynamic_sql_stmts_rate").setAnnotationValue(ts.getType("ObservationCalculationSource"), "dynamic_sql_stmts")
t.getProperty("static_sql_stmts_rate").setAnnotationValue(ts.getType("ObservationCalculationSource"), "static_sql_stmts")
return ts.endUpdate(t)
STATUS
This issue was logged as FOM-72 and has been fixed in the 5.9.7.10 and higher releases of the DB2 cartridge.
© ALL RIGHTS RESERVED. Feedback 利用規約 プライバシー Cookie Preference Center