bbcmd(1)

bbcmd1

Run a xymon command with environment set

Usage

bbcmd --env=ENVFILE COMMAND

Overview

bbcmd(1) is a utility that can setup the Xymon environment variables as defined in a hobbitlaunch(8) compatible environment definition file, and then execute a command with this environment in place. It is mostly used for testing extension scripts or in other situations where you need to run a single command with the environment in place.

The "--env=ENVFILE" option points bbcmd to the file where the environment definitions are loaded from.

COMMAND is the command to execute after setting up the environment.

If you want to run multiple commands, it is often easiest to just use "sh" as the COMMAND - this gives you a sub-shell with the environment defined globally.

Releases

3 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0–7

From xymon-client 4.3.0~beta2.dfsg-9.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.