On 11/6/07, <b class="gmail_sendername">Ward, Martin</b> <<a href="mailto:Martin.Ward@colt.net">Martin.Ward@colt.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div>


<p><font face="Arial" size="2">Hi all,</font>
</p>

<p><font face="Arial" size="2">I am a newbie to Hobbit and have inherited a working system. I have a good idea of how it all hangs together but now I want to produce certain graphs and cannot figure out how.</font></p>

<p><font face="Arial" size="2">I have a cluster of mail servers that run Postfix; each of these clients is monitored within Hobbit. In the Trends link for each client I have graphs showing the various mail queues (incoming, deferred etc) and this data is stored in RRD files on the Hobbit server.
</font></p>

<p><font face="Arial" size="2">Is there a way within Hobbit of creating a false or meta- client that can have a graph with data from all of these RRD files? Particularly I would like a graph that has all the incoming mail queue sizes on it with one line per server. I already have this information in lots of different RRD files but would like to have them all in one graph. I can create a graph outside of Hobbit to do this, but within the monitoring system it restricts the RRD files it will display data from to those in the data directory of the selected client (in the Trends link).
</font></p></div></blockquote><div><br>Hmm.  You could probably create a host and set up a noconn test to some random IP like <a href="http://10.0.0.1">10.0.0.1</a> (i.e.  in bb-hosts:   <a href="http://10.0.0.1">10.0.0.1
</a>  fake-host  # noconn).  Regardless of what host (or fake host, if you do that), you will need to create a new RRD trend to that host.<br><br>You can create an RRD graph (by modifying hobbit-graph.cfg) that gets its data from multiple RRD files.  These files are usually created in a directory for each host, and I don't know if you can just create a symlink to those or not.  But assuming that works, you should be all set in creating a single graph that plots all the other data using a single scale.
<br><br>I think you would want to add the following to hobbitserver.cfg:<br>GRAPHS="<whatever is already there>,custom-postfix"<br><br>And then hobbit-graph.cfg would look something like this:<br>[custom-postfix]
<br>  . . .<br>  DEF:hosta:HostA.rrd:AVERAGE<br>  DEF:hostb:HostB.rrd:AVERAGE<br>  . . .<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><p><font face="Arial" size="2">I have tried creating a new client in the data files ans symbolically linking the other RRD files into its data directory, but cannot persude the graphs to appear in the trends web page.
</font></p>

<p><font face="Arial" size="2">Thanks for your time,</font>
</p>

<p><font face="Arial" size="2">|\/|artin</font>

<font face="Arial" size="2"><br></font></p></div></blockquote></div><br>