
Attachment uploads are currently disabled. This is a temporary situation and will resume as normal in the coming days.
Solved!
Go to SolutionJ
jingo5star
23 Posts
0
144611
November 29th, 2012 19:00
Derived Metric Rulette Disabled "No Trigger"
I figure I would throw this out there as I am not sure why my derived metric is not triggering even though I am selecting schedule driven and check the "Enable trigger without Data" box. I tested the metric script without issue and cannot find a reason why this shouldn't run at the scheduled time.
2012-11-29 13:17:18.226 VERBOSE [Utility-1-thread-45363] com.quest.nitro.service.derivation.DerivationCalculation - DerivationCalculation for "Cluster_Growth_Rate_New" on 'VMWCluster' calculated by (ds = server.get("DataService")...) has rulettes disabled for the following reason(s): No trigger(1 rulettes)
-
ds = server.get("DataService") // Data Service then = null numdays = 180 while (then == null) { try { String query = "virtualMachinesPoweredOnCount from VMWCluster:name = '$scope.name' for 1 day $numdays days ago" then = min(server.QueryService.queryObservations(query)) } catch (Exception e) {} if (then >= 0){break} numdays-- } now = ds.retrieveLatestValue(scope, "virtualMachinesPoweredOnCount").getValue().max // Retrieves the current value growthRate = Math.ceil(((now - then) / numdays * 30)) // Calculate current growth rate return growthRate
Responses (0)
Solutions (0)
