Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Boris_Karnaukh
Participant
Jump to solution

Runing script on R80.20 SmartCenter upon firewall policy installation

I need to run a script on SmartCenter whenever policy is installed on specific firewall gateway.

What is the best way of doing that?

0 Kudos
1 Solution

Accepted Solutions
Danny
Champion Champion
Champion

In order to run a script on SmartCenter whenever policy is installed Boris simply needs to follow sk38929 and instead of setting mail as his action target would set his script as action target (configurable via Global Properties > Log & Alerts > Alerts).

View solution in original post

0 Kudos
7 Replies
G_W_Albrecht
Legend
Legend

So if you have to run the script after policy install on the specific firewall gateway - what is the best way depends, CLI is my choice, R80.20 has the additional option to run it from SmartConsole Scripts menue.

CCSE CCTE CCSM SMB Specialist
0 Kudos
Boris_Karnaukh
Participant

Yes, I know about script repository, my problem is that I want to run script automatically.

Currently I have set up the task for cpd_sched_config to run every 10 minutes, but it is far from optimal solution.

0 Kudos
G_W_Albrecht
Legend
Legend

A cron job is the only way to do this in a supported kind. You surely could tamper with scripts used by the policy install process, but why should you ? To run the script automatically would only make sense if the policy install is automatic also.

CCSE CCTE CCSM SMB Specialist
0 Kudos
Danny
Champion Champion
Champion

In order to run a script on SmartCenter whenever policy is installed Boris simply needs to follow sk38929 and instead of setting mail as his action target would set his script as action target (configurable via Global Properties > Log & Alerts > Alerts).

0 Kudos
G_W_Albrecht
Legend
Legend

Yeah, i do like that - especially the passus:  Imported from Nokia support database 😉

CCSE CCTE CCSM SMB Specialist
0 Kudos
Boris_Karnaukh
Participant

Just one side note: it takes a while to locate legacy SmartView Monitor utility in R80.20.

Maybe we need to update SK with recipe on how to manage this thing using Management API?

0 Kudos
Danny
Champion Champion
Champion
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events