Re: collector 5 min
Novoa Linares Octavio Humberto <[email protected]> Thu, 22 May 2008 09:53:28 -0500
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <624C313BCB851A4898246355DA8642CE04D447C3@oplim01exc03.americatelperu.red> |
hope this helps...This is my subtree-sets file, and also the crontab for the
cricket user
>>>>>>>>>>>>>
**subtree-sets**
set bandwll:
/bandwidth/WLL
set bandmplscust:
/bandwidth/MPLS_Cust
set bandras:
/bandwidth/AccesoRemoto
set bandintranet:
/bandwidth/Intranet
set bandcore:
/bandwidth/Core
set bandcorevip:
/bandwidth/Core-VIP
set bandcustomersvip:
/bandwidth/Customers/00vip
set bandcustomers1:
/bandwidth/Customers/A
/bandwidth/Customers/B
/bandwidth/Customers/C
/bandwidth/Customers/D
/bandwidth/Customers/E
set bandcustomers2:
/bandwidth/Customers/F
/bandwidth/Customers/G
/bandwidth/Customers/H
/bandwidth/Customers/I
/bandwidth/Customers/J
set bandcustomers3:
/bandwidth/Customers/K
/bandwidth/Customers/L
/bandwidth/Customers/M
/bandwidth/Customers/N
/bandwidth/Customers/O
set bandcustomers4:
/bandwidth/Customers/P
/bandwidth/Customers/Q
/bandwidth/Customers/R
/bandwidth/Customers/S
/bandwidth/Customers/T
set bandcustomers5:
/bandwidth/Customers/U
/bandwidth/Customers/V
/bandwidth/Customers/W
/bandwidth/Customers/X
/bandwidth/Customers/Y
/bandwidth/Customers/Z
set routing:
/routing
set rttcore:
/net-rtt/Core
set rttinternet:
/net-rtt/Internet
set rttcustomers:
/net-rtt/Customers
set rttdist:
/net-rtt/Distribution
set perfcore:
/performance/Core
set perfdist:
/performance/Distribution
set perfcustomers:
/performance/Customers
**crontab**
0-59/2 * * * * ~/cricket/collect-subtrees bandcore
0-59/1 * * * * ~/cricket/collect-subtrees bandcorevip
0-59/5 * * * * ~/cricket/collect-subtrees bandras > /dev/null 2>&1
0-59/5 * * * * ~/cricket/collect-subtrees bandintranet
3-59/10 * * * * ~/cricket/collect-subtrees bandcustomersvip > /dev/null 2>&1
3-59/10 * * * * ~/cricket/collect-subtrees bandcustomers1 > /dev/null 2>&1
3-59/10 * * * * ~/cricket/collect-subtrees bandcustomers2 > /dev/null 2>&1
3-59/10 * * * * ~/cricket/collect-subtrees bandcustomers3 > /dev/null 2>&1
4-59/10 * * * * ~/cricket/collect-subtrees bandcustomers4 > /dev/null 2>&1
4-59/10 * * * * ~/cricket/collect-subtrees bandcustomers5 > /dev/null 2>&1
>>>>>>>>>>
we are running over a thousand devices in some of the customers subtrees....
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]]En nombre de Alban
Dani
Enviado el: Jueves, 22 de Mayo de 2008 09:42 a.m.
Para: Richman, Marc
CC: [email protected]
Asunto: 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/
_______________________________________________
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/