BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Errors in BBOUT



I have resolved this -- bb-local.sh was calling bb-disk.sh which was giving problems with the "df" command because these systems are running LVM and the lines wrap. I changed "DF=/bin/df -k" to "DF=/bin/df -k -P" in bbsys.local and the problem is resolved.

sam

Richard Finegold wrote:

Which version of BB? What's the exact statement on line 178?
 sed '178!d' bb-local.sh
if your favorite editor doesn't have line numbering.
Is the error preceded by any other errors?

Typically, this is caused by attempting to parse unexpected output,
frequently by a missing (no ouptut) or tweaked command.

Upon second look, I'm guessing that the bb-local.sh is illusory
and it's really one of the scripts it calls. Running:
 for S in *.sh; do sed '178!d' $S; done
on 1.9e client gives the only test as bb-disk.sh on a comparison
of DISKPCT vs DFWARNVAL, might want to check that your
DFWARNVAL is a proper value (set by DFWARN in bbdef-client.sh,
overridden by bb-dftab if that exists). Maybe precede it with a line
that echos what it's attempting to compare?



salalond@uoguelph.ca 3/16/2005 07:21:24 >>>


I have several servers (Red Hat Enterprise Linux AS3) where I get the following errors constantly in BBOUT when the agent is running:
-----------
Wed Mar 16 10:16:33 2005 bb-local.sh /usr/local/bb/bb/bin/bb-local.sh: line 178: test: : integer expression expected
-----------
Has anyone seen this?



--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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