Showing System Messages (show smo log)
Check Point Maestro R80.20SP Administration Guide | 165
Showing System Messages (show smo log)
Description
Use the
show smo log
command in Gaia gClish to show the output of log files aggregated from all
Security Appliances.
The output shows in chronological sequence. Each line shows the Security Appliance that created the log
entry.
Syntax
> show smo log <
log file
> [from <
date
>] [to <
date
>] [tail <
n
>] [filter
<
string
>]
Parameters
Parameter
Description
tail <
n
>
Show only the last
n
lines of the log file for each Security Appliance.
For example,
tail 3
shows only the last three lines of the specified log file.
<
log file
>
Enter the name of the common log file or the full path of the file.
from <
date
>
Shows only the log from a given date and above.
to <
date
>
Shows only the log until the given date.
filter <
string
>
Word or phrase to use as an output filter.
For example,
filter ospf
shows only OSPF messages.
Example
This example shows messages on Chassis1 that contain the word
Restarted
:
[Expert@MyChassis-ch01-01:0]# gclish
[Global] MyChassis-ch01-01> show smo log messages filter Restarted
Feb
5 12:40:07 1_03 MyChassis-ch01-03 pm[8465]: Restarted /bin/routed[8489], count=1
Feb
5 12:40:09 1_04 MyChassis-ch01-04 pm[8449]: Restarted /bin/routed[9995], count=1
Feb
5 12:40:09 1_04 MyChassis-ch01-04 pm[8449]: Restarted /opt/CPsuite-R80.20/fw1/bin/cmd[11291],
count=1
Feb
5 12:40:09 1_04 MyChassis-ch01-04 pm[8449]: Restarted /usr/libexec/gexecd[11292], count=1
Feb
5 12:40:10 1_03 MyChassis-ch01-03 pm[8465]: Restarted /usr/libexec/gexecd[9701], count=1
Feb
5 12:40:10 1_03 MyChassis-ch01-03 pm[8465]: Restarted /bin/routed[11328], count=2
Feb
5 12:40:10 1_05 MyChassis-ch01-05 pm[8458]: Restarted /bin/routed[9734], count=1
Feb
5 12:40:10 1_05 MyChassis-ch01-05 pm[8458]: Restarted /usr/libexec/gexecd[11331], count=1
Feb
5 12:40:11 1_01 MyChassis-ch01-01 pm[8463]: Restarted /bin/routed[12253], count=3
Feb
5 12:40:11 1_04 MyChassis-ch01-04 pm[8449]: Restarted /bin/routed[11378], count=2
Feb
5 12:40:11 1_04 MyChassis-ch01-04 pm[8449]: Restarted /opt/CPsuite-R80.20/fw1/bin/cmd[11379],
count=2
[Global] MyChassis-ch01-01>