Skip to content

Instantly share code, notes, and snippets.

@Elwell
Created July 9, 2019 05:59
Show Gist options
  • Save Elwell/4fd3a1c56dc6eaed4f0a3dab3f7a14ae to your computer and use it in GitHub Desktop.
Save Elwell/4fd3a1c56dc6eaed4f0a3dab3f7a14ae to your computer and use it in GitHub Desktop.
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
Copy link
Author

Elwell 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