/etc/ganglia/conf.d/redis.pyconf.disabled is in ganglia-monitor-python 3.6.0-6.
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 | modules {
module {
name = "redis"
language = "python"
param host { value = "127.0.0.1" }
param port { value = 6379 }
}
}
collection_group {
collect_every = 10
time_threshold = 60
metric { name = "connected_clients" }
metric { name = "connected_slaves" }
metric { name = "blocked_clients" }
metric { name = "used_memory" }
metric { name = "changes_since_last_save" }
metric { name = "bgsave_in_progress" }
metric { name = "bgrewriteaof_in_progress" }
metric { name = "total_connections_received" }
metric { name = "total_commands_processed" }
metric { name = "expired_keys" }
metric { name = "pubsub_channels" }
metric { name = "pubsub_patterns" }
metric { name = "vm_enabled" }
metric { name = "master_last_io_seconds_ago" }
}
|