![]() To teach the prometheus server about the node exporter, we need to edit the promethus.yml file to tell prometheus how to reach the node exporter. We now have both a prometheus server and a node exporter, but they are totally independent processes. INFO Listening on :9100 source="node_exporter.go:170"" INFO - time source="node_exporter.go:104" INFO - textfile source="node_exporter.go:104" INFO - netdev source="node_exporter.go:104" INFO - meminfo source="node_exporter.go:104" INFO - loadavg source="node_exporter.go:104" INFO - filesystem source="node_exporter.go:104" INFO - diskstats source="node_exporter.go:104" INFO - boottime source="node_exporter.go:104" INFO Enabled collectors: source="node_exporter.go:97" $ cd /Users/gary.little/Downloads/node_exporter-0.18.1.darwin-amd64 Start by downloading the pre-compiled darwin node exporter from prometheus.io As in Linux the OS exporter is simply called “node exporter”. The easiest thing to do is add the scraper to monitor OS-X itself. Prometheus itself does not do much apart from monitor itself, to do anything useful we have to add a scraper/exporter module. Prometheus web-ui Add a collector/scraper to monitor the OS From a local browser, point to localhost:9090.$ cd /Users/gary.little/Downloads/prometheus-2.16.0-rc.0.darwin-amd64 Run the prometheus binary, from the command line, it will listen on port 9090.Unzip the binary and cd into the directory.Download the compiled prometheus binaries from prometheus.io.How to install Prometheus on OS-X Install prometheus
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |