Skip to content

Instantly share code, notes, and snippets.

@Elwell Elwell/lnet.conf
Created Jul 9, 2019

Embed
What would you like to do?
Lustre LNET metrics parsing for collectd
LoadPlugin table
<Plugin table>
<Table "/proc/sys/lnet/stats">
Plugin "lustre"
Instance "lnet"
Separator " "
<Result>
InstancePrefix "msgs_alloc"
Type gauge
ValuesFrom 0
</Result>
<Result>
InstancePrefix "msgs_max"
Type counter
ValuesFrom 1
</Result>
<Result>
InstancePrefix "errors"
Type counter
ValuesFrom 2
</Result>
<Result>
InstancePrefix "send_count"
Type counter
ValuesFrom 3
</Result>
<Result>
InstancePrefix "recv_count"
Type counter
ValuesFrom 4
</Result>
<Result>
InstancePrefix "route_count"
Type counter
ValuesFrom 5
</Result>
<Result>
InstancePrefix "drop_count"
Type counter
ValuesFrom 6
</Result>
<Result>
InstancePrefix "send_bytes"
Type counter
ValuesFrom 7
</Result>
<Result>
InstancePrefix "recv_bytes"
Type counter
ValuesFrom 8
</Result>
<Result>
InstancePrefix "routed_bytes"
Type counter
ValuesFrom 9
</Result>
<Result>
InstancePrefix "dropped_bytes"
Type counter
ValuesFrom 10
</Result>
</Table>
</Plugin>
@Elwell

This comment has been minimized.

Copy link
Owner Author

commented Jul 9, 2019

Drop file into your collectd.d/ config dir and restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.