diff --git a/README.md b/README.md index aa696ce..6468a51 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Create a simple `config.toml` in `/etc/prometheus-nagios-exporter` with your Nag APIKey = "" ``` -By default this will point to `http://localhost`, but a remote address can be specified with `--nagios.scrape-uri`. The default port is `9111`, but can be changed with `--web.listen-address`. +By default this will point to `http://localhost`, but a remote address can be specified with `--nagios.scrape-uri`. The default port is `9927`, but can be changed with `--web.listen-address`. SSL support is included for scraping remote Nagios endpoints, and SSL verification can be enabled/disabled with `--nagios.ssl-verify`. A scrape timeout value is also available with `--nagios.timeout`. diff --git a/nagios_exporter.go b/nagios_exporter.go index 30a2d8d..56da051 100644 --- a/nagios_exporter.go +++ b/nagios_exporter.go @@ -584,7 +584,7 @@ func (e *Exporter) QueryAPIsAndUpdateMetrics(ch chan<- prometheus.Metric, sslVer func main() { var ( - listenAddress = flag.String("web.listen-address", ":9111", + listenAddress = flag.String("web.listen-address", ":9927", "Address to listen on for telemetry") metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics")