|
||
---|---|---|
.. | ||
README.md | ||
alerts.json | ||
dashboard.json | ||
ping.go |
README.md
File Limit
systemctl edit categraf
Increase the number of open files:
[Service]
LimitNOFILE=8192
Restart Categraf:
systemctl restart categraf
Linux Permissions
On most systems, ping requires CAP_NET_RAW
capabilities or for Categraf to be run as root.
With systemd:
systemctl edit categraf
[Service]
CapabilityBoundingSet=CAP_NET_RAW
AmbientCapabilities=CAP_NET_RAW
systemctl restart categraf
Without systemd:
setcap cap_net_raw=eip /usr/bin/categraf
Reference man 7 capabilities
for more information about
setting capabilities.
Other OS Permissions
When using method = "native"
, you will need permissions similar to the executable ping program for your OS.