EasyManua.ls Logo

D-Link NetDefendOS

D-Link NetDefendOS
912 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The delay in seconds between alarms when a continuous alarm is used. As discussed in
Section 2.4.3, “Hardware Monitoring”, the log messages generated by hardware monitoring are
continuous and this setting should be used to limit the frequency of those messages.
Minimum 0, Maximum 10,000.
Default: 60 (one minute)
2.3.10. Logsnoop
There is a basic ability to monitor and view the log event messages through the Web Interface.
The logsnoop CLI command extends this ability so that log messages can be viewed in any of the
following ways:
Logsnoop can display log messages on the CLI console as they are generated in real-time and
apply filtering to show only messages of interest to the administrator.
Logsnoop can look back in time and display the contents of the Memlog buffer which will
contain a given number of the most recently generated log messages. Filtering can also be
applied to this output to show only the messages of interest to the administrator.
The above two features can be combined so that both the contents of the memlog buffer
and newly generated messages are displayed together.
Switching Real-time Logsnooping On and Off
To switch on snooping, the basic form of the command is:
gw-world:/> logsnoop -on
All log messages generated by NetDefendOS will now appear on the CLI console and each
individual message is prefixed by the word "LOG". For example:
LOG: 2014-01-13 13:53:39 SYSTEM prio=Alert id=03200021 rev=1
event=demo_mode action=shutdown_soon shutdown=halt time=7200
The current status of logsnooping can be examined by entering the command with no
parameters:
gw-world:/> logsnoop
Real time log snooping is enabled. Filter: All
To switch off snooping, use the command:
gw-world:/> logsnoop -off
Filtering Log Messages
Simply switching on snooping on a busy system can send an overwhelming number of messages
to the console. It is usually advisable to add extra command parameters, either singly or in
combinations, to filter the messages. The following examples illustrate using some of the many
filtering parameters.
Filter by severity:
gw-world:/> logsnoop -on -severity=warning
Chapter 2: Management and Maintenance
99

Table of Contents

Related product manuals