admin@glassfish.java.net

Re: REVIEW:: monitor, enable-monitoring, disable-monitoring, monitoring concepts

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 24 Sep 2009 16:01:43 -0700

Sreenivas Munnangi wrote on 9/24/09 3:04 PM:
>>> Prashanth suggested that we can have 'all' option to set the level for
>>> all modules at once without specifying each, for ex.
>>>
>>> enable-monitoring --modules all=LOW // this will set level to 'LOW' for
>>> all modules
>>>
>>> enable-monitoring --modules all // this will set level to 'HIGH' for all
>>> modules
>>>
>>
>> Shouldn't the latter be the default?
>>
> You mean if 'all' is not specified that should be taken as default, like
> the one below
>
> enable-monitoring --modules

No, just "asadmin enable-monitoring".

Equivalent to "asadmin enable-monitoring --modules all",
equivalent to "asadmin enable-monitoring --modules all:HIGH".