BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} Larrd problem
- To: bb@bb4.com
- Subject: {bb} Larrd problem
- From: Bengt Olsson <bol@bth.se>
- Date: Mon, 17 Oct 2005 08:50:11 +0200
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=ISO-8859-1; format=flowed
- Organization: BLEKINGE INSTITUTE OF TECHNOLOGY
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
Hi
I have some problems when i tries to run larrd on debian.
When I start bb-client with larrd i get the followning error i the
LARRDOUT file:
//usr/local/larrd/larrd-html.pl: BBRRDS is not set
/usr/local/larrd/la-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.la.rrd, created.
/usr/local/larrd/la-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.users.rrd, created.
/usr/local/larrd/la-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.procs.rrd, created.
/usr/local/larrd/disk-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.disk,var.rrd, created.
/usr/local/larrd/disk-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.disk,usr.rrd, created.
/usr/local/larrd/disk-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.disk,root.rrd, created.
/usr/local/larrd/bbnet-larrd.pl: STATUS did not find
/home/bb/bbvar/rrd/deblab.tcp.conn.rrd, created./
Where do i set the BBRRDS?
I tried to set BBRRDS in the larrd-html.pl file >
$ENV{'BBRRDS'}="$ENV{'BBVAR'}/rrd";
but it not seems to help.
The rrd data seems to get generatet but it is not generate any html pages.
My larrd-config.pl file look like this:
/# Base directory of rrdtool
$ENV{'RRDDIR'}="/usr/local/rrdtool";
# Base directory of larrd
$ENV{'LARRDHOME'}="/usr/local/larrd";
# Location of BBVAR directory
$ENV{'BBVAR'}="/home/bb/bbvar";
# Where should the RRD's be kept?
# pronounced birds
$ENV{'BBRRDS'}="$ENV{'BBVAR'}/rrd";
$ENV{'BBLOGS'}="$ENV{'BBVAR'}/logs";
$ENV{'CGIBINURL'}="/cgi-bin";
# Which datasets should I collect/graph/html for?
# la = Load Average, Users, Processes
# disk = Disk Utilization
# bbnet = TCP Connect Times and Ping Times
# vmstat = vmstat statistics (requires bf-larrd.sh)
# apache =
# bind =
# iostat = (requires bf-iostat.sh)
# netstat = (requires bf-netstat.sh)
# sendmail = (requires bf-sendmail.sh)
# memory = Memory Utilization (requires bb-memory.sh)
# nmailq = length of multiple mailq's on a system added by AGS
04/16/02
# socks = Open Threads in Aventail socks server added by AGS 03/14/02
# imap2 = User experience IMAP response test added by Craig Cook
# up = Uptime graph added by Craig Cook 14 Feb 2005
# WebApp = http,url checks added by Craig Cook 14 Feb 2005
@DATALIST=("la","disk","bbnet","vmstat","netstat","procs","users","up","WebApp");
# Name of column in BB
$ENV{'LARRDCOLNAME'}="trends";
# Set rigid limit for la y axis
$ENV{'LARRDLARIGID'}=1;
$ENV{'BBLOGSTATUS'}=DYNAMIC;
# Location of bb-hostsvc.sh for STATIC compliance
# needed if BBLOGSTATUS=STATIC
#$ENV{'LARRDHOSTSVC'}="/usr/local/apache2/htdocs/bb/bin/bb-hostsvc.sh";
$ENV{'LARRDHOSTSVC'}="/usr/lib/cgi-bin/bb-hostsvc.sh";
# NOTICE: We deprecated for it checks for DATA then it checks for STATUS
# The bottom feeders sets the method. This allows for granularity.
#
# How does bf-larrd.sh send data back to BBDISP?
# DATA if BB compiled with -DDATAMSG
# STATUS if BB is not
# $ENV{'LARRDCOMM'}="STATUS";
# Hosts you do not want a larrd HTML dot, data is still trended
@LARRDDISABLE=("");
# LOGGING
# Messages that will prevent larrd from functioning properly
$ENV{'ERROR'} = 1;
# Messages that tell you what larrd has done to the system
$ENV{'STATUS'} = 1;
# Messages that will not prevent larrd from functioning properly (noisy)
$ENV{'WARN'} = 0;
# Messages that tell you a little about what larrd is doing (very noisy)
$ENV{'DEBUG'} = 0;
###############################
# END USER DEFINED VARIABLES
###############################
$ENV{'RRDPM'}="$ENV{'RRDDIR'}/lib/perl";
$ENV{'RRDTOOL'}="$ENV{'RRDDIR'}/bin/rrdtool";
# Where should module logs go?
$ENV{'LARRDLOG'}="$ENV{'BBHOME'}/LARRDOUT";
# Location of temporary web graphs
$ENV{'LARRDTMP'}="$ENV{'LARRDHOME'}/tmp";
#Location of LARRD.pm
$ENV{'LARRDPM'}="$ENV{'LARRDHOME'}/lib/LARRD";
# what RRA's should be made for each RRD?
# "daily" 5min avg last 48hr
# "weekly" 30min avg last 12days
# "monthly 2hr avg last 48days
# "yearly" 24hr avg last 576days
$ENV{'RRAS'}="RRA:AVERAGE:0.5:1:576 RRA:AVERAGE:0.5:6:576
RRA:AVERAGE:0.5:24:576 RRA:AVERAGE:0.5:288:576";
1;/
Help please
/Bengt
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index