16
NetComm Wireless Logging Architecture Feature Spotlight

NetComm Wireless Logging Architecture Feature Spotlight

  • Upload
    winter

  • View
    55

  • Download
    1

Embed Size (px)

DESCRIPTION

NetComm Wireless Logging Architecture Feature Spotlight. The NetComm Wireless logging system. The NetComm Wireless router automatically keeps a log of system events. - PowerPoint PPT Presentation

Citation preview

Page 1: NetComm  Wireless Logging  Architecture Feature Spotlight

NetComm Wireless

Logging ArchitectureFeature Spotlight

Page 2: NetComm  Wireless Logging  Architecture Feature Spotlight

The NetComm Wireless logging system

The NetComm Wireless router automatically keeps a log of system events.

By default, the router logs to volatile memory which means that if power is lost or the router is rebooted for some reason, the logs will be lost.

Loss of log data can be avoided by configuring the router to log to non-volatile memory or by configuring a remote syslog server.

The logging system in its default state logs up to 256 kilobytes of data meaning that events that happened some time ago (depending on activity) may not show in the logs.

Page 3: NetComm  Wireless Logging  Architecture Feature Spotlight

Enabling log to non-volatile memory

Flash memory generally has a finite number of program-erase operations that it can perform to the blocks of memory. While this number of operations is quite high, we recommend that you only enable log to non-volatile memory when actually troubleshooting a problem.

1

2

Page 4: NetComm  Wireless Logging  Architecture Feature Spotlight

Local Syslog server Vs. Remote syslog server

A syslog server helps to alleviate the problem of losing logs due to limited or volatile memory on the router.

A syslog server is a piece of software which runs remotely i.e. not on the router, and accepts log data from the router. The log data can then be saved or manipulated however you please.

The syslog can be running on a computer connected directly to the NetComm Wireless router or on a machine on the other side of the world. The choice is yours.

You may prefer to use a syslog server locally when: your mobile broadband data plan is limited you have the capacity to run a computer near the NetComm Wireless router you are not too far from the NetComm Wireless router you want use a syslog server temporarily to troubleshoot an issue

You may prefer to use a syslog server remotely when: you do not have to worry about bandwidth or traffic concerns on your mobile broadband plan the NetComm Wireless router is operating in a place where you can’t run a computer near it

Page 5: NetComm  Wireless Logging  Architecture Feature Spotlight

Using a remote syslog server

12 3

4

Page 6: NetComm  Wireless Logging  Architecture Feature Spotlight

Using a remote syslog server - LocallyOpen your syslog server. In this example we are using the free “Tftpd32” application which also acts as a syslog server. The server interface is 192.168.1.190 which is the IP address assigned to the network card on the machine running the syslog server. As changes occur on the router, the log is updated.

Page 7: NetComm  Wireless Logging  Architecture Feature Spotlight

Using a remote syslog server - RemotelyTo send log data to a syslog server which is not connected to the router directly, enter the WAN IP address of the syslog server.

Page 8: NetComm  Wireless Logging  Architecture Feature Spotlight

Using a remote syslog server - RemotelyThe log data is displayed on the remote syslog server.

Page 9: NetComm  Wireless Logging  Architecture Feature Spotlight

Troubleshooting problems

When you experience a problem on a NetComm Wireless router, it is important to analyse the logs to identify the cause of the problem.

When you send log files to NetComm for analysis, you should also include as much information as possible about the problem, such as:

When the problem occurs – please specify as accurately as you can Does the problem occur regularly or does it seem to be random? What was happening on the router at the time, if you know Is the problem reproducible?

Page 10: NetComm  Wireless Logging  Architecture Feature Spotlight

Troubleshooting problems

Other tips for troubleshooting problems:

Try to capture the logs of a working example and a problem example to provide a contrast

Make sure that the logs capture the problem event

It is important that the time is set accurately on the router so that when logs are analysed, the problem can be identified at the precise time it occurred. Also ensure that the time stamp in the log is accurate.

It helps us a lot if you can annotate the log file to identify when certain events happened e.g. At timestamp 13:41:09 the Ethernet cable was connected, at 13:45:17 a dropout occurred.

When you send log files to NetComm Wireless, it is very helpful if you include a configuration backup of the router settings. This helps in reproducing the problem or identifying configuration issues.

Sometimes a connection diagram showing the device scenario/environment can assist in diagnosis.

Page 11: NetComm  Wireless Logging  Architecture Feature Spotlight

Log filter

There are 5 levels that you can use to filter the log displayed in the user interface of the router.

The filters do not change the level of logs that are kept but assist in removing unnecessary items from view when you are trying to troubleshoot a problem.

Page 12: NetComm  Wireless Logging  Architecture Feature Spotlight

The NetComm Wireless router logThe log is displayed on the user interface of the router and may also be downloaded as a file and viewed using a text editor.

If you download the log file for viewing, remember that it is stored in Linux format (CR only). When opening the log file on Windows system, ensure that you use a file viewer that can display “CR only” files correctly. A good example of this is the open source text file editor “Notepad++”.

Page 13: NetComm  Wireless Logging  Architecture Feature Spotlight

The NetComm Wireless router logThe log is displayed on the user interface of the router and may also be downloaded as a file and viewed using a text editor.

Field Description

Date & Time The date and time that the event occurred

Machine The machine logging the event

Level The level (severity) of the event

Message A description of the event

Page 14: NetComm  Wireless Logging  Architecture Feature Spotlight

Logging levelsThere are 8 levels of events in the log:

1. Emergency – System is unusable2. Alert – action must be taken immediately3. Critical – a critical condition has occurred4. Error – an error condition has occurred5. Warning – this message is a warning6. Notice – a normal but significant condition7. Information – an informational message8. Debug – debug-level message

The levels in blue above are available as filters in the user interface. When you select a logging level to

display in the user interface view of the log, only the levels above the chosen one will be displayed.

For example, selecting Notice displays events 1 through 6 in the user interface view.

Page 15: NetComm  Wireless Logging  Architecture Feature Spotlight

FacilitiesThe facility argument is used to specify the type of program that is logging the message. The facility usually appears in the log as a prefix to the level, e.g. user.notice. The following facilities are available in the MachineLink 3G:

1. Auth – Security/Authorization messages.2. Authpriv – Security/Authorization messages (private)3. Cron – clock daemon4. Daemon – system daemons without separate facility value5. ftp – FTP daemon6. Kern – Kernel messages (these can’t be generated by user processes)7. Local0 through Local7 – reserved for local use8. Syslog – messages generated internally by syslogd9. User – generic user-level messages

Page 16: NetComm  Wireless Logging  Architecture Feature Spotlight

For more information, please visit www.netcommwireless.com and navigate to your product’s support page.

Further information