ban, partial_block) and unban (unban, partial_unblock) notifications to Flashduty On-call. Each attacked host IP (or host group) maps to one alert: the alert triggers when FastNetMon bans and recovers when FastNetMon unbans.
In Flashduty On-call
You can get the push URL in either of two ways.
Dedicated integration
- In the Flashduty console, select Channels and open a channel
- Select Settings → Integrations → Dedicated integrations, then click Add an integration
- Select FastNetMon and click Save
- Open the generated integration card and copy the Push URL
Shared integration
- In the Flashduty console, select Integration Center → Alert Events
- Select FastNetMon and enter an integration name
- Configure the default route and choose a channel; you can add more rules under Routes after creation
- Click Save and copy the generated Push URL
In FastNetMon
1
Enable the web callback
On the FastNetMon Advanced server, set the callback URL with FastNetMon sends a
fcli and commit (use the full Flashduty push URL, including integration_key):POST with Content-Type: application/json. Flashduty parses the document directly, so no template is needed.2
(Optional) Keep sending attack status
FastNetMon 2.0.375 and later can repeat the ban notification at a fixed interval while the ban is active:Repeated notifications carry the same host IP, so they merge into the same alert and refresh its traffic data.
3
Verify the lifecycle
Trigger an attack detection (for example, send test traffic above the ban threshold of a host group) and confirm an active alert appears in Flashduty. After the attack ends and FastNetMon unbans, confirm the alert recovers.
Payload
Packet samples (
packet_dump) and Flow Spec rules in ban notifications are not stored on the alert.
Alert Key
The Alert Key identifies the attacked object:
ip for host scope, hostgroup_name for host group scope. The ban, status updates and unban for one IP land on the same alert; different IPs or host groups are different alerts. Changes to severity, traffic data or attack_uuid do not change the Alert Key.
attack_uuid is not used: in FastNetMon’s official samples only the blackhole ban and unban share a UUID, while the Flow Spec and host group samples carry different UUIDs on ban and unban, so a UUID key could not be guaranteed to close the alert.
If a blackhole ban and a Flow Spec partial block are active on the same IP, they share one alert, and whichever unban arrives first closes it.
A request without ip (or without hostgroup_name in host group scope) is rejected with a parameter error, because the unban could not be matched to its alert reliably. A request with any other action or alert_scope is rejected too.
Status and severity
The official samples only show
middle; the other values follow common naming. On unban the alert recovers and keeps the severity of the last attack notification.
FAQ
Does the alert stay open if an unban notification is lost?
Does the alert stay open if an unban notification is lost?
Yes. FastNetMon does not guarantee a resend of the unban. Enable auto-resolve timeout on the channel, with a duration longer than your longest ban.
Does the Community edition work?
Does the Community edition work?
This integration targets the JSON format that FastNetMon Advanced uses for web callbacks and notify scripts. Check FastNetMon’s documentation for whether the Community edition sends the same format.
Troubleshooting
- No alerts arrive: on the FastNetMon server, confirm
web_callback_enabledis on,fcli commitwas run, and the server can reach the Flashduty push URL - Flashduty returns a parameter error: confirm the request is a FastNetMon JSON notification and that
ip(host scope) orhostgroup_name(host group scope) is not empty - The alert does not recover: confirm the unban notification was sent and carries the same
ip; enable auto-close after timeout if needed