Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
G_W_Albrecht
Legend
Legend

Doctor Spark CLI commands

It is easy to generate a Doctor Spark report in the WebGUI. And what about moments this is not possible ? Since R80.10.05, also Embedded GAiA CLI has Doctor Spark integrated: https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/drsmb.htm It will perform the same tests, not producing a html page, only simple logfiles.

But the given syntax is incorrect - drSMB has to be called instead:

Usage: drSMB diag <list | verify | print | performance | last_run | light> 

Options:
--------
drSMB diag list [[TestId1],[TestId2]..|[SectionName]] - Display verifiers
drSMB diag verify [except] [[TestId1],[TestId2]..|[SectionName]] - Run verifiers and display report
drSMB diag print [except] [[TestId1],[TestId2]..|[SectionName]] - Run verifiers and display verbose output
drSMB diag last_run <verify | print> - Display latest report/verbose output
drSMB diag performance <time in sec> - Run only performance test, time for throughput and packet rate. if no time is given will run for 10 sec.
drSMB diag light - Run only the tests that takes short time to run.

SectionName Options:
< General | Policy_and_Configuration | VSX_Configuration | Status | Sizing | Memory | Connectivity | Performance | Cluster | Reach_My_Device | SMP | OS | License | Cellular | VPN | Hardware > 

Only the first three diag types are listed in the CLI Guide, Sectionname Options are also missing.

# drSMB diag print 
2023-08-11_12-46-29
==============================
Core Dumps:
==============================
Checking for userspace core....
Userspace core was not found.
==============================
Kernel Panics:
==============================
Checking for kernel panics....
No kernel panics on the current software version

After finishing the tests, a summary is displayed:

-------------------------------------------------------------------------------------------------                                                                                                                  
| Tests Summary |
-------------------------------------------------------------------------------------------------
| Passed: 87/91 tests, 5 of them info, 4 of them warning, and 35 of them N/A. |
| Run: "drSMB diag list 9,14,33,88" to view a complete list of failed tests. |
| Output file: /storage/doctor_smb/tempfiles/verifier_sum.1-91.2023-08-11_12-43-48.txt |
-------------------------------------------------------------------------------------------------
CCSE CCTE CCSM SMB Specialist
4 Replies
the_rock
Legend
Legend

Thanks for sharing!

Andy

0 Kudos
G_W_Albrecht
Legend
Legend

I would not expect much with some options, though 😎

 

Click to Expand

drSMB diag print VSX_Configuration

2023-08-14_10-36-02
-------------------------------------------------------------------------------------------------
| Tests Status |
-------------------------------------------------------------------------------------------------
| ID | Title | Result | Reason |
-------------------------------------------------------------------------------------------------
| Tests Summary |
-------------------------------------------------------------------------------------------------
| Passed: 0/0 test, 0 of them info, 0 of them warning, and 0 of them N/A. |
| Output file: /storage/doctor_smb/tempfiles/verifier_sum..2023-08-14_10-36-02.txt |
-------------------------------------------------------------------------------------------------
CCSE CCTE CCSM SMB Specialist
0 Kudos
(1)
ohadp
Employee
Employee

We have also 

drSMB diag light

All tests defined as heavy or light, light (less than 1 second), so the dr. will run fast.
Also, you can run the light via Web-UI with night job (configuration) at 2 AM.

 

dr.JPG

0 Kudos
G_W_Albrecht
Legend
Legend

Yes, it was included in my post: 

drSMB diag light - Run only the tests that takes short time to run. 

Scheduling would be nice. and why hide it...

AS.pngAlso to switch to full doctoring appreciated.

CCSE CCTE CCSM SMB Specialist

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events