Naveen Baldeo | 1 Dec 06:19 2005
Picon

Manual collector.

Hi,

 

I am trying to build a new cricket server. When I run the collector, I get the following errors. Can someone help.

 

 

-bash-3.00# ./collector /Router01

[01-Dec-2005 16:13:56 ] Log level changed from warn to info.

[01-Dec-2005 16:13:56 ] Starting collector: Cricket version 1.0.5 (2004-03-28)

[01-Dec-2005 16:13:56*] Found unknown tag 'dataDir' during expansion of '%dataDir%/%auto-t...'.

[01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of 'snmp://%snmp%/cpu...'.

[01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of 'snmp://%snmp%/cpu...'.

[01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of 'snmp://%snmp%/mem...'.

[01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of 'snmp://%snmp%/mem...'.

[01-Dec-2005 16:13:56*] RRA 5minAve referenced by target type cisco-2500-router does not exist.

[01-Dec-2005 16:13:56*] Found unknown tag 'dataDir' during expansion of '%dataDir%/%auto-t...'.

[01-Dec-2005 16:13:56 ] Processed 1 targets in 0 seconds.

-bash-3.00# ls

 

 

 

Thanks,

 

****DISCLAIMER****

This e-mail may contain confidential information.  If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system.  You must not disclose this e-mail to anyone without express permission from the sender.  The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus' discretion.

 

Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free.  The information (including any pricing information) contained in this e-mail is subject to change.  This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. 

 

Any pricing contained in this e-mail is exclusive of GST unless otherwise stated.

 

Andrew Cutler | 1 Dec 11:36 2005
Picon

Re: Manual collector.

Hi,

You're missing a Defaults file in the directory or any of the
directories above?

Cheers,

Andrew

On Thu, 2005-12-01 at 16:19 +1100, Naveen Baldeo wrote:
> Hi,
> 
>  
> 
> I am trying to build a new cricket server. When I run the collector, I
> get the following errors. Can someone help.
> 
>  
> 
>  
> 
> -bash-3.00# ./collector /Router01
> 
> [01-Dec-2005 16:13:56 ] Log level changed from warn to info.
> 
> [01-Dec-2005 16:13:56 ] Starting collector: Cricket version 1.0.5
> (2004-03-28)
> 
> [01-Dec-2005 16:13:56*] Found unknown tag 'dataDir' during expansion
> of '%dataDir%/%auto-t...'.
> 
> [01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of
> 'snmp://%snmp%/cpu...'.
> 
> [01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of
> 'snmp://%snmp%/cpu...'.
> 
> [01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of
> 'snmp://%snmp%/mem...'.
> 
> [01-Dec-2005 16:13:56*] Found unknown tag 'snmp' during expansion of
> 'snmp://%snmp%/mem...'.
> 
> [01-Dec-2005 16:13:56*] RRA 5minAve referenced by target type
> cisco-2500-router does not exist.
> 
> [01-Dec-2005 16:13:56*] Found unknown tag 'dataDir' during expansion
> of '%dataDir%/%auto-t...'.
> 
> [01-Dec-2005 16:13:56 ] Processed 1 targets in 0 seconds.
> 
> -bash-3.00# ls
> 
>  
> 
>  
> 
>  
> 
> Thanks,
> 
>  
> 
> ****DISCLAIMER****
> 
> This e-mail may contain confidential information.  If you are not the
> intended recipient, please notify the sender immediately and delete
> this e-mail from your system.  You must not disclose this e-mail to
> anyone without express permission from the sender.  The contents of
> all e-mails sent to and received from Optus may be scanned, stored, or
> disclosed to others at Optus' discretion.
> 
>  
> 
> Optus has exercised care to avoid errors in the information contained
> in this e-mail but does not warrant that the information is error or
> omission free.  The information (including any pricing information)
> contained in this e-mail is subject to change.  This e-mail is not a
> quotation or proposal and no contractual obligations arise until you
> and Optus sign a formal written contract or formal variation to your
> existing contract.  
> 
>  
> 
> Any pricing contained in this e-mail is exclusive of GST unless
> otherwise stated.
> 
>  
> 
> 
Better to remain silent and be thought a fool then to speak out and
remove all doubt. -- Abraham Lincoln.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Naveen Baldeo | 1 Dec 23:01 2005
Picon

Manual collector.

Hi,

 

I have fixed the other errors. Now I get this error.

 

 

-bash-3.00$ ./collector /Router01

[02-Dec-2005 08:47:46 ] Log level changed from warn to info.

[02-Dec-2005 08:47:46 ] Starting collector: Cricket version 1.0.5 (2004-03-28)

[02-Dec-2005 08:47:46 ] Creating datafile /export/home/cricket/cricket-config/../cricket-data//Router01/router01.rrd for target name router01.

ld.so.1: /usr/local/bin/perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/auto/RRDs/RRDs.so: symbol rrd_clear_error: referenced symbol not found

Killed

-bash-3.00$

 

Thanks,

 

****DISCLAIMER****

This e-mail may contain confidential information.  If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system.  You must not disclose this e-mail to anyone without express permission from the sender.  The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus' discretion.

 

Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free.  The information (including any pricing information) contained in this e-mail is subject to change.  This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. 

 

Any pricing contained in this e-mail is exclusive of GST unless otherwise stated.

 

Magnus Schmidt | 3 Dec 16:32 2005
Picon

Disable scaling of y-axis

Hi,

 is it possible to disable the scaling of the y-axis ? I have weather
data with pressure values, which range from 950 to 1050 hPa. The cricket
cgi rescales this to khPa which is wrong, as no one reads these values
this way. Setting si-units only affects the legend, scale = 1,* didn't
help either and setting y-min/max had no effect as-well.

Thanks,
Magnus

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
bobb | 3 Dec 17:49 2005
Picon
Picon

Re: Disable scaling of y-axis

Magnus Schmidt hath declared on Saturday the 03 day of December 2005  :-:
> Hi,
> 
>  is it possible to disable the scaling of the y-axis ? I have weather
> data with pressure values, which range from 950 to 1050 hPa. The cricket
> cgi rescales this to khPa which is wrong, as no one reads these values
> this way. Setting si-units only affects the legend, scale = 1,* didn't
> help either and setting y-min/max had no effect as-well.

rrdgraph has the option "--units-exponent" which effects the scaling
of the y-axis.  You could try adding an option to the target to set
this to zero (disable scaling) and get grapher.cgi to pass it to
RRDs::graph....

-- bobb

--

-- 
Mr. Rogers could explain shoe-tying and make it seem like the coolest 
thing in the world. He was our Uncle and older brother. He told us we 
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Magnus Schmidt | 4 Dec 16:14 2005
Picon

Re: Disable scaling of y-axis

Hi Bobb,

 thanks for the hint, that worked somehow. However I had to put

rrd-graph-args = "--units-exponent 0"

into the graph --default-- dictionary. Placing it into the specific
graph directory showed no effect at all. Any ideas how to solve this ?
The documentation does not mention any such limitations.

Magnus

bobb wrote:
> Magnus Schmidt hath declared on Saturday the 03 day of December 2005  :-:
> 
>>Hi,
>>
>> is it possible to disable the scaling of the y-axis ? I have weather
>>data with pressure values, which range from 950 to 1050 hPa. The cricket
>>cgi rescales this to khPa which is wrong, as no one reads these values
>>this way. Setting si-units only affects the legend, scale = 1,* didn't
>>help either and setting y-min/max had no effect as-well.
> 
> 
> rrdgraph has the option "--units-exponent" which effects the scaling
> of the y-axis.  You could try adding an option to the target to set
> this to zero (disable scaling) and get grapher.cgi to pass it to
> RRDs::graph....
> 
> -- bobb
> 

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Edmonds, Alan | 5 Dec 11:26 2005
Picon

RE: Disable scaling of y-axis

can't you just set y-max and y-min in the graph entry?

-----Original Message-----
From: cricket-users-admin <at> lists.sourceforge.net
[mailto:cricket-users-admin <at> lists.sourceforge.net]On Behalf Of bobb
Sent: 03 December 2005 16:50
To: Magnus Schmidt
Cc: cricket-users <at> lists.sourceforge.net
Subject: Re: [cricket-users] Disable scaling of y-axis

Magnus Schmidt hath declared on Saturday the 03 day of December 2005  :-:
> Hi,
> 
>  is it possible to disable the scaling of the y-axis ? I have weather
> data with pressure values, which range from 950 to 1050 hPa. The cricket
> cgi rescales this to khPa which is wrong, as no one reads these values
> this way. Setting si-units only affects the legend, scale = 1,* didn't
> help either and setting y-min/max had no effect as-well.

rrdgraph has the option "--units-exponent" which effects the scaling
of the y-axis.  You could try adding an option to the target to set
this to zero (disable scaling) and get grapher.cgi to pass it to
RRDs::graph....

-- bobb

-- 
Mr. Rogers could explain shoe-tying and make it seem like the coolest 
thing in the world. He was our Uncle and older brother. He told us we 
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
cricket-users mailing list
cricket-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cricket-users

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
Sven Hergenhahn | 5 Dec 12:44 2005
Picon

Re: Disable scaling of y-axis

Hi Magnus,

>> is it possible to disable the scaling of the y-axis ? I have weather
> >>data with pressure values, which range from 950 to 1050 hPa. The cricket
> >>cgi rescales this to khPa which is wrong, as no one reads these values
> >>this way. 

I'm doing the exact same thing.

For me the following works fine:

---snip---
view pressure
        elements="pressure"
        rrd-graph-args = '-X 0 HRULE:1016#0000FF'
---snap---

Looks like you'll have to put this into the view and not into the graph.

The HRULE will add a red line whre meteorologists make the difference
between high and low pressure.

Hope it helps,
Sven

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Florian Hinzmann | 7 Dec 09:10 2005
Picon

Feature: target tag snmp-query-max / Questions regarding cricket/lib/snmp.pm

Hello!

While integrating an UPS device into Cricket I got SNMP error "tooBig".
The SNMP query seems to fail due to too many values fetched in one 
SNMP call.

Therefore I enhanced cricket/lib/snmp.pm to optionally pull a given
number of values at most. 

Patch attached for the curious. It has just reached a "works for me"
state and it is a patch against snmp.pm from Cricket 1.0.2.  
Don't try try this at home, kids .. er .. use this at work, admins. 

Some questions regarding snmp.pm and this patch:

(1)
What do you think about this feature in general? 
I would like to discuss the design, polish the patch and 
have it integrated upstream sometime.

(2)
snmp.pm groups datasources by SNMP target in %oidsPerSnmp. But as far as 
I understand it currently, snmpFetch() is called once per target and 
therefore there can only be one SNMP target, too. 

Can anyone help and explain snmp.pm or parts of it?

(3) 
My current solution looked like an "obvious" (read: fast and easy) way to
implement this. But now snmp-query-max is a tag of dictionary "target".

This means I have to specify the tag with every target. But the limit
looks like a limitation of the hardware to me, so I would like to specify
the limitation "snmp-query-max" in dictionary target-type instead.
That way I could define a new target like the following lines and Cricket
would know how to handle it.
target funnyThing
	target-type	usvWithQueryMaxSet

I think questions for (3) would be
(3a) What do you think: Where does this tag belong to?
(3b) How does my or your idea fit into the Cricket module design?

Any comments, ideas and questions about this are highly welcome.

  Regards
    Florian

--

-- 
 MCS MOORBEK COMPUTER SYSTEME GmbH
 Essener Bogen 17   -   22419 Hamburg   -   Germany
 Tel.: (+49) 040.53773.0   -   Fax: (+49) 040.53773.200
 mailto:florian.hinzmann <at> mcs.de
 http://www.mcs.de

Florian Hinzmann | 7 Dec 09:35 2005
Picon

Re: Problem with size of UDP packets sent by cricket

Hello!

Did you try polling different numbers of OIDs at once makes
a difference? You might try snmpget with more and more OIDs in one run
instead of snmpwalk.  IMHO snmpwalk does not fetch all OIDs at once.

But coming to your specific question:

On Wed, 30 Nov 2005 12:07:17 +0530
"arunprasath santhanakrishnan" <arunprasy <at> hotmail.com> wrote:

> Now I am looking for an workaround to overcome this problem. Is there a way 
> in cricket to send only 1 OID at a time (Even if many have been configured) 
> to a destination device instead of sending all the OID's at one go (As it is 
> now).

See my mail from today:
Message-ID: <20051207091048.36d66d60 <at> marvin>
Subject: [cricket-users] Feature: target tag snmp-query-max / Questions regarding cricket/lib/snmp.pm

Using the new tag snmp-query-max you would be able to query a given
number of OIDs at most. Even only one.

  Regards
     Florian

--

-- 
 MCS MOORBEK COMPUTER SYSTEME GmbH
 Essener Bogen 17   -   22419 Hamburg   -   Germany
 Tel.: (+49) 040.53773.0   -   Fax: (+49) 040.53773.200
 mailto:florian.hinzmann <at> mcs.de
 http://www.mcs.de

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

Gmane