Sun Java System Application Server Platform Edition 9 Administration Guide

Equivalent asadmin Command

To configure management rules from the command line, use the create-managemnent-rule command. The command syntax is as follows:

create-management-rule [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849 ] [--secure | -s] --user admin_user [--passwordfile filename] [--ruleenabled=true] [--ruledescription description] [--action action-mbean-name] --eventtype log|timer|trace|monitor|cluster|lifecycle|notification [--eventloglevel FINEST|FINER|FINE|CONFIG|INFO|WARNING|SEVERE|OFF] [--recordevent=true] [--eventdescription description] [--eventproperties (property=value[:property=value]*)] [--target target] rule-name

For details on each option, see the man page for create-management-rule at Sun Java System Application Server Platform Edition 9 Reference Manual