Add gos docs

This commit is contained in:
Denys Fedoryshchenko
2023-09-01 00:21:26 +03:00
parent 1a337879e7
commit 733baa90ae
2 changed files with 38 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
## collectd
### Forwarding collectd metrics to another collectd instance
You need to add on destination collectd instance:
```
LoadPlugin network
<Plugin network>
<Listen "LISTENIP" "25826">
SecurityLevel Encrypt
AuthFile "/etc/collectd/passwd"
</Listen>
</Plugin>
```
In /etc/colllectd/passwd you need to add user and password for source collectd instance:
```
user:password
user2:password2
```
Source collectd instance:
```
LoadPlugin network
<Plugin network>
<Server "DESTINATIONIP" "25826">
SecurityLevel Encrypt
Username "user"
Password "password"
</Server>
</Plugin>
```