From 181052ceafef012058aea990b76880736b74e2fb Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Fri, 24 Sep 2021 13:41:24 +0200 Subject: [PATCH] Add default dashboard for IBM i (#10207) --- ibm_i/assets/dashboards/ibm_i_overview.json | 1457 +++++++++++++++++++ ibm_i/manifest.json | 4 +- 2 files changed, 1460 insertions(+), 1 deletion(-) diff --git a/ibm_i/assets/dashboards/ibm_i_overview.json b/ibm_i/assets/dashboards/ibm_i_overview.json index e69de29bb2d1d..f64b0a0857010 100644 --- a/ibm_i/assets/dashboards/ibm_i_overview.json +++ b/ibm_i/assets/dashboards/ibm_i_overview.json @@ -0,0 +1,1457 @@ +{ + "title": "IBM-i - Overview", + "description": "", + "widgets": [ + { + "id": 2069654313791138, + "definition": { + "title": "Server Information", + "type": "group", + "background_color": "vivid_purple", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 6448129333592938, + "definition": { + "title": "Average LPAR CPU ", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "horizontal", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.system.cpu_usage{$host} by {host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "purple", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "area" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 3 + } + }, + { + "id": 6903638256239286, + "definition": { + "title": "ASP Percentage Used", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "forecast(query1, 'seasonal', 1)" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.asp.percent_used{$host} by {asp_number,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "cool", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": false + }, + "markers": [ + { + "label": " WARN: 80% ! ", + "value": "y = 80", + "display_type": "error dashed" + } + ] + }, + "layout": { + "x": 0, + "y": 3, + "width": 6, + "height": 5 + } + }, + { + "id": 6124578105657176, + "definition": { + "title": "ASP unit storage capacity and available space", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "response_format": "timeseries", + "queries": [ + { + "query": "avg:ibm_i.asp.unit_storage_capacity{$host} by {asp_number,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + }, + { + "response_format": "timeseries", + "queries": [ + { + "query": "avg:ibm_i.asp.unit_space_available{$host} by {asp_number,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 6, + "y": 3, + "width": 6, + "height": 5 + } + }, + { + "id": 8104422556703386, + "definition": { + "title": "Current pool size", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1", + "alias": "Avg Pool Size" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.pool.size{$host} by {pool_name,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": false + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 8, + "width": 12, + "height": 5 + } + }, + { + "id": 4898291582785640, + "definition": { + "title": "Defined pool size", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "q": "avg:ibm_i.pool.defined_size{$host} by {pool_name,host}", + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 13, + "width": 6, + "height": 4 + } + }, + { + "id": 5715112659465352, + "definition": { + "title": "Reserved pool size", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "q": "avg:ibm_i.pool.reserved_size{$host} by {pool_name,host}", + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 6, + "y": 13, + "width": 6, + "height": 4 + } + } + ] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 18 + } + }, + { + "id": 1157779811484650, + "definition": { + "title": "Disk information", + "type": "group", + "background_color": "blue", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 6227787091798908, + "definition": { + "title": "Disk Percentage Used", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.asp.percent_used{$host} by {asp_number,host,serial_number,unit_number}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "cool", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": false + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 6, + "height": 5 + } + }, + { + "id": 1741940359291456, + "definition": { + "title": "Disk unit storage capacity and available space", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.asp.unit_storage_capacity{$host} by {asp_number,host,serial_number,unit_number}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "warm", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + }, + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.asp.unit_space_available{$host} by {asp_number,host,serial_number,unit_number}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "cool", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 6, + "y": 0, + "width": 6, + "height": 5 + } + }, + { + "id": 2658111035700180, + "definition": { + "title": "Disk Busy %", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.asp.percent_busy{$host} by {asp_number,host,serial_number,unit_number}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "cool", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": false + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 5, + "width": 6, + "height": 5 + } + }, + { + "id": 6997659365370542, + "definition": { + "title": "Disk IO/s", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "sum:ibm_i.asp.io_requests_per_s{$host} by {asp_number,host,serial_number,unit_number}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "cool", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": false + }, + "markers": [] + }, + "layout": { + "x": 6, + "y": 5, + "width": 6, + "height": 5 + } + }, + { + "id": 5766816569424994, + "definition": { + "title": "Disks by Busy %", + "title_size": "16", + "title_align": "left", + "type": "query_table", + "requests": [ + { + "aggregator": "avg", + "cell_display_mode": [ + "bar" + ], + "q": "avg:ibm_i.asp.percent_busy{$host} by {host,serial_number}", + "alias": "Busy %", + "limit": 50, + "order": "desc" + } + ], + "has_search_bar": "auto" + }, + "layout": { + "x": 0, + "y": 10, + "width": 6, + "height": 4 + } + }, + { + "id": 2554431738597312, + "definition": { + "title": "Disks by IO/s", + "title_size": "16", + "title_align": "left", + "type": "query_table", + "requests": [ + { + "aggregator": "avg", + "cell_display_mode": [ + "bar" + ], + "q": "sum:ibm_i.asp.io_requests_per_s{$host} by {host,serial_number}", + "alias": "IO per second", + "limit": 50, + "order": "desc" + } + ], + "has_search_bar": "auto" + }, + "layout": { + "x": 6, + "y": 10, + "width": 6, + "height": 4 + } + } + ] + }, + "layout": { + "x": 0, + "y": 18, + "width": 12, + "height": 15 + } + }, + { + "id": 2457414394406526, + "definition": { + "title": "Job status", + "type": "group", + "background_color": "purple", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 466545518982274, + "definition": { + "title": "Total jobs per status", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "sum:ibm_i.job.status{$host,$job_name,$job_status,$job_active_status,$subsystem_name} by {host,job_status}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "purple", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "area" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 3 + } + }, + { + "id": 7058815639067394, + "definition": { + "title": "Job list", + "title_size": "16", + "title_align": "left", + "type": "query_table", + "requests": [ + { + "aggregator": "avg", + "cell_display_mode": [ + "number" + ], + "q": "avg:ibm_i.job.status{$host,$job_name,$job_status,$job_active_status,$subsystem_name} by {job_name,job_id,job_user,job_status,job_active_status,host,subsystem_name}", + "alias": "Present", + "limit": 100, + "order": "desc" + } + ], + "has_search_bar": "always" + }, + "layout": { + "x": 0, + "y": 3, + "width": 12, + "height": 7 + } + } + ] + }, + "layout": { + "x": 0, + "y": 33, + "width": 12, + "height": 11 + } + }, + { + "id": 3384970187643024, + "definition": { + "title": "Active jobs information", + "type": "group", + "background_color": "vivid_green", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 689674376789894, + "definition": { + "title": "Job CPU usage", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "horizontal", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "sum:ibm_i.job.cpu_usage{$host,$job_name,$subsystem_name,$job_active_status} by {job_id,job_name,host,job_active_status}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "bars" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 3 + } + }, + { + "id": 4777805948034850, + "definition": { + "title": "Jobs using the most CPU", + "title_size": "16", + "title_align": "left", + "type": "query_table", + "requests": [ + { + "aggregator": "avg", + "cell_display_mode": [ + "bar" + ], + "q": "avg:ibm_i.job.cpu_usage{job_id:*,$job_name,$host,$subsystem_name,$job_active_status} by {job_name,job_id,job_user,host,job_active_status,subsystem_name}", + "alias": "Average CPU Usage", + "limit": 100, + "order": "desc" + } + ], + "has_search_bar": "always" + }, + "layout": { + "x": 0, + "y": 3, + "width": 12, + "height": 7 + } + } + ] + }, + "layout": { + "x": 0, + "y": 44, + "width": 12, + "height": 11 + } + }, + { + "id": 3872862136248086, + "definition": { + "title": "Job Queue Information", + "type": "group", + "background_color": "vivid_orange", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 7095582108009564, + "definition": { + "title": "Number of Jobs in Job Queue", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1", + "alias": "Avg Job Queue Size" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.job_queue.size{$host} by {host,job_queue_name}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 4 + } + }, + { + "id": 7853656343700834, + "definition": { + "title": "Number of HELD Jobs", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "response_format": "timeseries", + "queries": [ + { + "query": "avg:ibm_i.job_queue.held_size{$host} by {job_queue_name,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 4, + "width": 4, + "height": 2 + } + }, + { + "id": 1454758865154638, + "definition": { + "title": "Number of RELEASED Jobs", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "response_format": "timeseries", + "queries": [ + { + "query": "avg:ibm_i.job_queue.released_size{$host} by {job_queue_name,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 4, + "y": 4, + "width": 4, + "height": 2 + } + }, + { + "id": 3793093326930818, + "definition": { + "title": "Number of SCHEDULED Jobs", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "response_format": "timeseries", + "queries": [ + { + "query": "avg:ibm_i.job_queue.scheduled_size{$host} by {job_queue_name,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 8, + "y": 4, + "width": 4, + "height": 2 + } + } + ] + }, + "layout": { + "x": 0, + "y": 55, + "width": 12, + "height": 7 + } + }, + { + "id": 6225654427060882, + "definition": { + "title": "Jobs per Subsystem", + "type": "group", + "background_color": "vivid_blue", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 2307686096454, + "definition": { + "title": "Active jobs per subsystem", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "q": "sum:ibm_i.subsystem.active_jobs{$host,$subsystem_name} by {host,subsystem_name}", + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 3 + } + }, + { + "id": 237811634637692, + "definition": { + "title": "Number of Active Jobs per Subsystem", + "title_size": "16", + "title_align": "left", + "type": "query_table", + "requests": [ + { + "aggregator": "avg", + "cell_display_mode": [ + "bar" + ], + "q": "avg:ibm_i.subsystem.active_jobs{subsystem_name:*,$job_name,$host,$subsystem_name} by {subsystem_name,host}", + "alias": "Active Jobs", + "limit": 100, + "order": "desc" + } + ], + "has_search_bar": "always" + }, + "layout": { + "x": 0, + "y": 3, + "width": 12, + "height": 7 + } + } + ] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 11, + "is_column_break": true + } + }, + { + "id": 8104072396045992, + "definition": { + "title": "Subsystems", + "type": "group", + "background_color": "vivid_blue", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 5655780011642768, + "definition": { + "title": "Total Active Subsystems", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "auto", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "count_nonzero(query1)" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "sum:ibm_i.subsystem.active{$host,$subsystem_name} by {host,subsystem_name}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "purple", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "area" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 3 + } + }, + { + "id": 3303873253614408, + "definition": { + "title": "Active Subsystems", + "title_size": "16", + "title_align": "left", + "type": "query_table", + "requests": [ + { + "aggregator": "avg", + "conditional_formats": [ + { + "comparator": "<", + "palette": "black_on_light_red", + "value": 1 + }, + { + "comparator": ">=", + "palette": "black_on_light_green", + "value": 1 + } + ], + "order": "desc", + "q": "avg:ibm_i.subsystem.active{subsystem_name:*,$job_name,$host,$subsystem_name} by {subsystem_name,host}", + "alias": "Active (1=yes or 0 =no)", + "limit": 100, + "cell_display_mode": [ + "number" + ] + } + ], + "has_search_bar": "always" + }, + "layout": { + "x": 0, + "y": 3, + "width": 12, + "height": 7 + } + } + ] + }, + "layout": { + "x": 0, + "y": 11, + "width": 12, + "height": 11 + } + }, + { + "id": 5470259491707354, + "definition": { + "title": "Message Queue Information", + "type": "group", + "background_color": "vivid_orange", + "show_title": true, + "layout_type": "ordered", + "widgets": [ + { + "id": 1829399566842206, + "definition": { + "title": "Messages with critical severity per queue", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1", + "alias": "Critical Messages" + } + ], + "response_format": "timeseries", + "queries": [ + { + "query": "avg:ibm_i.message_queue.critical_size{$host} by {message_queue_name,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "line" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 0, + "width": 12, + "height": 4 + } + }, + { + "id": 8501088228314796, + "definition": { + "title": "Message queue size", + "title_size": "16", + "title_align": "left", + "show_legend": true, + "legend_layout": "vertical", + "legend_columns": [ + "avg", + "min", + "max", + "value", + "sum" + ], + "type": "timeseries", + "requests": [ + { + "formulas": [ + { + "formula": "query1", + "alias": "Message Queue Size" + } + ], + "response_format": "timeseries", + "on_right_yaxis": false, + "queries": [ + { + "query": "avg:ibm_i.message_queue.size{$host,$message_queue_name} by {message_queue_name,host}", + "data_source": "metrics", + "name": "query1" + } + ], + "style": { + "palette": "dog_classic", + "line_type": "solid", + "line_width": "normal" + }, + "display_type": "area" + } + ], + "yaxis": { + "include_zero": true, + "scale": "linear", + "label": "", + "min": "auto", + "max": "auto" + }, + "markers": [] + }, + "layout": { + "x": 0, + "y": 4, + "width": 12, + "height": 5 + } + } + ] + }, + "layout": { + "x": 0, + "y": 22, + "width": 12, + "height": 10 + } + } + ], + "template_variables": [ + { + "name": "job_name", + "default": "*", + "prefix": "job_name" + }, + { + "name": "host", + "default": "*", + "prefix": "host" + }, + { + "name": "subsystem_name", + "default": "*", + "prefix": "subsystem_name" + }, + { + "name": "job_status", + "default": "*", + "prefix": "job_status" + }, + { + "name": "subsystem_status", + "default": "*", + "prefix": "subsystem_status" + }, + { + "name": "message_queue_name", + "default": "*", + "prefix": "message_queue_name" + }, + { + "name": "job_active_status", + "default": "*", + "prefix": "job_active_status" + } + ], + "layout_type": "ordered", + "is_read_only": false, + "notify_list": [], + "reflow_type": "fixed", + "id": "rpw-diq-3wa" +} diff --git a/ibm_i/manifest.json b/ibm_i/manifest.json index e590dd5228847..6874aa2eaf2be 100644 --- a/ibm_i/manifest.json +++ b/ibm_i/manifest.json @@ -25,7 +25,9 @@ "configuration": { "spec": "assets/configuration/spec.yaml" }, - "dashboards": {}, + "dashboards": { + "IBM i Overview": "assets/dashboards/ibm_i_overview.json" + }, "monitors": {}, "saved_views": {}, "service_checks": "assets/service_checks.json",