Re: collector 5 min

"Richman, Marc" <[email protected]> Thu, 22 May 2008 12:53:26 -0400
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
That would do the trick since your config tree is flat, but I would
investigate why it is taking 7 minutes to poll so few devices

 

________________________________

From: Alban Dani [mailto:[email protected]] 
Sent: Thursday, May 22, 2008 10:42 AM
To: Richman, Marc
Cc: [email protected]
Subject: Re: [cricket-users] collector 5 min

 

Thank you all.

I have only one subtree ie my subtree-sets file looks like this:

set normal:
        /router-interfaces
/home/cricket/cricket/subtree-sets (END) 

I have 28 routers/switches that I am monitoring.

Can I just split the job in the crontab by targets instead:
such as:
*/5 * * * * /home/cricket/cricket/collector /router-interfaces/router1
/router-interfaces/router2 .../router-interfaces/router14
*/5 * * * * /home/cricket/cricket/collector /router-interfaces/router15
/router-interfaces/router16 .../router-interfaces/router28

would that have the same effect?

thanks again,

Alban

On Thu, May 22, 2008 at 10:22 AM, Richman, Marc <[email protected]>
wrote:

If you can divide up your collection tree, use  subtrees and multiple
collectors

You configure subtrees in the file subtree-sets, here is the top of mine
for an example:

# This file lists the subtrees that will be processed together in one
# set. See the comments at the beginning of collect-subtrees for more
info.

set env:
       /ups
       /weather
       /PDU

set misc:
       /Sendmail
       /NetApp
       /DataDomain

set wan:
       /Network/Pix
       /Network/Site_VPN
       /Network/TCP_Accelerators
       /Network/Riverbed

And the cron lines for the collectors:
*/5 * * * *    cricket test -x /usr/share/cricket/collect-subtrees &&
/usr/share/cricket/collect-subtrees env
*/5 * * * *    cricket test -x /usr/share/cricket/collect-subtrees &&
/usr/share/cricket/collect-subtrees misc
*/5 * * * *    cricket test -x /usr/share/cricket/collect-subtrees &&
/usr/share/cricket/collect-subtrees wan:


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Alban
Dani
Sent: Thursday, May 22, 2008 9:45 AM
To: [email protected]
Subject: [cricket-users] collector 5 min

The collector in my cricket install is taking a little bit over 7 min to
finish all the collections.

Is there any way to speed it up os it stays below 5 min?

Thank you,

alban

------------------------------------------------------------------------

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
cricket-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cricket-users

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/