/etc/ganglia/conf.d/mod_io.conf is in ganglia-modules-linux 1.3.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | modules {
module {
name = "io_module"
path = "/usr/lib/ganglia/modio.so"
}
}
#/* IO DSO metric */
#/* Additional metrics should be added to the
# collection group to represent each storage device
# discovered on the system. See available
# discovered metrics through ./gmond -m command. */
#collection_group {
# collect_every = 10
# time_threshold = 50
# metric {
# name_match = "io_([a-z_]+)_([a-z0-9]+)"
# value_threshold = 1.0
# title = "IO \\1 \\2"
# }
#}
collection_group {
collect_every = 10
time_threshold = 30
metric {
name = "io_reads"
title = "Total reads"
}
metric {
name = "io_nread"
title = "Total read"
}
metric {
name = "io_writes"
title = "Total writes"
}
metric {
name = "io_nwrite"
title = "Total written"
}
metric {
name = "io_max_svc_time"
title = "max service time seen across disks"
}
metric {
name = "io_max_wait_time"
title = "max queue time seen across disks"
}
metric {
name = "io_busymax"
title = "max io busy time seen across disks"
}
}
|