BB Unix Network Monitor - Message

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

Re: {bb} Client can't find BBPAGER by ip address?



what version are you running ? 1.9d ?

There's a bug in bbinc.sh,

change:

if test "$IP" = "0.0.0.0"               # SMM 1.10 DDNS SUPPORT
then
    BBPAGERS="${BBPAGERS} ${HOSTNAME}${IPPORT}"     # USE THE NAME
else
    BBPAGERS="${BBPAGERS} ${HOSTNAME}${IPPORT}"     # USE THE IP ADDR
fi

to

if test "$IP" = "0.0.0.0"               # SMM 1.10 DDNS SUPPORT
then
    BBPAGERS="${BBPAGERS} ${HOSTNAME}${IPPORT}"     # USE THE NAME
else
    BBPAGERS="${BBPAGERS} ${IP}${IPPORT}"     # USE THE IP ADDR
fi

it was always using the hostname.

bye
--
Robert-Andre Croteau    BSD,MOTU
Quest Software, Inc.            Big Brother, Product Architect
http://www.quest.com/                          http://bb4.com/
+1 (514) 238-9374
        Si le bonheur ne s'achete pas alors louez le.

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