How can I view my the database configuration for Urchin? (Linux)

This can be acomplished with the uconf-export binary. You can find this
binary in the util directory within the base install directory. This is
usually /usr/local/urchin.


[root@root util]# ./uconf-export

#————————————————————————-

#  Urchin 5 Configuration Export

#  from: Urchin 5703 (redhat_ent3)

#  Exported on: Mon Nov 14 15:40:14 2005

#————————————————————————-



#————————————————————————-

REQUIRED RECORDS

#————————————————————————-



<Global Name=”Access Settings”>

   ct_name=Access Settings

   cr_remoteadmin=on

   cr_remoteaccess=on

   ct_port=9999

   cs_language=en

   cs_region=us

   ct_var=1616

   ct_schedulers=|test.1706|

   ct_license=NJRLE2UE4WF9XPSF4C1NWE5CYWTXL5CFEZJFHANXWJLB695Z5NC5FSHAGMVTJYFCP4JUJS9X

   ct_serial=MYJV4RW9FY7KPADJ25SE3B48

   cr_setupwizard=off

   cr_dcmode=off

</Global>



<Machine Name=”Process Settings”>

   ct_name=Process Settings

</Machine>



<Affiliation Name=”(NONE)”>

   ct_name=(NONE)

</Affiliation>



<User Name=”(admin)”>

   ct_name=(admin)

   ct_username=admin

   ct_password=USCC|1493656621

   cs_adminlevel=1

   cs_language=en

   cs_region=us

   ct_fullname=Urchin Administrator

   ct_affiliation=(NONE)

</User>



#————————————————————————-



#——————————-

#  Filters

#——————————-

<Filter Name=”Decode Keywords”>

   ct_filterfield=referral_keywords (AUTO)

   ct_name=Decode Keywords

   cr_filtertype=decode

   cs_filterfield=88

   ct_affiliation=(NONE)

   cs_rlist=”domain1.com”,”someotherdomain.net”

</Filter>



<Filter Name=”Decode UTM Campaign Content”>

   ct_filterfield=utm_content (AUTO)

   ct_name=Decode UTM Campaign Content

   cr_filtertype=decode

   cs_filterfield=141

   ct_affiliation=(NONE)

</Filter>



<Filter Name=”Decode UTM Campaign Name”>

   ct_filterfield=utm_campaign (AUTO)

   ct_name=Decode UTM Campaign Name

   cr_filtertype=decode

   cs_filterfield=137

   ct_affiliation=(NONE)

</Filter>



<Filter Name=”Decode UTM Campaign Source (Medium)”>

   ct_filterfield=utm_campaign_srcmedium (AUTO)

   ct_name=Decode UTM Campaign Source (Medium)

   cr_filtertype=decode

   cs_filterfield=146

   ct_affiliation=(NONE)

</Filter>



<Filter Name=”Decode UTM Campaign Source (Medium) | Term”>

   ct_filterfield=utm_campaign_srcmedtrm (AUTO)

   ct_name=Decode UTM Campaign Source (Medium) | Term

   cr_filtertype=decode

   cs_filterfield=147

   ct_affiliation=(NONE)

</Filter>



<Filter Name=”Decode UTM Campaign Term”>

   ct_filterfield=utm_term (AUTO)

   ct_name=Decode UTM Campaign Term

   cr_filtertype=decode

   cs_filterfield=140

   ct_affiliation=(NONE)

</Filter>



#——————————-

#  Logfiles

#——————————-

<Logfile Name=”domain1.com-log”>

   cr_action=2

   ct_name=domain1.com-log

   cr_type=local

   ct_loglocation=/home/urchin/domain1.com

   cs_logformat=auto

   cs_rlist=”domain1.com”

   ct_affiliation=(NONE)

</Logfile>



<Logfile Name=”someotherdomain.net-log”>

   cr_action=2

   ct_name=someotherdomain.net-log

   cr_type=local

   ct_loglocation=/home/urchin/someotherdomain.net

   cs_logformat=auto

   cs_rlist=”someotherdomain.net”

   ct_affiliation=(NONE)

</Logfile>



#——————————-

#  Profiles

#——————————-

<Profile Name=”domain1.com”>

   ct_name=domain1.com

   ct_website=http://domain1.com

   ct_reportdomains=domain1.com,www.domain1.com

   cr_utminstalled=no

   cs_llist=”domain1.com-log”

   cs_reportset=Basic_All

   cr_profiletype=Standard_Website

   cs_flist=”Decode Keywords”

   ct_lasthit=20051104

   cs_ulist=”Equeen”

   ct_affiliation=(NONE)

</Profile>



<Profile Name=”someotherdomain.net”>

   ct_name=someotherdomain.net

   ct_website=http://someotherdomain.net

   ct_reportdomains=someotherdomain.net,www.someotherdomain.net

   cr_utminstalled=no

   cs_llist=”someotherdomain.net-log”

   cs_reportset=Basic_All

   cr_profiletype=Standard_Website

   cs_flist=”Decode Keywords”

   ct_lasthit=20051104

   cs_ulist=”Equeen”

   ct_affiliation=(NONE)

</Profile>



#——————————-

#  Tasks

#——————————-

<Task Name=”__domaindb”>

   ct_name=__domaindb

   cr_frequency=7

   cr_enabled=off

   ct_lockid=0

   ct_status=2

   cr_runnow=0

   ct_runstatus=2

   cd_lastrun=0

   cd_btime=0

   ct_completed=100

   ct_pid=0

   cd_etime=0

   ct_affiliation=(NONE)

   cs_dom=24

   cs_hour=14

   cs_minute=37

   ct_setdate=1

   cd_nextrun=1132864620

</Task>



<Task Name=”domain1.com”>

   ct_name=domain1.com

   cr_frequency=0

   cr_enabled=off

   ct_status=0

   cr_runnow=0

   ct_lockid=0

   ct_runstatus=2

   cd_lastrun=1131133680

   cd_btime=1131133680

   ct_completed=100

   ct_pid=0

   cd_etime=1131133681

   ct_affiliation=(NONE)

</Task>



<Task Name=”someotherdomain.net”>

   ct_name=someotherdomain.net

   cr_frequency=0

   cr_enabled=off

   ct_status=0

   cr_runnow=0

   ct_lockid=0

   ct_runstatus=2

   cd_lastrun=1131133708

   cd_btime=1131133708

   ct_completed=100

   ct_pid=0

   cd_etime=1131133709

   ct_affiliation=(NONE)

</Task>



#——————————-

#  Affiliations

#——————————-

#——————————-

#  Users

#——————————-

<User Name=”User”>

   ct_name=User

   ct_password=USCC|855877854

   cs_adminlevel=3

   cs_language=en

   cs_region=us

   cs_rlist=”domain1.com”,”someotherdomain.net”

   ct_affiliation=(NONE)

</User>



#——————————-

#  Globals

#——————————-

#——————————-

#  Machines

#——————————-

#————————————————————————-


You can output this to a file instead with the -f option:


[root@root util]# ./uconf-export -f config.db.txt

[root@root util]# ls -la config.db.txt

-rw-r—r—  1 nobody root 5231 Nov 14 15:44 config.db.txt



Your rating: None