<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:m = "http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17080" name=GENERATOR>
<STYLE id=owaParaStyle>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:36.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1484738979;
        mso-list-type:hybrid;
        mso-list-template-ids:1569086010 336134159 336134169 336134171 336134159 336134169 336134171 336134159 336134169 336134171;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-NZ style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma" vLink=purple link=blue>
<DIV>This is a Linux box... I know 350+ smtp transactions isn't that much traffic but, I'm polling for traffic and errors and I'm using the box for alerting circuits up/dn and plan on processing traps on it so, I wanted to be as efficient as possible to it.</DIV>
<DIV> </DIV>
<DIV>That being said, it sounds like the headaches involved in running it in Daemon mode are greater than the performance gain. Opinions?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><BR>>>> Steve Shipway <s.shipway@auckland.ac.nz> 9/27/2010 3:54 PM >>><BR></DIV>
<DIV class=WordSection1>
<P class=MsoListParagraph style="TEXT-INDENT: -18pt; MARGIN-RIGHT: 3pt; mso-list: l0 level1 lfo1"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Yes and no. You need to use <B>Include:</B> to link them all into a master.cfg and then run MRTG with this, which means they must share all the same global declarations. I’m working on a patch for MRTG to allow wildcards in the Include: directive but at the moment each file needs to be declared individually. The recommended ‘best practice’ is to have one cfg file per device, then optionally link them all together with a ‘master.cfg’ file that uses Include: statements. You can also have a ‘global.cfg’ file that is included by the various device cfg files, which can contain the various global declarations like LogFormat, Interval, WorkDir, and so on. This forum post talks about it: http://www.steveshipway.org/forum/viewtopic.php?f=2&t=4093<o:p></o:p></SPAN></P>
<P class=MsoListParagraph style="TEXT-INDENT: -18pt; MARGIN-RIGHT: 3pt; mso-list: l0 level1 lfo1"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">If you are running as a daemon, then you can use ‘Forks:’ (if you are running under linux/unix) to control the number of threads used, and tune this to make sure the checks are spread out over the 5min interval. Here, we have home-grown code that makes certain of an even spread in scheduling. The hit on the network is not really significant; it’s the hit on the MRTG system CPU and memory that is more a problem. You can use RRDTool 1.4.x with rrdcached (in unix socket mode) to improve disk speed, but you need to use the development snapshot of MRTG for this to work.<o:p></o:p></SPAN></P>
<P class=MsoListParagraph style="TEXT-INDENT: -18pt; MARGIN-RIGHT: 3pt; mso-list: l0 level1 lfo1"><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><SPAN style="mso-list: Ignore">3.<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">If you have ‘Logformat: rrdtool’ in the MRTG cfg file, then it will attempt to use RRDtool. You may also need ‘Libadd:’ to specify the location of the RRDTool Perl libraries if you have not installed them into the site-perl path. Note that, if in RRDTool mode, you will need to have a frontend installed (eg, routers2 or 14all) as MRTG will no longer generate the graph images every cycle.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Steve<o:p></o:p></SPAN></P>
<DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Steve Shipway<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">ITS Unix Services Design Lead<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">University of Auckland, New Zealand<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Floor 1, 58 Symonds Street, Auckland<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><I><SPAN style="FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: 'Calibri','sans-serif'">Phone: +64 (0)9 3737599 ext 86487<o:p></o:p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><I><SPAN style="FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: 'Calibri','sans-serif'">DDI: +64 (0)9 924 6487<o:p></o:p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><I><SPAN style="FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: 'Calibri','sans-serif'">Mobile: +64 (0)21 753 189<o:p></o:p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><I><SPAN style="FONT-SIZE: 10pt; COLOR: #595959; FONT-FAMILY: 'Calibri','sans-serif'">Email: <A href="mailto:s.shipway@auckland.ac.nz"><SPAN style="COLOR: #595959">s.shipway@auckland.ac.nz</SPAN></A><o:p></o:p></SPAN></I></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="FONT-SIZE: 18pt; COLOR: green; FONT-FAMILY: Webdings">P</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Arial Narrow','sans-serif'">Please consider the environment before printing this e-mail</SPAN><SPAN lang=EN-GB style="FONT-SIZE: 11pt; COLOR: blue; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN><SPAN lang=EN-GB style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><I><SPAN style="FONT-SIZE: 10pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></I></P></DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Arvon Griffiths [mailto:Arvon.Griffiths@txdot.gov] <BR><B>Sent:</B> Tuesday, 28 September 2010 8:07 a.m.<BR><B>To:</B> Steve Shipway; Denis Morin; mrtg@lists.oetiker.ch<BR><B>Subject:</B> New MRTG install... Run as Daemon and RRD setup?<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">I've got a test box up and I have installed the latest version of MRTG. I have some questions-<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">RUN AS DAEMON:<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">Q1: If I use run as daemon, can I still have multiple CFG files (one for each router) or do I have to combine them all into one large (read: messy) CFG file? If the answer is "you can have multiple CFG files", what is the big-picture as to how to set it up?<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">Q2: I have 350+ routers to check, if I run as daemon, how can I spread out the checks over a 5 minute period so the network isn't slammed at on minute 0,5,10,15, & etc.?<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">RRD:<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">Q3: I'm either too dense to understand the instructions or they are not clear, how do you setup MRTG to use RRD tool?<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Tahoma','sans-serif'">thnx<o:p></o:p></SPAN></P></DIV></DIV><PRE>===================<o:p></o:p></PRE><PRE>Who's Driving Tonight?<o:p></o:p></PRE><PRE>If you've been drinking, it's not you. <o:p></o:p></PRE><PRE>For more information, please visit<o:p></o:p></PRE><PRE>www.txdot.gov/safety/tips/intoxication.htm<o:p></o:p></PRE></DIV></DIV><PRE>===================
Who's Driving Tonight?
If you've been drinking, it's not you.
For more information, please visit
www.txdot.gov/safety/tips/intoxication.htm
</PRE></BODY></HTML>