Hello all,
as '-' is a very common character in hostnames - is there
any reason why it's mangled to '_' or could it be added as allowed
character for host and servicenames (with the patch below) ?
This would help when feeding the graphite-carbon system with other
sources.
Thanks,
greetings
Hermann
--
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: hermann.la...@iwr.uni-heidelberg.de
diff --git a/shinken/basemodule.py b/shinken/basemodule.py
--- a/shinken/basemodule.py
+++ b/shinken/basemodule.py
@@ -107,7 +107,7 @@
# the queue the module will put its result data
self.from_q = None
self.process = None
- self.illegal_char = compile(r'[^\w]')
+ self.illegal_char = compile(r'[^\w-]')
self.init_try = 0
# We want to know where we are load from? (broker, scheduler, etc)
self.loaded_into = 'unknown'
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel