Xymon Mailing List Archive search

bbcmd on clients does not set MACHINE and MACHINEDOTS

list Frédéric Mangeant
Wed, 05 Jul 2006 14:18:00 +0200
Message-Id: <user-6744707c4b58@xymon.invalid>

Dominique Frise a écrit :
Hi,

We noticed a problem when using bbcmd on clients for testing extension scripts:
the variables exported in runclient.sh are not set.

At least MACHINE and MACHINEDOTS should be set for beeing able to test any client-side extension script (Big Brother style or Hobbit style).

Hi Henrik

I totally agree with Dominique : I'm currently "upgrading" Big Brother clients to Hobbit 4.1.2p1 clients, and some of my external scripts are run from other scripts (post-backup ones, for example).

Would it be possible to modify bbcmd to export MACHINE, MACHINEDOTS, BBOSTYPE and HOBBITCLIENTHOME, so we can run external scripts outside of Hobbit ?

Thanks in advance !

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis