From: Vyacheslav A. <Vyacheslav.Artyukhov@MegaFon.ru> - 2014-01-31 14:08:58
|
Good day! I try to use rabbitmq gmond module (https://github.com/ganglia/gmond_python_modules/tree/master/rabbit ) I try to run it on machine with rabbitmq directly from python, not using gmond service. But I changed a row in a main function: getQueueStat('rmq_backing_queue_ack_egress_rate.nfl_client#/') I changed queue name here: getQueueStat('rmq_backing_queue_ack_egress_rate.testenv2.mf.notifiedApplication#/') So, as you can see, my queue name contains dots and as far as I understand it leads to problems in dig_it_up function: def dig_it_up(obj,path): try: path = path.split('.') How can I use this module if I have dots in queue names? ________________________________ Информация в этом сообщении предназначена исключительно для конкретных лиц, которым она адресована. В сообщении может содержаться конфиденциальная информация, которая не может быть раскрыта или использована кем-либо, кроме адресатов. Если вы не адресат этого сообщения, то использование, переадресация, копирование или распространение содержания сообщения или его части незаконно и запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем содержимым само сообщение и любые возможные его копии и приложения. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. The contents may not be disclosed or used by anyone other than the addressee. If you are not the intended recipient(s), any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you have received this communication in error please notify us immediately by responding to this email and then delete the e-mail and all attachments and any copies thereof. (c)20mf50 |