{
 "actions": [],
 "creation": "2021-03-30 16:42:06.785344",
 "pagetype": "PageType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "status",
  "hostname",
  "domain",
  "column_break_4",
  "cluster",
  "provider",
  "virtual_machine",
  "is_server_setup",
  "networking_section",
  "ip",
  "column_break_9",
  "private_ip",
  "private_mac_address",
  "private_vlan_id",
  "agent_section",
  "agent_password",
  "grafana_section",
  "grafana_username",
  "default_server",
  "column_break_ilpd",
  "grafana_password",
  "node_exporter_dashboard_path",
  "ssh_section",
  "jingrow_user_password",
  "jingrow_public_key",
  "column_break_20",
  "root_public_key",
  "monitoring_section",
  "monitoring_password",
  "column_break_nzet",
  "prometheus_data_directory"
 ],
 "fields": [
  {
   "default": "Pending",
   "fieldname": "status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "options": "Pending\nInstalling\nActive\nBroken\nArchived",
   "read_only": 1,
   "reqd": 1
  },
  {
   "fieldname": "hostname",
   "fieldtype": "Data",
   "label": "Hostname",
   "reqd": 1,
   "set_only_once": 1
  },
  {
   "fieldname": "domain",
   "fieldtype": "Link",
   "label": "Domain",
   "options": "Root Domain",
   "read_only": 1,
   "set_only_once": 1
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "default": "Generic",
   "fieldname": "provider",
   "fieldtype": "Select",
   "label": "Provider",
   "options": "Generic\nScaleway\nAWS EC2\nOCI",
   "set_only_once": 1
  },
  {
   "default": "0",
   "fieldname": "is_server_setup",
   "fieldtype": "Check",
   "label": "Server Setup",
   "read_only": 1
  },
  {
   "fieldname": "networking_section",
   "fieldtype": "Section Break",
   "label": "Networking"
  },
  {
   "fetch_from": "virtual_machine.public_ip_address",
   "fieldname": "ip",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "IP",
   "set_only_once": 1
  },
  {
   "fieldname": "column_break_9",
   "fieldtype": "Column Break"
  },
  {
   "fetch_from": "virtual_machine.private_ip_address",
   "fieldname": "private_ip",
   "fieldtype": "Data",
   "label": "Private IP",
   "reqd": 1,
   "set_only_once": 1
  },
  {
   "depends_on": "eval: pg.provider === \"Scaleway\"",
   "fieldname": "private_mac_address",
   "fieldtype": "Data",
   "label": "Private Mac Address",
   "mandatory_depends_on": "eval: pg.provider === \"Scaleway\"",
   "set_only_once": 1
  },
  {
   "depends_on": "eval: pg.provider === \"Scaleway\"",
   "fieldname": "private_vlan_id",
   "fieldtype": "Data",
   "label": "Private VLAN ID",
   "mandatory_depends_on": "eval: pg.provider === \"Scaleway\"",
   "set_only_once": 1
  },
  {
   "fieldname": "agent_section",
   "fieldtype": "Section Break",
   "label": "Agent"
  },
  {
   "fieldname": "agent_password",
   "fieldtype": "Password",
   "label": "Agent Password",
   "set_only_once": 1
  },
  {
   "fieldname": "grafana_section",
   "fieldtype": "Section Break",
   "label": "Grafana"
  },
  {
   "fieldname": "grafana_password",
   "fieldtype": "Password",
   "label": "Grafana Password",
   "set_only_once": 1
  },
  {
   "fieldname": "ssh_section",
   "fieldtype": "Section Break",
   "label": "SSH"
  },
  {
   "fieldname": "jingrow_user_password",
   "fieldtype": "Password",
   "label": "Jingrow User Password",
   "set_only_once": 1
  },
  {
   "fieldname": "jingrow_public_key",
   "fieldtype": "Code",
   "label": "Jingrow Public Key",
   "read_only": 1
  },
  {
   "fieldname": "column_break_20",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "root_public_key",
   "fieldtype": "Code",
   "label": "Root Public Key",
   "read_only": 1
  },
  {
   "fieldname": "monitoring_section",
   "fieldtype": "Section Break",
   "label": "Monitoring",
   "set_only_once": 1
  },
  {
   "fieldname": "monitoring_password",
   "fieldtype": "Password",
   "label": "Monitoring Password",
   "set_only_once": 1
  },
  {
   "depends_on": "eval:pg.provider === \"AWS EC2\"",
   "fieldname": "virtual_machine",
   "fieldtype": "Link",
   "label": "Virtual Machine",
   "mandatory_depends_on": "eval:pg.provider === \"AWS EC2\"",
   "options": "Virtual Machine"
  },
  {
   "fieldname": "cluster",
   "fieldtype": "Link",
   "label": "Cluster",
   "options": "Cluster"
  },
  {
   "fieldname": "column_break_nzet",
   "fieldtype": "Column Break"
  },
  {
   "default": "/home/jingrow/prometheus/data",
   "fieldname": "prometheus_data_directory",
   "fieldtype": "Data",
   "label": "Prometheus Data Directory"
  },
  {
   "fieldname": "grafana_username",
   "fieldtype": "Data",
   "label": "Grafana Username"
  },
  {
   "fieldname": "column_break_ilpd",
   "fieldtype": "Column Break"
  },
  {
   "description": "This is the server that is selected by default in node exporter dashboard due to sorting. Used by incident detection to collect data.",
   "fieldname": "default_server",
   "fieldtype": "Data",
   "label": "Default Server"
  },
  {
   "description": "Begin with / but don't end with /",
   "fieldname": "node_exporter_dashboard_path",
   "fieldtype": "Data",
   "label": "Node Exporter Dashboard Path"
  }
 ],
 "links": [
  {
   "link_pagetype": "Ansible Play",
   "link_fieldname": "server"
  }
 ],
 "modified": "2025-01-24 00:35:26.093683",
 "modified_by": "Administrator",
 "module": "Jcloud",
 "name": "Monitor Server",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "track_changes": 1
}