[
  <% for g in ["sas", "vla", "man", "msk"] %>
  {
    "name": "rtc_manual.hostman-cockroach_live-nodes_<< g >>",
    "abc": "hostmanager",
    "signal": "push-hm-cockroach-live-nodes-count_tnnn",
    "mgroups": [
        "ASEARCH"
    ],
    "tags": {
        "itype": [
            "runtimecloud"
        ],
        "geo": "<< g >>"
    },
    "juggler_check": {
        "refresh_time": 5,
        "tags": [
            "a_itype_runtimecloud",
            "a_geo_<< g >>"
        ],
        "alert_interval": null,
        "notifications": [
            {
                "template_name": "on_status_change",
                "description": "YASM panel: https://yasm.yandex-team.ru/template/panel/HM-REPORTER/",
                "template_kwargs": {
                    "status": [
                        "CRIT"
                    ],
                    "login": [
                        "hostman-dev"
                    ],
                    "method": [
                        "telegram"
                    ]
                }
            }
        ],
        "host": "yasm_hostman",
        "ttl": 900,
        "active": null,
        "check_options": null,
        "methods": [],
        "service": "hostman-cockroach_live-nodes_<< g >>",
        "aggregator": "logic_or",
        "namespace": "rtc",
        "mark": null,
        "aggregator_kwargs": {
            "nodata_mode": "force_crit"
        },
        "flaps": {
            "boost": 0,
            "critical": 0,
            "stable": 60
        },
        "active_kwargs": null
    },
    "warn": [
        <% if g in ["sas", "man"] %>
        null,null
        <% else %>
        null,null
        <% endif %>
    ],
    "crit": [
        null,
        <% if g in ["sas", "man"] %>
        4
        <% else %>
        2
        <% endif %>
    ]
  },
  <% endfor %>
]
