unrealircd_exporter

command module
v0.0.0-...-ab3b965 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

README

unrealircd_exporter

unrealircd_exporter acts as a service to your unrealircd network. It will gather everything that is happening on the network and will provide the following metrics:

  • irc_users: count of users per server on the network
  • events_total: count of events per server and per type
  • stats_sendq: SendQ size for each link
  • stats_sendm: SendM for each link
  • stats_rcvem: RcveM for each link
  • stats_send_bytes: Sent bytes for each link
  • stats_rcve_bytes: Received bytes for each link
  • stats_open_since_seconds: Time in seconds since a link has been established
  • stats_idle_seconds: Time in seconds that a link has been idle
  • servers_total: count of linked servers

Note: you might want to remove the snomask e from any oper as it will be quite noisy, the exporter is requesting a /stats L from each server every 15 seconds.

Build

Use https://github.com/prometheus/promu

promu build

Exporter Configuration

# Which IP and port to listen on (ex: localhost:6660)
Listen = "localhost:6660"

# Server to connect to (ex: icanhaz.geeknode.org:7000)
Link = "server.geeknode.org:7000"

# Name and SID of the exporter (ex: 999)
Name = "prometheus.geeknode.org"
Sid = 999

# Path to key and cert to use
Cert = "./cert.pem"
Key = "./key.pem"

See examples/config.toml

Unrealircd Configuration

ulines {
       prometheus.geeknode.org;
};


link prometheus.geeknode.org
{
        incoming {
                mask *;
        };

        password "C/1QwI6imh8wdrfXnVfTDf6q+ijcTbmhmgbVXhoe+2o=" { spkifp; };
        class servers;
};

Need help?

Either open an issue or come chat with us on ircs://irc.geeknode.org:6697/geeknode.

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