Re: cricket path - problems

"Marc Powell" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>

> -----Original Message-----
> From: [email protected]
[mailto:cricket-users-
> [email protected]] On Behalf Of Florian Haake
> Sent: Sunday, December 17, 2006 7:08 AM
> To: [email protected]
> Subject: [cricket-users] cricket path - problems
> 
> Hi everyone,
> 
> I have installed cricket 1.0.5 via apt-get on a debian 3.1 system with
> standart paths.
> 
> But I have one problem:
> I wanto to configure the system to use the example http-performance
files:
> 
> when I run the collector I got the following messages:
> 
> rzcrick:/etc/cricket/config# /usr/share/cricket/collector
> [17-Dec-2006 12:27:51 ] Log level changed from warn to info.
> [17-Dec-2006 12:27:51 ] Starting collector: Cricket version 1.0.5
(2004-
> 03-28)
> [17-Dec-2006 12:27:51 ] Retrieving data (EXEC:
> /etc/cricket/config/../cricket/util/test-url 'http://www.cnn.com') for
> www.cnn.com
> sh: line 1: /etc/cricket/config/../cricket/util/test-url: No such file
or
> directory
> [17-Dec-2006 12:27:51 ] Retrieved data for www.cnn.com (): U,U
> [17-Dec-2006 12:27:51 ] Some data is missing for www.cnn.com ().
> [17-Dec-2006 12:27:51 ] Processed 1 targets in 0 seconds.
> 
> 
> where must I chance the directory so it works? i searched for a wrong
path
> but I didn`t find anything.

It'll be specified in a Defaults file under your config tree. It's
probably different than mine but here's an example. Notice that
ds-source references %util-dir%/test-url. %util-dir% comes from the
--default-- target. --

target --default--
        short-desc      =       ""
    long-desc   =   "%short-desc% is being monitored via this URL:
                     <a href=%url%>%url%</a>."
        directory-desc          = "How quickly these web pages respond"
        util-dir        =       %auto-base%/../cricket/util
        target-type     =       http-performance
        url                     =       ""
        # Proxy to use, this is optional, and can be set per-target in
'urls'.
        proxy                   =       ""

datasource      total-time
        ds-source       =       "exec:0:%util-dir%/test-url %url%
%proxy%"
        desc            =       "The amount of time it took to fetch the
entire page.
                                        For large transfers, this will
give an indication
                                        of data throughput."
        rrd-ds-type             =       GAUGE

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.