Make webhook configurable

This commit is contained in:
Nik Rozman
2023-10-27 18:32:41 +02:00
parent 2f9c2c1969
commit 8faf339232
5 changed files with 85 additions and 18 deletions
+16
View File
@@ -0,0 +1,16 @@
[General]
; Path to the named pipe (FIFO) for sFlow data
PipePath = /tmp/sflow-abuse
; Webhook URL for sending alerts
WebhookURL = "x"
[Monitoring]
; List of ports to monitor (comma-separated)
MonitoredPorts = 25,587
[Thresholds]
; Time threshold for counting events (in seconds)
TimeThreshold = 10
; Packet count threshold for sending an alert
PacketCountThreshold = 100