forked from spinesystemspublic/documentation
37 lines
697 B
Markdown
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>
|
|
```
|