[cricket-users] Re: Help with Cricket-0.69 for newbie

From: Daniel Spisak (dspisak@mminternet.com)
Date: Tue Jul 20 1999 - 13:40:16 PDT


From: "Daniel Spisak" <dspisak@mminternet.com>

Ok here is where I stand now.
To make compile work I have to explicitly set the base directory always as
so:

[root@paraguay cricket]# pwd
/root/cricket
[root@paraguay cricket]# ./compile -base
/root/cricket/cricket-config/routers /root/cricket/cricket-config/routers/
[20-Jul-1999 13:21:15 ] Starting compile: Cricket version 0.69 ( Fri Jul 16
00:37:23 PDT 1999 )
[20-Jul-1999 13:21:16 ] Processed 9 nodes (in 3 files) in 5 seconds.

The three files in the routers subdir is:
Defaults
Targets

The only change I made to the main Deafult files (besides the correct
snmp-community) was:
        dataDir =
/root/cricket-logs%auto-target-path%

The only change I made to the routers subdir Defaults was:
        domain = "mminternet.com"

Targets has only a few target:
target millenium-gw
        target-type=Cisco-3600-Router
        short-desc = "Main Cisco Router for MM Internet Los Al"
        router = millenium-gw

target Ethernet0_0
        interface-name = Ethernet0/0
        short-desc = DMZ

target Serial0_0
        interface-name = Serial0/0
        short-desc = GTE-ADSL2

target Serial0_1
        interface-name = Serial0/1
        short-desc = GTE-Internet

target Serial0_1.1
        interface-name = Serial0/1.1
        short-desc = ""
        target-type = sub-interface

target Serial2_1
        interface-name = Serial2/1
        short-desc = "GTE-ADSL1 "

target Serial2_2
        interface-name = Serial2/2
        short-desc = "Covad Frame Relay T1 Interface for DSL"

target Serial2_3
        interface-name = Serial2/3
        short-desc = "Qwest T1"

[root@paraguay cricket]# ./collector -logLevel debug -base
~/cricket/cricket-config/routers/
[20-Jul-1999 13:31:55 ] Starting collector: Cricket version 0.69 ( Fri Jul
16 00:37:23 PDT 1999 )
[20-Jul-1999 13:31:55 ] Processing file://millenium-gw...
[20-Jul-1999 13:31:55 ] target millenium-gw
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        router = millenium-gw
        short-desc = Main Cisco Router for MM Internet Los Al
        snmp-host = millenium-gw.mminternet.com
        target-type = Cisco-3600-Router

[20-Jul-1999 13:31:55*] Could not find a datafile for millenium-gw.
[20-Jul-1999 13:31:55 ] Processing file://ethernet0_0...
[20-Jul-1999 13:31:55 ] target ethernet0_0
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Ethernet0/0
        router = ethernet0_0
        short-desc = DMZ
        snmp-host = ethernet0_0.mminternet.com

[20-Jul-1999 13:31:55*] Could not find a datafile for ethernet0_0.
[20-Jul-1999 13:31:55 ] Processing file://serial0_0...
[20-Jul-1999 13:31:55 ] target serial0_0
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Serial0/0
        router = serial0_0
        short-desc = GTE-ADSL2
        snmp-host = serial0_0.mminternet.com

[20-Jul-1999 13:31:55*] Could not find a datafile for serial0_0.
[20-Jul-1999 13:31:55 ] Processing file://serial0_1...
[20-Jul-1999 13:31:55 ] target serial0_1
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Serial0/1
        router = serial0_1
        short-desc = GTE-Internet
        snmp-host = serial0_1.mminternet.com

[20-Jul-1999 13:31:55*] Could not find a datafile for serial0_1.
[20-Jul-1999 13:31:55 ] Processing file://serial0_1.1...
[20-Jul-1999 13:31:55 ] target serial0_1.1
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Serial0/1.1
        router = serial0_1.1
        short-desc =
        snmp-host = serial0_1.1.mminternet.com
        target-type = sub-interface

[20-Jul-1999 13:31:55*] Could not find a datafile for serial0_1.1.
[20-Jul-1999 13:31:55 ] Processing file://serial2_1...
[20-Jul-1999 13:31:55 ] target serial2_1
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Serial2/1
        router = serial2_1
        short-desc = GTE-ADSL1
        snmp-host = serial2_1.mminternet.com

[20-Jul-1999 13:31:55*] Could not find a datafile for serial2_1.
[20-Jul-1999 13:31:55 ] Processing file://serial2_2...
[20-Jul-1999 13:31:55 ] target serial2_2
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Serial2/2
        router = serial2_2
        short-desc = Covad Frame Relay T1 Interface for DSL
        snmp-host = serial2_2.mminternet.com

[20-Jul-1999 13:31:55*] Could not find a datafile for serial2_2.
[20-Jul-1999 13:31:55 ] Processing file://serial2_3...
[20-Jul-1999 13:31:55 ] target serial2_3
        auto-base = /root/cricket/cricket-config/routers/
        auto-root = /
        auto-target-path = /
        domain = mminternet.com
        inst =
        interface-name = Serial2/3
        router = serial2_3
        short-desc = Qwest T1
        snmp-host = serial2_3.mminternet.com

[20-Jul-1999 13:31:55*] Could not find a datafile for serial2_3.
[20-Jul-1999 13:31:55 ] Processing file://millenium-gw...
[20-Jul-1999 13:31:55 ] Processing file://ethernet0_0...
[20-Jul-1999 13:31:55 ] Processing file://serial0_0...
[20-Jul-1999 13:31:55 ] Processing file://serial0_1...
[20-Jul-1999 13:31:55 ] Processing file://serial0_1.1...
[20-Jul-1999 13:31:55 ] Processing file://serial2_1...
[20-Jul-1999 13:31:55 ] Processing file://serial2_2...
[20-Jul-1999 13:31:55 ] Processing file://serial2_3...
[20-Jul-1999 13:31:55 ] Processed 8 targets in 4 seconds.

I can't seem to find where Cricket is putting the data....if it even is. I
created a cricket-logs dir under the the main cricket dir but I don't see
any files being created there. What am I missing here? Where can I setup the
base dirs properly so I don't have to explicity set them every time I run
compile or collector? What am I doing wrong? Any help appriciated, thanks
in advance!

Daniel E. Spisak
Senior Network Administrator
MM Internet
http://www.mminternet.com/

--------------------------- ONElist Sponsor ----------------------------

You can WIN $100 to Amazon.com!
http://www.onelist.com
If you join ONElist’s FRIENDS & FAMILY program. See homepage.

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:58 PST