Hi,<div><br></div><div>Just about the hostname configuration in the collectd.conf:</div><div><br></div><div>you can put whatever you want. in fact, plugins will use by default the hostname furnished by the configuration file, so some could still try to use the real hostname.</div>
<div><br></div><div>Regards,<br><br><div class="gmail_quote">On Fri, Jun 17, 2011 at 9:33 AM, Christian Dervaric <span dir="ltr">&lt;<a href="mailto:christian.dervaric@googlemail.com">christian.dervaric@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I am already using collectd and really like it. But I have a small issue.<br>
<br>
I am running several servers on amazon combined with auto scaling etc so the instances partly have very short live times. These servers can be grouped logically e.g. by environment (staging, production) or by type (tomcat, apache, postgresql) etc.<br>

<br>
I already have a self-created graphical interface to combine/aggregate different rrds according to hostnames into graphs. What I would like to be able is to group these rrds after the logical groups. The most simple idea I could come up would be to have the hostname containing the information so I can use regular expression in the view to group the rrds after this.<br>

<br>
Example:<br>
live-tomcat-domU-12-39-...<br>
live-tomcat-domU-43-24-...<br>
staging-tomcat-domU-98-39-...<br>
<br>
This way I could group in the view e.g. after:<br>
live-tomcat*<br>
*tomcat*<br>
staging*<br>
<br>
But I guess this is not possible? Or can I just set anything as hostname in the collectd.conf? From the documentation it reads like this has to match the originial hostname of the machine?<br>
<br>
Though having something like tags would be even nicer.<br>
<br>
I cannot really do some lookup what kind of machine it is later on in the view, as the machines might already be down again.<br>
<br>
Have you any recommendations or ideas? Did you do something similar and if yes how did you solve this problem? I would be very grateful for any help. :)<br>
<br>
Regards,<br>
Christian<br>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>François-Xavier Bourlet<br>
</div>