fail2ban_unban
Unban an IP address from fail2ban. Resolve lockouts or correct false positives across specific jails or all monitored hosts on Mia.
Instructions
Unban an IP in fail2ban (all jails, or one) on hosts — e.g. after locking yourself out or a false positive.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "<ip>"
},
"name": "fail2ban_unban"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| jail | No | ||
| apply | No | false (default) = dry run: show what will happen on which hosts and a planHash. true = run it; needs planHash | |
| target | No | hosts: all | <host> | <glob nl-*> | <group> | role:<edge|remnanode|panel|docker> | tag:<tag>; comma-separated, !x excludes | all |
| planHash | No | planHash from the dry run of the very same call, good for one apply; refused if targets or their state changed since |