Xymon Mailing List Archive search

XYMONNETWORK environment variable

list Henrik Størner
Thu, 05 Jan 2012 23:14:31 +0100
Message-Id: <user-4022165d18b6@xymon.invalid>

[xymonnet2]
ENVFILE /usr/lib64/xymon/server/etc/xymonserver.cfg
NEEDS xymond
CMD XYMONNETWORK=IAD xymonnet --report --ping --checkresponse
Not quite right, because the CMD setting doesn't permit you to set
environment variables that way (the command isn't passed to a shell,
but executed directly).
For the record, Larry Barber pointed out to me that I was wrong - you 
*can* use a syntax like this to set environment variables in the CMD line.

(I wrote the code, but that doesn't mean I know what it does - OK ?)


Regards,
Henrik