This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Manage Registry Variables and Rules Report

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.

Parents
  • 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

Reply
  • 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

Children
No Data