Greg Cooper wrote:
> Hello,
> 
> Does anyone know what happens when "collect-subtree  normal" is launched
> every 5 minutes by cron, but it takes 10 minutes to complete running?
> 
> I see entries in the ~cricket/logs/normal.* logs that seem like cricket is
> getting the data from each device and port.
> 
> I am having problems with empty graphs when I look at the statistics,
> though.  I am collecting on about 9700 ports, though.  Is that a stupid
> amount of ports to collect info on?  Is there anything I should do after
> following the RHEL/CentOS installation guide to configure cricket to handle
> that many ports?

9700 ports are a considerable amount. Cricket is rather CPU and I/O
demanding, so it depends a bit on your hardware. If you have dual CPU's
you may get an increase in performance by configuring Cricket to use
several processes.

This is done by editing the subtree-sets file (located in the
cricket-directory). This file defines the "sets" of directories you
collect from. One set equals one process. Try to add one (or more) sets,
preferably so that the number of ports in each set is about the same.
Also remember to update the $NAVinstall/etc/cron.d/cricket file and add
a cron-job for the new sets (the collect-subtrees job), and restart
cricket with "nav restart cricket". NB: This will increase the CPU and
I/O load on your server considerably.

Cricket is not the most efficient program, and for bigger installations
it is common to use a dedicated server (or more) for Cricket. At NTNU we
are going to test this as we are currently only gathering data from a
small subset of our network because of the load on the server.

There was a discussion on the cricket-users mailing list some months ago
(first post from 21. nov.) regarding this issue. It had the title "Huge
Cricket installations". It seems that the forum is down
(http://sourceforge.net/mailarchive/forum.php?forum=cricket-users) but
if it comes up you can read that thread for more thorough information.

> I read that collect-subtrees can collect from devices in parallel.  How do
> you configure that?  Would that bring down my collect-subtrees runtimes so
> it would complete in the 5minute cron window?
> 
> Thanks!
> 
> Greg (lok*)
> _______________________________________________
> nav-users mailing list
> [email protected]
> http://mailman.itea.ntnu.no/mailman/listinfo/nav-users

yours

-- 
John Magne Bredal
NTNU, ITEA - Nettgruppa
91897366 / (735)90250
_______________________________________________
nav-users mailing list
[email protected]
http://mailman.itea.ntnu.no/mailman/listinfo/nav-users

Reply via email to