Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Edit client-config-default.json and copy the full client.autoscaling.action.default attribute.

    For the most recent configuration, please see Configure Abiquo Default UI configuration

    Code Block
        "__comment": "Default values for autoscaling action.",
        "client.autoscaling.action.default": {
            "alarmOut": {
                "name": "SCALINGGROUPNAME_autoscaling_action_out",
                "statistic": "average",
                "formula": "greaterthan",
                "threshold": 80
            },
            "alarmIn": {
                "name": "SCALINGGROUPNAME_autoscaling_action_in",
                "statistic": "average",
                "formula": "lessthan",
                "threshold": 20
            },
            "alarm" : {
                "timeRangeMinutes": 60,
                "period": 60,
                "clientData": {}
            },
            "actionPlanOut": {
                "name": "SCALINGGROUPNAME_autoscaling_action_out"
            },
            "actionPlanIn": {
                "name": "SCALINGGROUPNAME_autoscaling_action_in"
            },
            "alertOut": {
                "name": "SCALINGGROUPNAME_autoscaling_action_out"
            },
            "alertIn": {
                "name": "SCALINGGROUPNAME_autoscaling_action_in"
            }
        },

  2. Change all the default values to values appropriate for your environment

    1. For alarm configuration, statistic can have any of the following values:

      • average

      • maximum

      • minimum

      • sum

      • count (SampleCount)

      • dev (StandardDeviation)

    2. For alarm configuration, formula can have any of the following values:

      • notequal

      • greaterthan

      • greaterthanorequalto

      • lessthan

      • lessthanorequalto

      • trendup

      • trenddown

  3. Edit client-config-custom.json and add the configuration to completely override the default configuration. 

  4. Check that your configuration is complete and that your JSON is valid. If the JSON is invalid, the UI will not load.
    For full instructions on how to modify the UI configuration, please see Configure Abiquo UI