Add notes about setting cap_net_raw for ICMP module
authorMusee Ullah <lae@lae.is>
Mon, 30 May 2016 18:15:21 +0000 (11:15 -0700)
committerMusee Ullah <lae@lae.is>
Tue, 31 May 2016 23:30:59 +0000 (16:30 -0700)
README.md

index 1cc414a0982eeaeac6495093cbc1630858d91ee0..a3f9aa9ae4c0598af279f84b1e970675137f3de0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ modules:
     timeout: 5s
 ```
 
-HTTP, HTTPS (via the `http` prober), TCP socket and ICMP (v4 only, requires privileged access) are currently supported.
+HTTP, HTTPS (via the `http` prober), TCP socket and ICMP (v4 only, see permissions section) are currently supported.
 Additional modules can be defined to meet your needs.
 
 
@@ -109,6 +109,14 @@ scrape_configs:
         replacement: 127.0.0.1:9115  # Blackbox exporter.
 ```
 
+## Permissions
+
+The ICMP probe requires elevated privileges to function:
+
+* *Windows*: Administrator privileges are required.
+* *Linux*: root user _or_ `CAP_NET_RAW` capability is required.
+  * Can be set by executing `setcap cap_net_raw+ep blackbox_exporter`
+* *BSD / OS X*: root user is required.
 
 [circleci]: https://circleci.com/gh/prometheus/blackbox_exporter
 [hub]: https://hub.docker.com/r/prom/blackbox-exporter/