Kiss Gabor (Bitman | 22 Oct 13:58 2013
Picon

Preload node

I wonder what is the concept of "preload node"
in case of "--default--" target.

File lib/ConfigTree/Node.pm, method parseLines():

    my($node);
    if ($token eq 'target') {
        if ($name eq '--default--') {
            if ($self->Done()) {
                if (! $self->Preload()) {
                    $self->Debug("Making a preload node.");
                    $self->Preload(new ConfigTree::Node);
                }
                $node = $self->Preload();
                $self->Debug("Using a preload node.");
            } else {
                $node = $self;
            }
        } else {

I can see that if the parser finds a second (third etc.)
"target --default--" stanza at the same level it passes the content
to the child node directly instead of normal inheritance mechanism.
But why?
Why --default-- targets are not simply merged?
(I want to mix manually maintained and machine generated config files
both containing "target --default--".)

Could somebody explain what was JRA's idea? :-)

(Continue reading)

Kiss Gabor (Bitman | 23 Sep 14:51 2013
Picon

Parallel collector released


Dear folks,

I've developed a massively parallel version of collector.
It uses Net::SNMP Perl module to spread several (actually 512)
concurrent SNMP requests to devices to poll.

We use it in production since a week without any problem.
I've experienced that pcollector needs time 40-70% less to run
than collector does.
(We have some 5800 SNMP polled device with variable number
of interfaces and datasource complexity. Target number is about 22k.)

The code is available as a Debian package from my private repository
at http://debian6.ki.iif.hu/. (It is IPv6 only. Sorry for that.)

Actual version is 1.0.5-19niif.5.
Directory of binary and source packages is
http://debian6.ki.iif.hu/pool/main/c/cricket/

*******************************************************
	*** Attention ***
This is "No Country for Old Men". :-)
Our version of Cricket contains tons of enhancements and
localizations developed in the past 10 years at NIIF Institute
and Computer and Automation Institute (SZTAKI). It is obviously
not a drop-in replacement of the program actually used by you.
DO NOT install it unless you know what do you do.
	I warned you.
*******************************************************
(Continue reading)

Mellem, Dan | 5 Sep 18:53 2013
Picon
Picon

Graph scale rounded with increased height (Y axis)

Hi,

I have changed "height" from 200 to 500 and "height-hint" from 255 to 555 in the configuration, and it works
fine. However, for ifInOctets and ifOutOctets, the scale is rounded and seems to have duplicates. For
example, when the max traffic is just about 10Mbps, the scale shows as:

0, 0, 1, 2, 2, 2, 3, 4, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, 10, 10

However, this is really:

0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5, 10

If this maximum is less than 10, the scale shows decimals as expected. If have tried it without height-hint
and with other values, but that didn't seem to help.
We're using Cricket v. 1.0.5.

Do you have any suggestions on how to expand the scale or to show the fractional part?

Thank you,
-Dan

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
Picon
Picon

No data retrieved from server'CPUs


Hi,

 
What do the below errors mean  and how can i fix them ?

cricket <at> s64lmwbialm ~/cricket #./collector /MATERIEL/OSMOSE/PRODUCTION/Cluster_Services/s64lmwbigl5/cpu
[27-Jun-2013 10:16:32 ] Starting collector: Cricket version 1.0.3 (2001-11-06)
[27-Jun-2013 10:16:35 ] Retrieved data for cpu (): 33908788,2185,54739353,218619,68796369,1291271386
[27-Jun-2013 10:16:35*] Cannot update
/home/cricket/cricket-config/../cricket-data//MATERIEL/OSMOSE/PRODUCTION/Cluster_Services/s64lmwbigl5/cpu.rrd:
expected 7 data source readings (got 6) from N:33908788:2185:54739353:218619:68796369:1291271386:...

[27-Jun-2013 10:16:35 ] Processed 1 targets in 4 seconds.
cricket <at> s64lmwbialm ~/cricket #

Thanks in advance.

JEAN-MICHEL DUFOUR 

Métrologie (http://metrologie-unix.dsit.sncf.fr/ <http://metrologie-unix.dsit.sncf.fr/> )

SNCF - DSI-T SO DELIVERY 

*DSI-T/SO DELIVERY DOPG/SUP

25 C, Quai Pierre SEMARD - 69350 la Mulatière

TÉL. : +33 (0)4 72 66 41 28 (50 81 28) 

(Continue reading)

Brandon Baker | 18 Jun 17:22 2013

Could not find a datafile for

Came into work this morning and our primary cricket server was down so I
turned on the backup and it is failing to load graphs, looks to be a
collector problem as I get this error in the logs for everything:

Could not find a datafile for xxxxxxxxx

Any assistance would be greatly appreciated

Thank You,

Brandon Baker

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Brandon Baker | 6 Jun 16:45 2013

Graphing Issue


Hello, I am using Cricket to graph Cable modems, I have updated the cron
table and am showing that it is in use when I use the crontab -l command. I
have also uploaded the files through FTP into the cricket server. My graphs
are not displaying yet for the new modems I have entered. Am I missing a
command or reboot or something to get these to start graphing? Any help is
appreciated. 

Thank You,

Brandon Baker

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
Andrew Davidoff | 5 Nov 02:52 2012
Picon

Cricket on OS X 10.8 Mountain Lion

Hi,

I just got cricket working on OS X 10.8 Mountain Lion and figured I should
share. I think what I did was reasonable, but I'm open to criticism.

Before I get into the specifics of the install, I should note that I ran
into one issue related to targetTypes that don't contain a "view"
dictionary. Whether this is my fault or a bug, I am not sure.

On line 233 of grapher.cgi we have this:

my($view) = lc $gQ->param('view');

Following that assignment, various statements check to see if $view is
defined. It appears as though "lc" is returning an empty string (i.e. $view
is defined) in the case of $gQ->param('view') being undefined, which breaks
display of targets that aren't views. I am currently only using a single
target that does use a targetType that contains a view dictionary, so I
have essentially worked around this (for now).

And here's what I did to get cricket running on OS X 10.8 Mountain Lion.
Oh, I just remembered, the links to SNMP_Session and rrdtool in the
beginner guide are both out of date. Correct links are below in my notes.

Making cricket work:

1. Download cricket source
2. Untar into ~/, symlink cricket to cricket-1.0.5
3. Install RRDTool (http://oss.oetiker.ch/rrdtool/) via macports
   * `sudo port install rrdtool`
(Continue reading)

John Cardinale | 25 Oct 01:36 2012

CiscoAP 1142N

Hello all,
                This is my first cricket instance, and while the data is being logged and graphed correctly for routers,
when I attempted to add my access points to cricket it draws empty graphs.

Summary

100.0 MBits/s ethernetCsmacd
Values at last update:
Average bits in (for the day):
Cur: -nan bits/sec
Avg: nan bits/sec
Max: nan bits/sec

Average bits out (for the day):
Cur: -nan bits/sec
Avg: nan bits/sec
Max: nan bits/sec

Last updated at Wed Oct 24 16:30:01 2012
Here is how I generated it initially,
root <at> Maas-core:/etc/cricket/config# /usr/share/cricket/util/genDevConfig -c public -rtragents
--loglevel debug -2 --vendorint accesspoint03

And the following output

Use of uninitialized value $Common::global::isCollector in numeric eq (==) at
/usr/share/cricket/lib/ConfigTree/Cache.pm line 58.
[Warn *] Using current version of the config.db. Make sure it is up to date.
[Info  ] Log level changed from warn to debug.
[Info  ] Script genDevConfig started on: 24-Oct-2012 16:33:07
(Continue reading)

Franz Skale | 2 May 21:21 2012
Picon

Contribute things !


Hi List,
i ported the mysql-snmp cacti prefs to cricket.
Could you please tell me, how to contribute the defaults file. (Also a
sample client config as well).
These are 37 views with 150 datapoints.
All you need is to install the mysql-snmp package. (Available from the
contributer of the package as debian stype package).

Rgds.

Franz

Optional, i can also post this via mailinglist, if you will.

--

-- 

kind regards,           +43-664-8468643
Franz Skale             +43-1-7189880-0
Senior Systems Engineer www.cubit.at
PGP KeyID               0xB294D39A
Key Fingerprint         B508 8896 B83C B374 770D 80EF 3AD9 4A66 B294 D39A

Neuer Standort: 1070 Wien, Zieglergasse 67/3/1

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
(Continue reading)

George | 5 Apr 21:34 2012

problems with Thresholds in 1.0.5

I have cricket 1.0.5 and for some reason I can only get a single data
source to work with thresholds. And to make it even more weird it's a
different data source on every target.

Any know bugs?? help would be appreciated??

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
George Wilbert | 5 Apr 17:30 2012

Monitor Thresholds not working

I have cricket 1.0.5 and for some reason I can only get a single data
source to work with thresholds. And to make it even more weird it's a
different data source on every target.

Any know bugs?? help would be appreciated??

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

Gmane