FirmwareApiLuxminer
systemaudit
Display system audit events
systemaudit
Description
Returns a list of relevant system audit events that happened in the last 24 hours.
While the normal events come and go depending on the current status of the miner, the audit events is more akin to a "log" of important events that happened to the machine in the last 24 hours. This is useful to proactively detect subtle failures or excessive restarts.
The exact content depends on the type of the event.
Command
$ echo '{"command": "systemaudit"}' | nc $MINER_IP 4028 | jqExample
$ echo '{"command": "systemaudit"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 359,
"Description": "LUXminer 2025.9.19.133613-fbdde07e8",
"Msg": "System Audit",
"STATUS": "S",
"When": 1759330960
}
],
"SYSTEMAUDIT": [
{
"BoardID": 2,
"Description": "user requested (reboot - 5s)",
"Timestamp": "2025-10-01T14:57:43+00:00",
"Type": "BOARD_REBOOT",
"WillAutostart": true
},
{
"CleanShutdown": true,
"Description": "System shutdown happened",
"Timestamp": "2025-10-01T14:58:28+00:00",
"Type": "SYSTEM_SHUTDOWN"
},
{
"Description": "System entered HALT state",
"IsHalted": true,
"Timestamp": "2025-10-01T15:00:28+00:00",
"Type": "SYSTEM_HALT"
},
{
"Description": "System exited HALT state",
"IsHalted": false,
"Timestamp": "2025-10-01T15:00:51+00:00",
"Type": "SYSTEM_HALT"
},
{
"CleanShutdown": false,
"Description": "System shutdown happened",
"Timestamp": "2025-10-01T15:02:25+00:00",
"Type": "SYSTEM_SHUTDOWN"
}
],
"id": 1
}Field details
| Field | Notes |
|---|---|
Type | Present on all events; indicates what fields are returned. |
Timestamp | Present on all events; indicates when the event happened. |
Description | Present on all events; a simple textual description of the event. |
BoardID | ID of the affected board. (only on BOARD_REBOOT type) |
WillAutostart | If true, the board will be started again automatically. (only on BOARD_REBOOT type) |
CleanShutdown | If true, this was a clean shutdown. (only on SYSTEM_SHUTDOWN type) |
IsHalted | If true, the system entered the halt state. (only on SYSTEM_HALT type) |