imap-mailbox-exporter

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 9 Imported by: 0

README

Imap Mailbox Exporter

Export the amount of mails in a mailbox for use in prometheus.

Usage

Configuration
IMAP_SERVER=""
IMAP_USERNAME=""
IMAP_PASSWORD=""
Probe
http://127.0.0.1:9101/probe?target=INBOX
Provided metrics
# HELP probe_mailbox_count Displays the count of mails found in the mailbox
# TYPE probe_mailbox_count gauge
probe_mailbox_count 0
Example Usage

You can find a example docker compose configuration.

Make sure to update examples/imap-exporter.env with your imap credentials.

Start the example container

pushd examples

docker compose pull
docker compose up -d

License

This project is licensed under the MIT License

© 2022, jop-software Inh. Johannes Przymusinski

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