Re: [mrtg] Forks Option Information

This is a discussion on Re: [mrtg] Forks Option Information within the MRTG forums, part of the Networking and Network Related category; --===============2061871897== Content-Type: multipart/alternative; boundary="----=_Part_7516_15335708.1208544551472" ------=_Part_7516_15335708.1208544551472 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > MRTG

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008
Brad Lodgen
 
Posts: n/a
Default Re: [mrtg] Forks Option Information

--===============2061871897==
Content-Type: multipart/alternative;
boundary="----=_Part_7516_15335708.1208544551472"

------=_Part_7516_15335708.1208544551472
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks Tobi!

Can you explain this bit of text that's in the debug log?

2008-04-18 13:12:25 -- --fork: start undef for community@target
2008-04-18 13:12:25 -- --fork: end undef for community@target

Obviously, I replaced the actual community string and target.

Thanks for your help!

Brad

On Thu, Apr 17, 2008 at 11:33 AM, Tobias Oetiker <tobi@oetiker.ch> wrote:

> Hi Brad,
>
> Today Brad Lodgen wrote:
>
> > Hi everyone,
> >
> > I'm looking to find some information on the forking option and exactly

> how
> > it works. What I've been able to find is Tobi's information in

> changelogs
> > suggesting a fork for every router if you have a large config.
> >
> > -Can anyone explain exactly how the forking option effects MRTG from

> start
> > to finish, especially when running MRTG in daemon mode with hundreds of
> > included configs?

>
> the forks option causes mrtg to fork itself into multiple instances
> while gathering information from its targets (via snmp mostly).
>
> Once the data is in, it gets fed back to the master process which
> does all the post processing
>
> > -If you specify the forking option with 40, is 40 the minimum or maximum
> > forks...or does it always start 40 no matter what?

>
> mrtg will divide the snmp query tasks into 40 parts and go for it
> ... best is to run a few trial runs to find the optimal number for
> your setup ... it is not necessarily the more the merrier.
>
> > -How many targets go into each fork?

>
> see above
>
> > -Any additional information about forking would be much appreciated. I

> want
> > to fully understand forking so I can confidently leverage that power for
> > very large configs.

>
> well you have to ask ... :-)
>
> tobi
>
> >
> >
> > Thanks for any help,
> > Brad
> >

>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
> http://it.oetiker.ch tobi@oetiker.ch ++41 62 213 9902
>


------=_Part_7516_15335708.1208544551472
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks Tobi!<br><br>Can you explain this bit of text that's in the debug log?<br><br>2008-04-18 13:12:25 -- --fork: start undef for community@target<br>2008-04-18 13:12:25 -- --fork: end undef for community@target<br><br>
Obviously, I replaced the actual community string and target.<br><br>Thanks for your help!<br><br>Brad<br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 11:33 AM, Tobias Oetiker &lt;tobi@oetiker.ch&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Brad,<br>
<div class="Ih2E3d"><br>
Today Brad Lodgen wrote:<br>
<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; I'm looking to find some information on the forking option and exactly how<br>
&gt; it works. What I've been able to find is Tobi's information in changelogs<br>
&gt; suggesting a fork for every router if you have a large config.<br>
&gt;<br>
&gt; -Can anyone explain exactly how the forking option effects MRTG from start<br>
&gt; to finish, especially when running MRTG in daemon mode with hundreds of<br>
&gt; included configs?<br>
<br>
</div>the forks option causes mrtg to fork itself into multiple instances<br>
while gathering information from its targets (via snmp mostly).<br>
<br>
Once the data is in, it gets fed back to the master process which<br>
does all the post processing<br>
<div class="Ih2E3d"><br>
&gt; -If you specify the forking option with 40, is 40 the minimum or maximum<br>
&gt; forks...or does it always start 40 no matter what?<br>
<br>
</div>mrtg will divide the snmp query tasks into 40 parts and go for it<br>
.... best is to run a few trial runs to find the optimal number for<br>
your setup ... it is not necessarily the more the merrier.<br>
<div class="Ih2E3d"><br>
&gt; -How many targets go into each fork?<br>
<br>
</div>see above<br>
<div class="Ih2E3d"><br>
&gt; -Any additional information about forking would be much appreciated. I want<br>
&gt; to fully understand forking so I can confidently leverage that power for<br>
&gt; very large configs.<br>
<br>
</div>well you have to ask ... :-)<br>
<br>
tobi<br>
<div><div></div><div class="Wj3C7c"><br>
&gt;<br>
&gt;<br>
&gt; Thanks for any help,<br>
&gt; Brad<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten<br>
<a href="http://it.oetiker.ch" target="_blank">http://it.oetiker.ch</a> tobi@oetiker.ch ++41 62 213 9902<br>
</font></blockquote></div><br>

------=_Part_7516_15335708.1208544551472--


--===============2061871897==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

--===============2061871897==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:18 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0