<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>We did a simpler method of just creating
additional hosts for the different apaches (by port number) like so (in
bb-hosts).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>0.0.0.0         hostname-80     # noconn
http://xxx.xxx.xxx.xxx:80/ apache TRENDS:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>*,apache:apache|apache1|apache2|apache3<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>0.0.0.0         hostname-8080     # noconn
http://xxx.xxx.xxx.xxx:8080/ apache TRENDS:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>*,apache:apache|apache1|apache2|apache3<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Where xxx = ip address<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Tom<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
steve.e.mcconnell@gsk.com [mailto:steve.e.mcconnell@gsk.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, January 29, 2008
2:27 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">hobbit@hswn.dk</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [hobbit] multiple apache
instance trending question</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>I have a new hobbit installation which is collecting and trending the
apache status data correctly.</span></font> <br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>For
various reasons, I have about 7 separate apache instances on each server that I
would like to trend individually as well. </span></font><br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>To
accomplish this, I think that I would have to do the following in order to get
hobbit (4.2.0)  to trend this data:</span></font> <br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>edit
~/bbnet/bbtest-net.c and copy the apache section (lines 601-637) the requisite
number of times changing the subsequent apache references to something like
2apache, then 3apache, etc. </span></font><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Modify
the  ~/hobbitd/rrd/do_apache.c file basically copying the entire thing
starting at line 13 (int do_apache_rrd(char *hostname, char *testname, char
*msg, time_t tstamp) but changing each instance of apache to 2apache, then
3apache, etc. Then recompile and redeploy. </span></font><br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>After
redeploying, I would also need to modify hobbitgraph.cfg copying the apache
section and modifying with 2apache, 3apache, etc for the name of the graph as
well as the rrd files.</span></font> <br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>At
this point, I think I should point out that I don't program in C (many would
say in any other language either.)</span></font> <br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Is
there anything else that I am missing? and am I making this too hard? </span></font><br>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>steve</span></font>
<br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><br>
<br>
steve mcconnell<br>
gsk<br>
unix application hosting support<br>
919-282-3052</span></font><o:p></o:p></p>

</div>

</body>

</html>