proftpd_exporter

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

README

proftpd-exporter Releases Publish Docker image Vulnerability Scan Haskell Dockerfile Linter Code Scanning(CodeQL)

License

Container image version Container image size Container image pulls

GitHub go.mod Go version Go Report Card

Prometheus exporter for ProFTPD metrics.
Supports ProFTPD 1.3.x

How to use

$ proftpd-exporter \
  --config.file=/path/to/proftpd.config
  • --config.file: Specify certificate files with comma separated values.

Output

# v1
proftpd_session_count{file="/path/to/proftpd.scoreboard",state="idle"} 18
proftpd_session_count{file="/path/to/proftpd.scoreboard",state="stor"} 10
proftpd_session_count{file="/path/to/proftpd.scoreboard",state="retr"} 1

# v2
proftpd_up_for_days{file="/path/to/proftpd.scoreboard",pid="1000"} 36
proftpd_session_count{file="/path/to/proftpd.scoreboard",state="idle"} 18
proftpd_session_count{file="/path/to/proftpd.scoreboard",state="stor"} 10
proftpd_session_count{file="/path/to/proftpd.scoreboard",state="retr"} 1
proftpd_session_info{file="/path/to/proftpd.scoreboard",sce_pid="10000",sce_user="",sce_begin_session="",sce_begin_idle="",sce_cmd="",sce_cmd_arg=""} 1
proftpd_session_info{file="/path/to/proftpd.scoreboard",sce_pid="10001",sce_user="",sce_begin_session="",sce_begin_idle="",sce_cmd="",sce_cmd_arg=""} 1
proftpd_session_info{file="/path/to/proftpd.scoreboard",sce_pid="10002",sce_user="",sce_begin_session="",sce_begin_idle="",sce_cmd="",sce_cmd_arg=""} 1
  • proftpd_session_count: Represent the deadline of server certificate in Unixtime.
  • proftpd_session_info: Represents the difference between the deadline of the server certificate and the current date-time.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL