mirror of
https://github.com/angolo40/mikrocata2selks.git
synced 2025-05-12 00:17:21 +00:00
First attemp - MultipleMikrotik
This commit is contained in:
parent
fe44673d6e
commit
d0a10235e5
@ -144,8 +144,7 @@ echo "--- "
|
||||
echo "--- Port: $port "
|
||||
echo "--- Local Interface: tzsp$num"
|
||||
echo "--- SERVICEs:"
|
||||
echo "--- --- ----: Mikrocata:"
|
||||
echo "--- --- --- --- --- ---: Edit '/usr/local/bin/mikrocataTZSP$num.py' with your info and then reload service --> 'systemctl restart mikrocatamikrocataTZSP$num.service'"
|
||||
echo "--- --- ----: Mikrocata: Edit '/usr/local/bin/mikrocataTZSP$num.py' with your info and then reload service --> 'systemctl restart mikrocataTZSP$num.service'"
|
||||
echo "--- --- --- : Interface: TZSPreplay$port@tzsp$num.service --> 'systemctl status TZSPreplay$port@tzsp$num.service'"
|
||||
echo "--- "
|
||||
num=$(( $num + 1 ))
|
||||
|
@ -136,7 +136,7 @@ def add_to_tik(alerts):
|
||||
# Remove duplicate src_ips.
|
||||
for event in {item['src_ip']: item for item in alerts}.values():
|
||||
|
||||
if str(event["alert"]["severity"]) not in SEVERITY:
|
||||
if str(event["alert"]["severity"]) not in SEVERITY:
|
||||
print("pass severity: " + str(event["alert"]["severity"]))
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user