diff --git a/msp/msp/doctype/it_object/it_object.json b/msp/msp/doctype/it_object/it_object.json
index 4e8eb71..35d9320 100644
--- a/msp/msp/doctype/it_object/it_object.json
+++ b/msp/msp/doctype/it_object/it_object.json
@@ -17,6 +17,8 @@
"customer",
"it_landscape",
"location",
+ "monitoring_section",
+ "oitc_output",
"description_section",
"description",
"image",
@@ -143,11 +145,22 @@
"fieldname": "oitc_host_uuid",
"fieldtype": "Data",
"label": "OITC Host UUID"
+ },
+ {
+ "fieldname": "monitoring_section",
+ "fieldtype": "Column Break",
+ "label": "Monitoring"
+ },
+ {
+ "fieldname": "oitc_output",
+ "fieldtype": "HTML",
+ "label": "OITC Output",
+ "options": "
OITC output expected
"
}
],
"image_field": "image",
"links": [],
- "modified": "2022-07-18 10:24:39.463386",
+ "modified": "2022-07-18 15:05:40.504305",
"modified_by": "Administrator",
"module": "MSP",
"name": "IT Object",
diff --git a/msp/msp/doctype/msp_settings/msp_settings.json b/msp/msp/doctype/msp_settings/msp_settings.json
index 6b09aae..17d5b54 100644
--- a/msp/msp/doctype/msp_settings/msp_settings.json
+++ b/msp/msp/doctype/msp_settings/msp_settings.json
@@ -8,7 +8,12 @@
"field_order": [
"open_it_cockpit_integration_section",
"oitc_url",
+ "oitc_api_key_header_string",
"oitc_api_key",
+ "column_break_column",
+ "oitc_status_up_color",
+ "oitc_status_down_color",
+ "oitc_status_unreachable_color",
"qr_code_settings_section",
"qr_code_dark_color",
"qr_code_scale"
@@ -27,7 +32,8 @@
{
"fieldname": "oitc_api_key",
"fieldtype": "Password",
- "label": "OITC API Key"
+ "label": "OITC API Key",
+ "length": 200
},
{
"fieldname": "qr_code_settings_section",
@@ -43,12 +49,40 @@
"fieldname": "qr_code_scale",
"fieldtype": "Int",
"label": "QR Code Scale"
+ },
+ {
+ "default": "X-OITC-API ",
+ "fieldname": "oitc_api_key_header_string",
+ "fieldtype": "Read Only",
+ "label": "OITC API Key Header string",
+ "length": 100,
+ "options": "X-OITC-API "
+ },
+ {
+ "fieldname": "column_break_column",
+ "fieldtype": "Column Break",
+ "label": "Column Break"
+ },
+ {
+ "fieldname": "oitc_status_up_color",
+ "fieldtype": "Color",
+ "label": "OITC Status Up Color"
+ },
+ {
+ "fieldname": "oitc_status_down_color",
+ "fieldtype": "Color",
+ "label": "OITC Status Down Color"
+ },
+ {
+ "fieldname": "oitc_status_unreachable_color",
+ "fieldtype": "Color",
+ "label": "OITC Status Unreachable Color"
}
],
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
- "modified": "2022-07-18 10:53:35.413597",
+ "modified": "2022-07-19 12:16:04.805493",
"modified_by": "Administrator",
"module": "MSP",
"name": "MSP Settings",