diff --git a/RELEASE b/RELEASE index 738ee4682..b3eb27200 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -1.3.4 rev 8781 +1.3.4 rev 8782 diff --git a/modules/remoteapi/nasmon.php b/modules/remoteapi/nasmon.php index f90aef43b..c3b686658 100644 --- a/modules/remoteapi/nasmon.php +++ b/modules/remoteapi/nasmon.php @@ -1,11 +1,18 @@ saveCheckResults(); - die('OK: NASMON'); + $nasMonProcess = new StarDust('NASMON'); + if ($nasMonProcess->notRunning()) { + $nasMonProcess->start(); + $nasMon = new NasMon(); + $nasMon->saveCheckResults(); + $nasMonProcess->stop(); + die('OK: NASMON'); + } else { + die('SKIP:NASMON_ALREADY_RUNNING'); + } } else { die('ERROR: NASMON DISABLED'); }