Merge pull request #440 from TheSerapher/issue-439

Add tickerupdate to cron monitoring
This commit is contained in:
Sebastian Grewe 2013-07-11 07:50:54 -07:00
commit 96050b48df
2 changed files with 8 additions and 0 deletions

View File

@ -33,4 +33,5 @@ if ($price = $tools->getPrice()) {
$log->logFatal("failed to fetch API data: " . $tools->getError());
}
require_once('cron_end.inc.php');
?>

View File

@ -45,6 +45,13 @@ $aCronStatus = array(
array( 'NAME' => 'Runtime', 'STATUS' => $monitoring->getStatus('findblock_runtime') ),
array( 'NAME' => 'Last Run', 'STATUS' => $monitoring->getStatus('findblock_lastrun') ),
array( 'NAME' => 'Last Message', 'STATUS' => $monitoring->getStatus('findblock_message') ),
),
'tickerupdate' => array (
array( 'NAME' => 'Exit Code', 'STATUS' => $monitoring->getStatus('tickerupdate_status') ),
array( 'NAME' => 'Active', 'STATUS' => $monitoring->getStatus('tickerupdate_active') ),
array( 'NAME' => 'Runtime', 'STATUS' => $monitoring->getStatus('tickerupdate_runtime') ),
array( 'NAME' => 'Last Run', 'STATUS' => $monitoring->getStatus('tickerupdate_lastrun') ),
array( 'NAME' => 'Last Message', 'STATUS' => $monitoring->getStatus('tickerupdate_message') ),
)
);
// Payout system specifics