Skip to content

Commit

Permalink
Merge pull request #19 from zenoss/feature/ZEN-14174
Browse files Browse the repository at this point in the history
replace ':' with '_' in queues so that point.component can find match in queues
  • Loading branch information
kevinjcash committed Sep 22, 2015
2 parents cfe7158 + ef4e012 commit 632bc0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ZenPacks/zenoss/RabbitMQ/parsers/RabbitMQCTL.py
Expand Up @@ -17,6 +17,7 @@
import re
import tempfile
import time
import string

from Products.ZenRRD.CommandParser import CommandParser

Expand Down Expand Up @@ -212,7 +213,8 @@ def processListQueuesResults(self, cmd, result):
if len(fields) != 6:
continue

queues[fields[0]] = dict(
translation_table = string.maketrans(':', '_')
queues[fields[0].translate(translation_table)] = dict(
ready=int(fields[1]),
unacknowledged=int(fields[2]),
messages=int(fields[3]),
Expand Down

0 comments on commit 632bc0f

Please sign in to comment.