Skip to content

sensor data

Thomas Hirsch edited this page Jun 14, 2016 · 1 revision

The basic format of the event MONROE.META.NODE.SENSOR follows the following syntax:

  ''MONROE.META.NODE.SENSOR.sensor_name <JSON>''

With the JSON dictionary containing these fields:

  • Timestamp
  • SequenceNumber
  • DataId
  • DataVersion
  • all of a sensor's fields in the table below

Implemented sensors

Sensor Field Description
experiments running Comma separated list of experiment GUIDs (currently only docker URL)
temp cpu CPU Temperature (C)
restservices modems Modem info service (HTTP Status code)
dlb Load balancer info service (HTTP status code)
usbmonitor USB hub info service (HTTP status code)
session id Session number (Boot counter)
start Start time (Unix timestamp)
current Uptime (seconds since start of the session)
total Uptime (Cumulative uptime of the node over all sessions)
percent Uptime (Percent of uptime vs total lifetime of the node)
cpu system CPU time spent by the kernel in system activities
steal The time that a virtual CPU had runnable tasks, but the virtual CPU itself was not running
guest The time spent running a virtual CPU for guest operating systems under the control of the Linux kernel.
iowait CPU time spent waiting for I/O operations to finish when there is nothing else to do.
irq CPU time spent handling interrupts
nice CPU time spent by nice(1)d programs
idle Idle CPU time
user CPU time spent by normal programs and daemons
softirq CPU time spent handling "batched" interrupts
memory apps Memory used by user-space applications.
free Unused memory
swap Swap space used
battery usb0 Charging level of a ZTE mifi on usb0 (0-100, -1 for inactive)
usb0charging Charging status of a ZTE mifi on usb0 (0 or 1)
usb1 Charging level of a ZTE mifi on usb0 (0-100, -1 for inactive)
usb1charging Charging status of a ZTE mifi on usb0 (0 or 1)
usb2 Charging level of a ZTE mifi on usb0 (0-100, -1 for inactive)
usb2charging Charging status of a ZTE mifi on usb0 (0 or 1)

Clone this wiki locally