Create function check status for other system
This commit is contained in:
parent
f1ad5a7961
commit
908a0bd70b
|
|
@ -930,9 +930,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)
|
console.log("stdout ", stdout)
|
||||||
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({
|
||||||
group: req.group,
|
group: req.group,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue