Files
documentation/GOS_misc.md
T
Denys Fedoryshchenko 733baa90ae Add gos docs
2023-09-01 00:21:26 +03:00

37 lines
697 B
Markdown

## 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>
```