Create function check status for other system
This commit is contained in:
parent
908a0bd70b
commit
b9aec0abd1
|
|
@ -931,6 +931,8 @@ const checkMultipleRequest = async () => {
|
||||||
if (stdout !== "") {
|
if (stdout !== "") {
|
||||||
allResponse+=JSON.stringify(req.name+"\n"+stdout)
|
allResponse+=JSON.stringify(req.name+"\n"+stdout)
|
||||||
console.log("stdout ", stdout)
|
console.log("stdout ", stdout)
|
||||||
|
console.log("req.name ", req.name)
|
||||||
|
console.log(req.name==="Perthmint")
|
||||||
if(req.name==="Perthmint"){
|
if(req.name==="Perthmint"){
|
||||||
if((stdout.toString().split("true").length-1)>1){
|
if((stdout.toString().split("true").length-1)>1){
|
||||||
report.push({
|
report.push({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue