BB Unix Network Monitor - Message

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

RE: {bb} Bug in larrd with FQDN



Eric Maes [SMTP:emm@ti.emea.eds.com] writes:

	I have just installed larrd and discovered a small bug related to
the
	handling of FQDN.
	As it is, larrd will truncate the host part of the *.larrd files in
the
	www/logs directory to the first 3 components. This results in the
larrd
	column not being displayed...
	A quick hack to solve this is the following: 
	In larrd-html.sh, replace line 23 which is:
	     HOSTS=`ls | $AWK -F. '{print $1"."$2"."$3}' | uniq `
	with:
	     HOSTS=`ls *.diskpct.hourly.png | $SED
"s/\.diskpct\.hourly\.png//"`

	There are probably much better ways to solve it, but I was in a
hurry to
	see and show those impressive graphs!


HOSTS=`ls | $AWK -F. '{printf $1; for( i=2; i<NF-2; i++) printf "."$i; print
""}' | uniq `
	
works for me.

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