Tom Haddon | 1 May 2008 10:15

Stack areas and line on the same graph

Hi Folks,

I'm wondering if it's possible to have a number of "stacked" areas on a
graph (in my case, 6), as well as a line. The line should be the
absolute value for that metric.

I have been unable to get a config that works for this. I seem to be
able to get the stacked areas to show easy enough, but either the line
doesn't show at all or I get two lines for two metrics instead of just
one, as I'm hoping for. Here's the relevant snippet of my config:

targetType ch
    ds =
ch_one,ch_two_to_five,ch_six_to_fifteen,ch_sixteen_to_sixty,ch_over_sixty,ch_imports
    view = "CH Usage"
view "CH Usage"
    elements =
ch_one,ch_two_to_five,ch_six_to_fifteen,ch_sixteen_to_sixty,ch_over_sixty,ch_imports
    paint-nan = true
dataSource ch_one
    ds-source = field:%metrics%:%dbname%_ch_import_one
    rrd-ds-type = GAUGE
graph ch_one
    bytes = false
    si-units = false
    legend = "1"
    y-axis = "projects"
    draw-as = STACK
dataSource ch_two_to_five
    ds-source = field:%metrics%:%dbname%_ch_import_two_to_five
(Continue reading)

Nizar Melaih | 6 May 2008 12:31
Picon

stop graphing in Cricket

Dear all i configured new server for cricket on freeBSD  and it is working fine up to 1 month but after that it is
stop collecting any thing when i do manual collecting it collect but after that it is stop when i check the
/usr/local/cricket/cricket-logs/normal.0 i will put the sample result :

[06-May-2008 13:18:49 ] Retrieved data for users (): 0
[06-May-2008 13:18:49 ] Retrieved data for processes (): 71
[06-May-2008 13:18:49 ] Retrieved data for memory (): 1094900,1953564

and when i check the apache log file it give me the following result   ( tail -f /var/log/httpd-error.log ):
==================================================================================
[Tue May 06 12:47:43 2008] [error] [client 84.235.114.10] [06-May-2008 12:47:43*] Found unknown tag
'router' during expansion of 'igwcommunity <at> %rou...'., referer: http://cricket-server/cricket/grapher.cgi?target=%2FGATEWAY%2FBackbone
[Tue May 06 12:47:43 2008] [error] [client 84.235.114.10] [06-May-2008 12:47:43*] Found unknown tag
'router' during expansion of '%router%'., referer: http://cricket-server/cricket/grapher.cgi?target=%2FGATEWAY%2FBackbone
===================================================================================
my cricket version is cricket-1.0.5  and when i go in one directory for example to see the default file 

This is the first 6 line in the Default in Gateway directory 
 ============================================================================
Target  --default--
    inst        =   map(interface-name)
    snmp-community    =   igwcommunity
    snmp-host   =   %router%
    snmp-version=   2
    target-type =   standard-interface

================================================================================
now every graph give me nan can any one please help in this i am new in cricket .

Best Regards 
(Continue reading)

Nizar Melaih | 7 May 2008 08:58
Picon

Re: stop graphing in Cricket

Hi Todd,

i try that one but it not solve my problem the time is stop see the 
following example :
Last updated at Wed May 7 09:25:15 2008  this time is shown by cricket
 ( now the time is Wed May 7 09:55 2008 )  this is my computer time
the cricket untill now can't draw any graph

can you help Please

Regards

Nizar
----- Original Message ----- 
From: "Todd Hausser" <thausser <at> wrex.com>
To: "Nizar Melaih" <nmelaih <at> saudi.net.sa>
Cc: "cricket list" <cricket-users <at> lists.sourceforge.net>
Sent: Wednesday, May 07, 2008 1:39 AM
Subject: Re: [cricket-users] stop graphing in Cricket

> Nizar,
>
> I'm not any cricket guru, but this has burned me before.  Has the 
> collector stopped?
>
> "Subtree ALL is currently being processed. If this is a mistake,
> use "rm /tmp/cricket-subtree-ALL" to unlock it."
>
> Just a thought.
>
(Continue reading)

Nizar Melaih | 7 May 2008 09:16
Picon

Re: stop graphing in Cricket

Hi Todd ,
Sorry you are right by delete this file the whole cricket start collecting 
again and drawing the graphs Many Many thanks to you Todd ,
but do you know about the delay in collecting time as i know cricket collect 
data every 5 minute  but the cricket collect the data some time after 15 
minute and some time after 30 minute any idea Please

Best Regards

Nizar
----- Original Message ----- 
From: "Todd Hausser" <thausser <at> wrex.com>
To: "Nizar Melaih" <nmelaih <at> saudi.net.sa>
Cc: "cricket list" <cricket-users <at> lists.sourceforge.net>
Sent: Wednesday, May 07, 2008 1:39 AM
Subject: Re: [cricket-users] stop graphing in Cricket

> Nizar,
>
> I'm not any cricket guru, but this has burned me before.  Has the 
> collector stopped?
>
> "Subtree ALL is currently being processed. If this is a mistake,
> use "rm /tmp/cricket-subtree-ALL" to unlock it."
>
> Just a thought.
>
> Todd
>
>
(Continue reading)

gipmanr | 8 May 2008 20:11

long target names

People, 

I’ts been a long time that I installed cricket and now I made is working on a
sme server version 7.2. There were some hiccups in folders and permissions on
the Centos sms platform.

It is running fine now with one exception… 

[08-May-2008 12:15:48 ] Retrieved data for
tap-win32_adapter_v8_-_packet_scheduler_miniport (5):
1501030963,2250082660,0,0,17970458,17799163

[08-May-2008 12:15:48*] Cannot update
/home/e-smith/files/ibays/cricket/cricket-config/../cricket-data//192.168.1.1
/tap-win32_adapter_v8_-_packet_scheduler_miniport.rrd:
'/home/e-smith/files/ibays/cricket/cricket-config/../cricket-data//192.168.1.
1/tap-win32_adapter_v8_-_packet_scheduler_miniport' is not an RRD file

The file is there in folder cricket-data/192.168.1.1 but it is not writing to
the file.

Anyone any idea?

The machine monitored is a winxp sp2 box hence the long interface names

Thanks

Rob
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
(Continue reading)

nmelaih | 12 May 2008 13:21
Picon

change the graph in cricket for 3 month only


Hi ,

Dear All can any one know how to let the cricket draw the
graph for three month insted of one month  for one target please 

many thanks to all of you any help will be apprechiated so much

Best Regards 

Nizar
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
cricket-users mailing list
cricket-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cricket-users
Alban Dani | 22 May 2008 15:45
Picon

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/
Picon

Re: collector 5 min

you have to check the collector logs, it might be taking to much because
some devices are not responding.

Regards

Octavio

-----Mensaje original-----
De: cricket-users-bounces <at> lists.sourceforge.net
[mailto:cricket-users-bounces <at> lists.sourceforge.net]En nombre de Alban
Dani
Enviado el: Jueves, 22 de Mayo de 2008 08:45 a.m.
Para: cricket-users <at> lists.sourceforge.net
Asunto: [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
cricket-users <at> lists.sourceforge.net
(Continue reading)

Oliver Landsmann | 22 May 2008 16:21
Picon

Re: collector 5 min

Hi,

This, depends on
a) total number of targets
b) number of targets that are not responding

In case you have two many targets (a) you could start using subtree 
sets. The collector reads a file "subtree-sets" in the cricket config 
directory. It is explained on 
http://cricket.sourceforge.net/support/doc/beginner.html

Google for subtree-sets there is some information on huge installations 
out there.

In case of a), either try to fix that or offload the polling from 
cricket. Like use scripts to poll the data into files and let cricket 
just read these files. Of course the content of the file will not change 
if the script can't update it. So you will get some wrong data in that 
case. But sometimes better then the whole tree not finishing.

Br,
  Oliver

Alban Dani wrote:
> 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,
(Continue reading)

Richman, Marc | 22 May 2008 16:22

Re: collector 5 min

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 &&
(Continue reading)


Gmane