Re: Errors in collector

"Danilo Castro Dy" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Thanks. Here is the output of "C:\cricket-1.0.5>perl collector -loglevel
debug" for interface fa0/24

[08-Feb-2007 13:04:16 ] Processing /router-interfaces/NCSCWKDSW1/fa0_24...
[08-Feb-2007 13:04:16 ] Preparing map(switch-interface-name)
[08-Feb-2007 13:04:16 ] Evaling inst which is: 0
[08-Feb-2007 13:04:16 ] target fa0_24
        --mapkey-- = switch-interface-name
        --verify-mapkey-- = switch-interface-name
        auto-base = /cricket-1.0.5/cricket-config
        auto-root = /../..
        auto-target-path = /router-interfaces/NCSCWKDSW1
        datadir =
/cricket-1.0.5/cricket-config/../cricket-data//router-interfac
es/NCSCWKDSW1
        directory-desc = NCS Chadwick Distribution Switch 1
        email-program = /usr/bin/mailx
        inst = 20
        interface-name = Fa0/24
        order = 2
        persistent-alarms = false
        rrd-datafile =
/cricket-1.0.5/cricket-config/../cricket-data//router-int
erfaces/NCSCWKDSW1/fa0_24.rrd
        rrd-poll-interval = 300
        short-desc =
        show-path = no
        snmp = omitted@NCSCWKDSW1:161
        snmp-backoff = 1.0
        snmp-community = omitted
        snmp-host = NCSCWKDSW1
        snmp-port = 161
        snmp-retries = 5
        snmp-timeout = 2.0
        snmp-version = 1
        summary-loc = top
        switch = NCSCWKDSW1
        target-type = switch-interface

[08-Feb-2007 13:04:16 ] Retrieving data for target fa0_24 (20)
(switch-interface
)
[08-Feb-2007 13:04:16 ] ds0 is: //omitted@NCSCWKDSW1:161/ifInOctets.20
[08-Feb-2007 13:04:16 ] ds1 is: //omitted@NCSCWKDSW1:161/ifOutOctets.20
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds2 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds3 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds4 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds5 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds6 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds7 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds8 is:
Use of uninitialized value in pattern match (m//) at
./lib/ConfigTree/Cache.pm l
ine 250.
Use of uninitialized value in split at collector line 361.
Use of uninitialized value in concatenation (.) or string at collector line
369.

Use of uninitialized value in concatenation (.) or string at collector line
370.

[08-Feb-2007 13:04:16 ] ds9 is:
[08-Feb-2007 13:04:16 ] ds10 is:
//omitted@NCSCWKDSW1:161/1.3.6.1.2.1.31.1.1.1
.1.20
[08-Feb-2007 13:04:16*] Could not find a fetcher with type  to fetch data
for fa
0_24 (20).
[08-Feb-2007 13:04:16 ] Getting from omitted@NCSCWKDSW1:161
1.3.6.1.2.1.2.2.1.
10.20 1.3.6.1.2.1.2.2.1.16.20 1.3.6.1.2.1.31.1.1.1.1.20
[08-Feb-2007 13:04:16 ] Got: 2631224581 2914485458 Fa0/24
[08-Feb-2007 13:04:16 ] Retrieved data for fa0_24 (20):
2631224581,2914485458,U,
U,U,U,U,U,U,U
[08-Feb-2007 13:04:16 ] Some data is missing for fa0_24 (20).


-----Original Message-----
From: Ray Burkholder [mailto:[email protected]] 
Sent: Thursday, February 08, 2007 12:12 PM
To: 'Danilo Castro Dy'; [email protected]
Subject: RE: [cricket-users] Errors in collector


> 
> Now I only get 6 errors per interface but it's not updating 
> the database.
> There is an error that says the "database update fails as its 
> expecting 10 entries but its only receiving 6". I should have 
> amended this before production like I did for router and 
> packetshaper, sigh.
> 

Run the collector manually in debug mode to see where the errors are.
Perhaps a device config has changed and is no longer producing the oids you
are expecting.

Also, I gather you rebuild the config file each time you make changes to the
Default files.

Ray.


-- 
Scanned for viruses and dangerous content at 
http://www.oneunified.net and is believed to be clean.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.