© 2021 Cypress Solutions
Complete Manual: CTM-200 R2 (Revision 1.3)
44
System and Event logs
12.
System and Event logs
The CTM-200 logs operating system events as they happen. The most verbose log is the system log or syslog.
The syslog captures all device events as they occur. The system log is volatile; the contents of the system log
are lost on a power reset. Syslog can be captured to a file or connected computer for persistent logging
The Event log is a non-volatile log that logs and optionally reports all important firmware events such as
cellular/wifi network connectivity, firmware generated power cycle, firmware updates, etc.
The event log will grow until cleared or it will roll over when its memory capacity is reached (> 1 year of logging).
Event logs can be automatically delivered via the CTM-200 reporting system.
An example of a partial event log:
Mon Jan 13 08:47:22 PST 2014 [36]:POWER_UP:00000001
Mon Jan 13 08:47:22 PST 2014 [36]:IGN_ON
Mon Jan 13 08:47:22 PST 2014 [36]:WIFI_AP_UP
Mon Jan 13 08:47:22 PST 2014 [36]:CELL_ONLINE 0 mins 36 secs after POWER_UP, RF Quality: 17%
Mon Jan 13 12:46:46 PST 2014 [14400]:HEALTH
Mon Jan 13 16:37:28 PST 2014 [28241]:CMD_DATA_RESET:OK
Mon Jan 13 16:46:46 PST 2014 [28800]:HEALTH
Mon Jan 13 20:46:46 PST 2014 [43200]:HEALTH
Mon Jan 13 20:47:08 PST 2014 [43222]:CELL_OFFLINE after 719 mins 46 secs online, RF Quality: 32%
Mon Jan 13 20:47:26 PST 2014 [43240]:CELL_ONLINE after 0 mins 18 secs offline, RF Quality: 31%
Tue Jan 14 00:46:45 PST 2014 [57600]:HEALTH
Tue Jan 14 04:46:46 PST 2014 [72000]:HEALTH
Tue Jan 14 08:46:45 PST 2014 [86400]:HEALTH
Tue Jan 14 08:47:19 PST 2014 [86433]:CELL_OFFLINE after 719 mins 53 secs online,
Tue Jan 14 08:47:32 PST 2014 [86446]:CELL_ONLINE after 0 mins 13 secs offline, RF Quality: 30%
The event log can be configured for different levels of verbosity, an example of a partial event log is shown
above. POWER_UP:00000001 indicates a power on condition and the nature of the power, ignition, reset, etc.
CELL_ONLINE events record when cellular connections are established and CELL_OFFLINE record when offline
conditions occur. HEALTH events are messages that indicate the CTM-200 operating system is operating
normally. The default configuration for a HEALTH message is once every 4 hours.
13.
Connection monitoring tools
Watch dog timers are used to monitor network connectivity and reset the network connection or CTM-200 if a
timer expires indicating a network connectivity issue.
•
Setup a ping target to generate network traffic
•
Configure the network watchdog for cellular traffic
•
Configure a watchdog timer for the Wi-Fi network.