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 <tobi@oetiker.ch> 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>
> Hi everyone,<br>
><br>
> I'm looking to find some information on the forking option and exactly how<br>
> it works. What I've been able to find is Tobi's information in changelogs<br>
> suggesting a fork for every router if you have a large config.<br>
><br>
> -Can anyone explain exactly how the forking option effects MRTG from start<br>
> to finish, especially when running MRTG in daemon mode with hundreds of<br>
> 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>
> -If you specify the forking option with 40, is 40 the minimum or maximum<br>
> 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>
> -How many targets go into each fork?<br>
<br>
</div>see above<br>
<div class="Ih2E3d"><br>
> -Any additional information about forking would be much appreciated. I want<br>
> to fully understand forking so I can confidently leverage that power for<br>
> very large configs.<br>
<br>
</div>well you have to ask ... :-)<br>
<br>
tobi<br>
<div><div></div><div class="Wj3C7c"><br>
><br>
><br>
> Thanks for any help,<br>
> Brad<br>
><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>