Hello Team,
Is it possible to get a report where I can see the Registry variables and Rules associated to one VM server? I was asked to generate a report where it can be viewed these options associated or linked to one host.
Thanks for your help.
Hello Team,
Is it possible to get a report where I can see the Registry variables and Rules associated to one VM server? I was asked to generate a report where it can be viewed these options associated or linked to one host.
Thanks for your help.
Hi Victor,
You can run this script and get the rule dump , will this help?
def rulelist = ""
def ruleSvc = server["RuleService"]
def rules = ruleSvc.getAllRulesInfo() .collect{ ri-> ruleSvc.getRule(ri.id) }
rules.collect{ rule-> if ( 1 ) {
rulelist += "$rule.cartridgeName: Rule $rule.name ($rule.id) scoped to $rule.scopingQuery \n";
}
}
return rulelist
Best Regards
-Lee
Hi Victor,
You can run this script and get the rule dump , will this help?
def rulelist = ""
def ruleSvc = server["RuleService"]
def rules = ruleSvc.getAllRulesInfo() .collect{ ri-> ruleSvc.getRule(ri.id) }
rules.collect{ rule-> if ( 1 ) {
rulelist += "$rule.cartridgeName: Rule $rule.name ($rule.id) scoped to $rule.scopingQuery \n";
}
}
return rulelist
Best Regards
-Lee