Class RestartMonitoring

  • All Implemented Interfaces:
    AdminCommand

    @Service(name="restart-monitoring")
    @PerLookup
    @ExecuteOn({DAS,INSTANCE})
    @TargetType({DAS,STANDALONE_INSTANCE,DEPLOYMENT_GROUP,CONFIG})
    public class RestartMonitoring
    extends Object
    implements AdminCommand
    Asadmin command to restart Module Monitoring Level. Sets monitoring module levels to OFF before reverting back to their previous values. This was Feature request due to AMX metrics "breaking" sometimes, where restarting it manually was somewhat tedious and prone to error.
    Author:
    Alan Roth
    • Constructor Detail

      • RestartMonitoring

        public RestartMonitoring()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information