system_clock
Reads a MikroTik device clock settings to check time, date, timezone, and drift that can break certificate validation, log timestamps, and scheduler timing.
Instructions
Device clock (/system/clock): time, date, time-zone-name,
time-zone-autodetect (normalized to bool | None -
formatting.coerce_ros_bool), gmt-offset, dst-active (also
normalized) - a single-row menu, same shape as container_config/
ntp_client.
Clock drift breaks certificate validation (see certificates'
daysUntilExpiry), log timestamps, and scheduler timing - check
this alongside ntp_client's status/synced-server when
diagnosing any of those. Returns an empty dict (never an error) for
a device with no /system/clock menu at all (not expected on any
real RouterOS device, but handled the same defensive way every
other single-row read here is).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||