diff --git a/config/index.js b/config/index.js
index 02f9f20..b76e4a3 100644
--- a/config/index.js
+++ b/config/index.js
@@ -113,7 +113,7 @@
},
// Various Dev Server settings
- host: "192.168.30.144", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/config/index.js b/config/index.js
index 02f9f20..b76e4a3 100644
--- a/config/index.js
+++ b/config/index.js
@@ -113,7 +113,7 @@
},
// Various Dev Server settings
- host: "192.168.30.144", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/src/components/ServiceWatch/components/nginx.vue b/src/components/ServiceWatch/components/nginx.vue
new file mode 100644
index 0000000..1b1078f
--- /dev/null
+++ b/src/components/ServiceWatch/components/nginx.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/index.js b/config/index.js
index 02f9f20..b76e4a3 100644
--- a/config/index.js
+++ b/config/index.js
@@ -113,7 +113,7 @@
},
// Various Dev Server settings
- host: "192.168.30.144", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/src/components/ServiceWatch/components/nginx.vue b/src/components/ServiceWatch/components/nginx.vue
new file mode 100644
index 0000000..1b1078f
--- /dev/null
+++ b/src/components/ServiceWatch/components/nginx.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/ServiceWatch/serverDetail.vue b/src/components/ServiceWatch/serverDetail.vue
index 7b9794e..b80970f 100644
--- a/src/components/ServiceWatch/serverDetail.vue
+++ b/src/components/ServiceWatch/serverDetail.vue
@@ -46,7 +46,8 @@
siteNameList: [
{ path: "/ServiceWatch/serverDetail", name: "基本信息" },
{ path: "/ServiceWatch/serverMonitor", name: "监控" },
- { path: "/ServiceWatch/serverApplied", name: "服务应用" }
+ { path: "/ServiceWatch/serverApplied", name: "服务应用" },
+ { path: "/ServiceWatch/nginxWatch", name: "nginx监控" }
],
pathQuery: []
};
diff --git a/config/index.js b/config/index.js
index 02f9f20..b76e4a3 100644
--- a/config/index.js
+++ b/config/index.js
@@ -113,7 +113,7 @@
},
// Various Dev Server settings
- host: "192.168.30.144", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/src/components/ServiceWatch/components/nginx.vue b/src/components/ServiceWatch/components/nginx.vue
new file mode 100644
index 0000000..1b1078f
--- /dev/null
+++ b/src/components/ServiceWatch/components/nginx.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/ServiceWatch/serverDetail.vue b/src/components/ServiceWatch/serverDetail.vue
index 7b9794e..b80970f 100644
--- a/src/components/ServiceWatch/serverDetail.vue
+++ b/src/components/ServiceWatch/serverDetail.vue
@@ -46,7 +46,8 @@
siteNameList: [
{ path: "/ServiceWatch/serverDetail", name: "基本信息" },
{ path: "/ServiceWatch/serverMonitor", name: "监控" },
- { path: "/ServiceWatch/serverApplied", name: "服务应用" }
+ { path: "/ServiceWatch/serverApplied", name: "服务应用" },
+ { path: "/ServiceWatch/nginxWatch", name: "nginx监控" }
],
pathQuery: []
};
diff --git a/src/router/index.js b/src/router/index.js
index 6ea6ddd..332baf9 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -154,6 +154,11 @@
path: "/ServiceWatch/serverApplied", // 服务监控-服务应用
name: "ServerApplied",
component: resolve => require(["@/components/ServiceWatch/components/applied"], resolve)
+ },
+ {
+ path: "/ServiceWatch/nginxWatch", // 服务监控-nginx监控
+ name: "NginxWatch",
+ component: resolve => require(["@/components/ServiceWatch/components/nginx"], resolve)
}
]
},
@@ -191,12 +196,12 @@
component: resolve => require(["@/components/shujulvwang/dailyDatas"], resolve),
children: [{
path: '/quality/daily',
- name: 'scheduledTasks',
+ name: 'daily',
component: resolve => require(["@/components/shujulvwang/daily"], resolve),
}, {
path: '/dailyWindow',
- name: 'scheduledTasks',
+ name: 'dailyModel',
component: resolve => require(["@/components/shujulvwang/dailyModel"], resolve),
@@ -234,7 +239,7 @@
children: [{
path: '/ruleModel',
- name: 'ruleList',
+ name: 'ruleModel',
component: resolve => require(["@/components/shujulvwang/ruleModel"], resolve),
}]
diff --git a/config/index.js b/config/index.js
index 02f9f20..b76e4a3 100644
--- a/config/index.js
+++ b/config/index.js
@@ -113,7 +113,7 @@
},
// Various Dev Server settings
- host: "192.168.30.144", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
diff --git a/src/components/ServiceWatch/components/nginx.vue b/src/components/ServiceWatch/components/nginx.vue
new file mode 100644
index 0000000..1b1078f
--- /dev/null
+++ b/src/components/ServiceWatch/components/nginx.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/ServiceWatch/serverDetail.vue b/src/components/ServiceWatch/serverDetail.vue
index 7b9794e..b80970f 100644
--- a/src/components/ServiceWatch/serverDetail.vue
+++ b/src/components/ServiceWatch/serverDetail.vue
@@ -46,7 +46,8 @@
siteNameList: [
{ path: "/ServiceWatch/serverDetail", name: "基本信息" },
{ path: "/ServiceWatch/serverMonitor", name: "监控" },
- { path: "/ServiceWatch/serverApplied", name: "服务应用" }
+ { path: "/ServiceWatch/serverApplied", name: "服务应用" },
+ { path: "/ServiceWatch/nginxWatch", name: "nginx监控" }
],
pathQuery: []
};
diff --git a/src/router/index.js b/src/router/index.js
index 6ea6ddd..332baf9 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -154,6 +154,11 @@
path: "/ServiceWatch/serverApplied", // 服务监控-服务应用
name: "ServerApplied",
component: resolve => require(["@/components/ServiceWatch/components/applied"], resolve)
+ },
+ {
+ path: "/ServiceWatch/nginxWatch", // 服务监控-nginx监控
+ name: "NginxWatch",
+ component: resolve => require(["@/components/ServiceWatch/components/nginx"], resolve)
}
]
},
@@ -191,12 +196,12 @@
component: resolve => require(["@/components/shujulvwang/dailyDatas"], resolve),
children: [{
path: '/quality/daily',
- name: 'scheduledTasks',
+ name: 'daily',
component: resolve => require(["@/components/shujulvwang/daily"], resolve),
}, {
path: '/dailyWindow',
- name: 'scheduledTasks',
+ name: 'dailyModel',
component: resolve => require(["@/components/shujulvwang/dailyModel"], resolve),
@@ -234,7 +239,7 @@
children: [{
path: '/ruleModel',
- name: 'ruleList',
+ name: 'ruleModel',
component: resolve => require(["@/components/shujulvwang/ruleModel"], resolve),
}]
diff --git a/src/util/serverManage.js b/src/util/serverManage.js
index c49103d..9ad878f 100644
--- a/src/util/serverManage.js
+++ b/src/util/serverManage.js
@@ -17,6 +17,8 @@
exeQueryList: "/exe/queryList", //服务应用列表
exeQueryDetail: "/exe/queryDetail", //服务应用详情
+
+ nginxWatch: "/nginx/query", //nginx监控
};
for (let item in nozzle) {