-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mulitipathd_info text collector example #1375
Conversation
It might be prudent to specify the exact format that we want Based on the columns selected by the awk script, we want dev, dm_st and chk_st, which are %d, %t and %T respectively (check This produces a cleaner output which is safer (and probably easier) to parse:
|
@dswarbrick Nice suggestion. It's too bad that the format string is picky, I get errors when I try and format the whole metric line with it. |
Modified the commit based on @dswarbrick review comments. Also corrected the metric name -
|
Shebang is still incorrect (see @SuperQ's earlier comment):
|
And please use |
multipathd_info is a script that exposes device mapper multipathing metrics from multipathd daemon. Signed-off-by: Saket Sinha <[email protected]>
LGTM |
multipathd_info is a script that exposes device mapper multipathing metrics from multipathd daemon. Signed-off-by: Saket Sinha <[email protected]>
multipathd_info is a script that exposes device mapper multipathing metrics from multipathd daemon. Signed-off-by: Saket Sinha <[email protected]>
multipathd_info is a script that exposes device mapper multipathing
metrics from multipathd daemon.
Signed-off-by: Saket Sinha [email protected]