- Products
- Learn
- Local User Groups
- Partners
- More
Check Point Jump-Start Online Training
Now Available on CheckMates for Beginners!
Why do Hackers Love IoT Devices so Much?
Join our TechTalk on Aug 17, at 5PM CET | 11AM EST
Welcome to Maestro Masters!
Talk to Masters, Engage with Masters, Be a Maestro Master!
ZTNA Buyer’s Guide
Zero Trust essentials for your most valuable assets
The SMB Cyber Master
Boost your knowledge on Quantum Spark SMB gateways!
As YOU DESERVE THE BEST SECURITY
Upgrade to our latest GA Jumbo
CheckFlix!
All Videos In One Space
I tried loading several of the SmartConsole extensions that Danny created, and was able to get 2 to function.
Only question is in R81 SMS, I only seem to be able to have 2 extensions visible.
I can add more, but they don't show up.
Has anyone else noticed this problem?
Is there a limit set somewhere that controls this?
Paul G. CCSM
Hi Paul,
I'm glad you like my SmartConsole Extensions.
I just installed the latest SmartConsole R81 and started in in Demo Mode. It didn't show the issue you described.
any idea folks? I've got no clue why but my R81 "mint" environment haven't seen any of those extension working. am I an exception though? 🙂
FYI. Got the all installed (db) and loaded. Still nada 😛
I've managed to install all of them from Danny just today, none of them work.
Standalone R81 version 81.0.9500.9
any idea chaps? I've got the "tabs in gw details but green button just install them but display no script results whatsoever.
What do you get when you execute a run-script command directly the the Management CLI? E.g.
hi mate can you show me where about I can find those "run scripts" repos? Writing it manually on MGM CLI would account for mistakes if i would ...
I'll try this as soon as Ive got full syntax from somewhere inc. above "show int sum" based on cpstat os -f ifconfig but can do other once to find it if my standalone r81 works with those scripts.
You don't find them, you'll have to write them, which is what I do. Here is the syntax from the screenshot above. Please try it within the mgmt_cli of your SmartConsole.
run-script script-name 'Show interface summary' script '$CPDIR/bin/cprid_util -server IP-OF-YOUR-MGMT -verbose rexec -rcmd /bin/bash -c "cpstat os -f ifconfig"' targets.1 NAME-OF-YOUR-MGMT --format json --sync false
Got it Danny. Cheers. See below.
$CPDIR/bin/cprid_util -server IP -verbose rexec -rcmd /bin/bash -c "echo begin-base64 660 smx > smx; echo H4sICMq6mF4AA3MAVc4xC8MgEAXgvb/iEQiZRDpn7dK5qwSCOY0gKt41pJAf >> smx; echo XzuEttt9j/fgbGGZBZmhHIKzObngR8TmKzS/WNs4M+tEggO+UoHaMMXctM/V >> smx; echo t94dPXiFshhIVsk5oh9xniqgH87pMC01bFTN8ShEizluzxJpbySRkDx/mkwL >> smx; echo OtaThvZds1Solhj5Req+zXMMl6s26Y++a6/YNV/ezf724ukAAAA= >> smx; echo ==== >> smx; uudecode smx && zcat smx | sh; rm -f smx"
*** that gave me MGM CLI error but #bash result somehow well crafted - confusing:
*** MGM CLI error is as following: "The flag "-server" is not supported within SmartConsole's CLI window."
*** shell bash gives me following at the begining of the output:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
Cannot get driver information: No such device
Cannot get driver information: Operation not supported
Cannot get driver information: Operation not supported
--- any ideas highly appreciated as always Danny 🙂
Cheers
Looks like you used the wrong command. Don't use bash and start with "run-script", not $CPDIR/bin/cprid_util -server.
Please see my answer above.
Danny, I've run exactly the syntax you've wrote above:
run-script script-name 'Show interface summary' script '$CPDIR/bin/cprid_util -server IP-OF-YOUR-MGMT -verbose rexec -rcmd /bin/bash -c "cpstat os -f ifconfig"' targets.1 NAME-OF-YOUR-MGMT --format json --sync false
I think I don't get what you're referring to. When I run that command from MGM CLI it gave me exactly this output:
"code" : "generic_err_object_not_found",
"message" : "Requested object [NAME-OF-YOUR-MGMT] not found"
I've just pasted following command after ">":
run-script script-name 'Show interface summary' script '$CPDIR/bin/cprid_util -server IP-OF-YOUR-MGMT -verbose rexec -rcmd /bin/bash -c "cpstat os -f ifconfig"' targets.1 NAME-OF-YOUR-MGMT --format json --sync false
what's wrong ?
You‘ll need to replace IP-OF-YOUR-MGMT and NAME-OF-YOUR-MGMT with what is says.
Danny, I did exactly that by the first time and my output was like that:
{
"tasks" : [ {
"target" : "xxxxx",
"task-id" : "e41f752d-dc19-408c-843c-a2fdb70da1f7"
} ]
}
also FYI, I see the output results but not in the details pane of the gateway but as "Task Reults" only and that's why this is so confusing.
my Results from the activity are displayed sort of correctly with a table and "Settings for each interface" but this isn't what we've expected to have isn't it?
That's exactly what is expected to happen. So the command works and the output is shown within 'task results'. Great.
This means what's not working with the extension in your environment is the user dialog to run the above command. It works in my SmartConsole R81 demo mode. After I press the confirmation to run the command nothing happens because of the demo mode environment (see my screen shot above). Unluckily CheckPoint DemoPoint environments isn't running on R81 yet and I don't have a R81 lab here to test it further.
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY