Amazon EC2 上的 SAP ASE
以下示例显示了适用于 Amazon EC2 上 SAP ASE 的 JSON 格式组件配置。
{ "subComponents": [ { "subComponentType": "AWS::EC2::Instance", "alarmMetrics": [ { "alarmMetricName": "asedb_database_availability", "monitor": true }, { "alarmMetricName": "asedb_trunc_log_on_chkpt_enabled", "monitor": true }, { "alarmMetricName": "asedb_last_db_backup_age_in_days", "monitor": true }, { "alarmMetricName": "asedb_last_transaction_log_backup_age_in_hours", "monitor": true }, { "alarmMetricName": "asedb_suspected_database", "monitor": true }, { "alarmMetricName": "asedb_db_space_usage_percent", "monitor": true }, { "alarmMetricName": "asedb_db_log_space_usage_percent", "monitor": true }, { "alarmMetricName": "asedb_locked_login", "monitor": true }, { "alarmMetricName": "asedb_data_cache_hit_ratio", "monitor": true } ], "logs": [ { "logGroupName": "SAP_ASE_SERVER_LOGS-my-resource-group", "logPath": "/sybase/SY2/ASE-*/install/SY2.log", "logType": "SAP_ASE_SERVER_LOGS", "monitor": true, "encoding": "utf-8" }, { "logGroupName": "SAP_ASE_BACKUP_SERVER_LOGS-my-resource-group", "logPath": "/sybase/SY2/ASE-*/install/SY2_BS.log", "logType": "SAP_ASE_BACKUP_SERVER_LOGS", "monitor": true, "encoding": "utf-8" } ], "sapAsePrometheusExporter": { "sapAseSid": "ASE", "sapAsePort": "4901", "sapAseSecretName": "ASE_DB_CREDS", "prometheusPort": "9399", "agreeToEnableASEMonitoring": true }