HacklabMQ: Difference between revisions

Jump to navigation Jump to search
145 bytes removed ,  1 June 2015
Adding the new consumer for occupancy graphing and removing tegh, since that never happened.
(Adding the initial bits of the occupancy system.)
(Adding the new consumer for occupancy graphing and removing tegh, since that never happened.)
Line 14: Line 14:
* statistics.occupancy - Fanout exchange, messages pushed to this exchange indicate which areas of the lab are occupied at the present time.
* statistics.occupancy - Fanout exchange, messages pushed to this exchange indicate which areas of the lab are occupied at the present time.
** Format: JSON, 'area' for which area the report is for, 'occupied' for whether this area is presently occupied, 'change' for whether this is a change in the occupied status from the last report.
** Format: JSON, 'area' for which area the report is for, 'occupied' for whether this area is presently occupied, 'change' for whether this is a change in the occupied status from the last report.
* tegh.services - Fanout exchange, messages sent to this exchange indicate that a 3D printer has either come online or that a previously online printer has gone offline.
** Format: JSON, TBD, The routing keys "tegh.service.up" and "tegh.service.down" are used to indicate 3D printers coming online and going offline respectively.
* eight - Fanout exchange, messages sent to this exchange indicate the number 8 should be printed full-screen (white text on a black background) and/or announced verbally. See also: [https://www.youtube.com/watch?v=87H6m2v4zNs 8].
* eight - Fanout exchange, messages sent to this exchange indicate the number 8 should be printed full-screen (white text on a black background) and/or announced verbally. See also: [https://www.youtube.com/watch?v=87H6m2v4zNs 8].
** Format: {eight: 8}
** Format: {eight: 8}
Line 54: Line 52:
   "statistics.power.statssign" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.power.statssign" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.bandwidth.statssign" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.bandwidth.statssign" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.power.powergraph" [shape=box style=filled fillcolor="palegreen1"]
   "statistics.power.graph" [shape=box style=filled fillcolor="palegreen1"]
  "statistics.occupancy.graph" [shape=box style=filled fillcolor="palegreen1"]
   "eight.signs" [shape=box style=filled fillcolor="palegreen1"]
   "eight.signs" [shape=box style=filled fillcolor="palegreen1"]


Line 95: Line 94:
   "statistics.power" -> "statistics.power.statssign"
   "statistics.power" -> "statistics.power.statssign"
   "statistics.power.statssign" -> "statssignd"
   "statistics.power.statssign" -> "statssignd"
   "statistics.power" -> "statistics.power.powergraph" -> "powergraph" -> "HTTP Frontend\nHackLab Power Graphs"
   "statistics.power" -> "statistics.power.graph" -> "powergraph" -> "HTTP Frontend\nHackLab AMQP Graphs"


   "Firewall SNMP" -> "bandwidth_feeder" -> "statistics.bandwidth"  
   "Firewall SNMP" -> "bandwidth_feeder" -> "statistics.bandwidth"  
Line 102: Line 101:
    
    
   "WiFi Occupancy Sensors" -> "occupancy_collector" -> "statistics.occupancy"
   "WiFi Occupancy Sensors" -> "occupancy_collector" -> "statistics.occupancy"
  "statistics.occupancy" -> "statistics.occupancy.graph" -> "occupancygraph" -> "HTTP Frontend\nHackLab AMQP Graphs"


   "eight" -> "eight.signs"
   "eight" -> "eight.signs"
56

edits

Navigation menu