mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Add 'systeminformation' package and reopen add 'Server Monitor' option
This commit is contained in:
5
server-monitor/package-lock.json
generated
5
server-monitor/package-lock.json
generated
@@ -847,6 +847,11 @@
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"systeminformation": {
|
||||
"version": "4.14.8",
|
||||
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-4.14.8.tgz",
|
||||
"integrity": "sha512-05wW1YaMBI6LlVtvw2wXQGr0thpX8E0IImYcpbqUiNanfmq8e+V89pDW2L5V/mN8kU37W0VtVySftQ0PwMIXKw=="
|
||||
},
|
||||
"table": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/table/-/table-5.1.1.tgz",
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"inquirer": "^6.2.1",
|
||||
"node-cron": "^2.0.3",
|
||||
"os-utils": "0.0.14",
|
||||
"q": "^1.5.1"
|
||||
"q": "^1.5.1",
|
||||
"systeminformation": "^4.14.8"
|
||||
},
|
||||
"keywords": [
|
||||
"fyipe",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const axios = require('axios');
|
||||
const si = require('systeminformation');
|
||||
const { apiUrl } = require('./config');
|
||||
|
||||
const postApi = (url, data) => {
|
||||
|
||||
Reference in New Issue
Block a user