You've already forked prometheus-fail2ban-exporter
feat: export new version metric (#12)
Add a new `f2b_version` metric that includes the version of the fail2ban server and the exporter. Add a new socket command to get back the fail2ban server version.
This commit is contained in:
@ -11,6 +11,7 @@ const (
|
||||
commandTerminator = "<F2B_END_COMMAND>"
|
||||
pingCommand = "ping"
|
||||
statusCommand = "status"
|
||||
versionCommand = "version"
|
||||
socketReadBufferSize = 1024
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user