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

Config state check

Danny
MVP Platinum
MVP Platinum

🛒 More SmartTasks
👍 Tested to be working with R81.20+

SmartTask to verify if the Gaia Clish configuration of the security management was saved via save config.

Script code

Copy the code below into a new script 'Task_ConfigSaveState' of your SmartConsole script repository.
test "$(clish -c 'show config-state' | grep -i '^unsaved$')" && echo '{"result":"failure","message":"Gaia Clish configuration changes are not saved on the security management."}' || echo '
...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free

Disclaimer: Check Point does not provide maintenance services or technical or customer support for third party content provided on this Site, including in CheckMates Toolbox. See also our Third Party Software Disclaimer.




0 Replies