BB Unix Network Monitor - Message

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

Re: {bb} New service definition in BB usgin bbgen



Let me clarify. I am trying to make a new service called ncftp to be used in the bb-hosts file. This I have setup in bb-services as a mere copy of the ftp definition aonly renaming the name tag in the definition.

Then in bbsys.local I have created an entry like this

NCFTP="/usr/local/bin/ncftp -L <VIP address>"
export NCFTP

in the hope that bbtest-net would pick up this definition of the ncftp command like it does with the fping command.

This "should" enable me to put a ncftp tag in the bb-hosts on a host and the test would be performed with my definition.

However I see that the bbsys.local definitions are used as an environment variable and this is maybee not used by bbtest-net.

BR Thomas

Henrik Storner wrote:

In <429B2F7A.4060107@holme-pedersen.dk> BB - Hobbit <tlp-hobbit@holme-pedersen.dk> writes:



I am using bbgen 3.5 with my BB 1.9e and trying to create a new service. I have added it to bb-services and made a new entry in bbsys.local to the program with the commandline options that I need ( ie source address switch ).





However I get connection refused wich I think is because the test is not using my bbsys.local entry.





How can I debug this ? I have tried to add --debug to the bbtest-net command in bb-network.sh but this does not give med the neccessary input.



I dont quite understand what You have done.


If you want to add a new network test, you should define it only in the
$BBHOME/etc/bb-services file - not mess about with strange stuff in
bbsys.local.

And network tests done by bbtest-net doesn't invoke other commands so what are these commandline switches you're talking about ?

It sounds as if you're really setting up a custom Big Brother extension
script - this has nothing to do with bbgen.


Regards, Henrik

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