Skip to content

Problem with multiple redis monitors on the same munin-node #16

@dgtlmoon

Description

@dgtlmoon

In my case, I'm running munin-node locally, and I have two redis containers (one is LRU mode and one is for handling pub/sub data and other permanent keys)

2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_total_connections_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_changes_since_last_save_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_fragmentation_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_clients_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_pubsub_channels_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_expired_keys_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_dbs_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_commands_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_evicted_keys_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_memory_6379 which already exists on that host.  Deleting new data.
2020/04/02 15:10:06 [WARNING] Service collision: plugin dredis_tss-redis-datastore on localhost.localdomain/127.0.0.1:4949 reports redis_blocked_clients_6379 which already exists on that host.  Deleting new data.

I have..

/etc/munin/plugins/dredis_tss-redis-cache -> /path/to/plugins/redis_
/etc/munin/plugins/dredis_tss-redis-datastore -> /path/to/plugins/redis_

I see in the script..

if [ "$1" = "config" ]; then
    # Expose all possibles graphes according to server's capabilities
    redis-cli $ip_socket $port_path $passwd info | awk -v port=${muninport} -F: '

    /^changes_since_last_save:|^rdb_changes_since_last_save:/ {

So it tells me that it's not suffixing/prefixing with some key for individual configs on the same host...

Expectation: should be able to run a single munin-node where that node is monitoring two redis_ daemons..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions