CORE POS - Fannie
The CORE POS back end
Public Member Functions | List of all members
COREPOS\Fannie\API\monitor\LaneMonitor Class Reference
Inheritance diagram for COREPOS\Fannie\API\monitor\LaneMonitor:
COREPOS\Fannie\API\monitor\Monitor

Public Member Functions

 check ()
 
 escalate ($json)
 
 display ($json)
 
- Public Member Functions inherited from COREPOS\Fannie\API\monitor\Monitor
 __construct ($config)
 
 check ()
 
 escalate ($json)
 
 display ($json)
 

Additional Inherited Members

- Protected Attributes inherited from COREPOS\Fannie\API\monitor\Monitor
 $config
 

Member Function Documentation

COREPOS\Fannie\API\monitor\LaneMonitor::check ( )

Returns { lane_host => { online => boolean, connected => boolean, tables => { table_name => number_of_records, ... } }, ... }

COREPOS\Fannie\API\monitor\LaneMonitor::display (   $json)

Proof of concept: just dumping out JSON is not ideal

COREPOS\Fannie\API\monitor\LaneMonitor::escalate (   $json)

Escalate if any lane is offline, any lane database is unreachable, or any measured lane table is empty


The documentation for this class was generated from the following file: