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

Runing script on R80.20 SmartCenter upon firewall policy installation

Jump to solution

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

What is the best way of doing that?

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
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
Highlighted
Champion
Champion

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.

0 Kudos
Highlighted
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
Highlighted
Champion
Champion

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.

0 Kudos
Highlighted
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
Highlighted
Champion
Champion

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

0 Kudos
Highlighted
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
Highlighted
Champion
Champion
0 Kudos