Ionel GARDAIS | 2 Nov 2005 14:39
Picon

Using the scale parameter

Hi,

I'm new to cricket and I'd like to specify the squid-proxy ServerInKb 
and ServerOutKb to scale using the 1024,* PRN.
I'm using version 1.0.5 of Cricket.

I tried to add a "graph ServerInKb" and "graph ServerOutKb" to the 
Default  file under the squid-proxy tree but I didn't notice any 
multiplication.
I also tried to do this under "view Traffic" after a rewrite of the 
old-fashion "targetType view =" dictionnary entry.

view Traffic
  elements = "ServerInKb,ServerOutKb"
  scale = 1024,*

Either, I didn't notice the multiplication.

FYI, I'd like to do this in order to graph a bits/seconds instead of 
Kbits/seconds.

Running ~/cricket/collector /squid-proxy --logLevel debug does not show 
any multiplicative coefficient nor any references to the scale attribute.

Any ideas of where I should place this to get the values multiplicated ?

Thanks,
Ionel

--

-- 
(Continue reading)

Carl Gibbons | 2 Nov 2005 17:14
Picon
Favicon

error using rrdtool dump/restore

I'm trying to migrate a cricket installation.
Old installation: version 1.0.3, rrdtool_1.0.46 running on an i686
New installation: version 1.0.5, rrdtool 1.2.11 running on an x86_64

Cricket works great on the new machine! (After fixing Format.pm so  
that it can grok x86_64 and RRD 0003; thank you who posted the  
Format.pm tips on this list.)

But I also want to preserve the data from the .rrd files in the older  
machine's cricket-data directory.

"rrdtool dump atm3_0.rrd > atm3_0.xml" works on the old machine, but  
when I try "rrdtool restore atm3_0.xml atm3_0.rrd" on the new  
machine, I get this error:

*** glibc detected *** double free or corruption (out):  
0x0000000000501250 ***
Aborted

What to do?

- Carl

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Srinivas Makam | 4 Nov 2005 21:26
Picon
Favicon

Re: error using rrdtool dump/restore

I am also attempting to restore the old rrd files from x386 machine to x86_64 machine.
I get the same error when running the rrd_merger tool which is actually calling the 'rrdtool restore'.
Any clues?
 
thanks
Srinivas

Carl Gibbons <cgibbons <at> du.edu> wrote:
I'm trying to migrate a cricket installation.
Old installation: version 1.0.3, rrdtool_1.0.46 running on an i686
New installation: version 1.0.5, rrdtool 1.2.11 running on an x86_64

Cricket works great on the new machine! (After fixing Format.pm so
that it can grok x86_64 and RRD 0003; thank you who posted the
Format.pm tips on this list.)

But I also want to preserve the data from the .rrd files in the older
machine's cricket-data directory.

"rrdtool dump atm3_0.rrd > atm3_0.xml" works on the old machine, but
when I try "rrdtool restore atm3_0.xml atm3_0.rrd" on the new
machine, I get this error:

*** glibc detected *** double free or corruption (out):
0x0000000000501250 ***
Aborted

What to do?

- Carl


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
cricket-users mailing list
cricket-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cricket-users

Yahoo! FareChase - Search multiple travel sites in one click.
Picon
Favicon

Multithreading in cricket

Hi all,

        I have many elements configured under cricket. At present it is 
taking from 3 to 4 minutes to complete the RRD collection process. i.e. the 
collector takes 3 to 4 minutes to do rrd update for all configured network 
elements.

       Now i want to use cricket for monitoring more number of network 
elements. I am running cricket every 5 minutes as a cron job. I am doubtful 
it could exceed the time limit of 5 minutes if i add more and more number of 
network elements to be monitord using cricket. I want all the collection 
process to be completed within 4 minutes.

       Is there any remedy for this?

       1.) i heard of something called as Multi threaded collection process. 
I dont have much idea on it. I am not sure whether that is an exeisting 
feature of cricket or an add-on kind of thing. Please clarify.

       2.) Please let me know, if there are other options through which i 
can reduce the time taken by the collection process !!!!

Thanks in advance

Arunprasy

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Ed Ravin | 7 Nov 2005 07:52
Picon
Favicon

Re: Multithreading in cricket

On Mon, Nov 07, 2005 at 11:33:25AM +0530, arunprasath santhanakrishnan wrote:
>       Now i want to use cricket for monitoring more number of network 
> elements. I am running cricket every 5 minutes as a cron job. I am doubtful 
> it could exceed the time limit of 5 minutes if i add more and more number 
> of network elements to be monitord using cricket. I want all the collection 
> process to be completed within 4 minutes.
> 
>       Is there any remedy for this?

Break up your Cricket cron job into multiple jobs that collect
different parts of your tree.  Use the "subtree sets" feature to
control which parts of the tree are run by each job.

Since most of the time in a Cricket run is spent waiting for SNMP
responses, they can run in parallel quite nicely.

Another strategy is to use multiple computers, and rsync/NFS/whatever
to get the RRD files to the web server for display.

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Adams, Russell L. | 7 Nov 2005 21:33

Re: Multithreading in cricket

I've written SNMP collectors before that use Parallel::ForkManager,
and its been absolutely fantastic!

Is there any reason we couldn't integrate something like that in?

Ie: One fork per host to collect from (prevent RRDTool database
collisions), up to a maximum number of child processes.

Russell

On Mon, Nov 07, 2005 at 01:52:54AM -0500, Ed Ravin wrote:
> On Mon, Nov 07, 2005 at 11:33:25AM +0530, arunprasath santhanakrishnan wrote:
> >       Now i want to use cricket for monitoring more number of network 
> > elements. I am running cricket every 5 minutes as a cron job. I am doubtful 
> > it could exceed the time limit of 5 minutes if i add more and more number 
> > of network elements to be monitord using cricket. I want all the collection 
> > process to be completed within 4 minutes.
> > 
> >       Is there any remedy for this?
> 
> Break up your Cricket cron job into multiple jobs that collect
> different parts of your tree.  Use the "subtree sets" feature to
> control which parts of the tree are run by each job.
> 
> Since most of the time in a Cricket run is spent waiting for SNMP
> responses, they can run in parallel quite nicely.
> 
> Another strategy is to use multiple computers, and rsync/NFS/whatever
> to get the RRD files to the web server for display.
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> cricket-users mailing list
> cricket-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cricket-users

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Bonnie Tussey | 8 Nov 2005 11:16

Re: Stanleys time to think about it

 
V C A V X P A I m I a r L A b A n o I L i G a z U I e R x a M S n A  
c
$85,45 $99,95  
$69,95  
 
Eric Leblond | 10 Nov 2005 15:08
Picon

Cricket port to AMD64

Hi,

The following patch adds support for AMD64 architecture to cricket.

It has been tested with :
	cricket 1.0.5
	rrdtool 1.2.11

BR,

--- cricket-1.0.5/lib/RRD/Format.pm     2004-01-21 03:11:09.000000000 +0100
+++ cricket-1.0.5.new/lib/RRD/Format.pm 2005-11-10 15:00:20.000000000 +0100
 <at>  <at>  -150,7 +150,7  <at>  <at> 
         $self->{'liveHead'} = "L";
         $self->{'rraPtr'} = "L";
         $self->{'element'} = "d";
-    } elsif ( $archname eq 'alpha-linux' ) {
+    } elsif ( $archname eq 'alpha-linux' or $archname eq 'x86_64-linux' ) {
         $self->{'statHead'} = "a4 a5 x7 d Q Q Q x80";
         $self->{'dsDef'} = "a20 a20 Q d d x56";
         $self->{'rraDef'} = "a20 x4 Q Q d x72";

Youssef Ghorbal | 15 Nov 2005 11:09
Picon

Cricket and 802.1q VLAN sub-interfaces

Hello,

    I want to monitor 802.1q vlan based sub-interface on a 2600 cisco 
router.
    In the targets file I have something like :

    target FastEthernet0
       targetType = sub-interface
       interface-name = "FastEthernet0/0.2-802.1Q vLAN subif"
       short-desc  = "LAN Interface"

    In the Defaults file I have somthing like :

    targetType sub-interface
       ds = "ifInOctets, ifOutOctets"
       view    = "Octets"

But When I run collect-subtrees I have an error message corresponding to 
this interface :

    Received SNMP response with error code noSuchName. OID: 
1.3.6.1.2.1.2.2.1.14.8

I checked (with snmpwalk) the interface's name, It's correct.
I run an snmpget on this special OID an I get this message : "Failed 
object: interfaces.ifTable.ifEntry.ifInErrors.8"

The problem is that cricket is trying to get IfInErrors information on a 
VLANed interface that does not support it and when it's even not 
specified in the targetType's ds definition.

How should I "tell" cricket not to look for Errors for this interface 
(or kind of interfaces)

Cricket version 1.0.4 Running on a FreeBSD 4.10

Regards,

Youssef

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
Isadore Garibay | 15 Nov 2005 23:56

Anthony Hi, great news

Hi,
Quit over ying for yo cations - v harmaEx hop
pa ur Meddi isit our P press S
 
P L A V V X C r e m I A a I o v b A L n A z i i G I a L a t e R U x I c ra n A M  
S
 
 
 
 3.33  1.21  
 3.75

Gmane