[Xymon] XYMONNETWORK environment variable

Henrik Størner henrik at hswn.dk
Thu Jan 5 23:14:31 CET 2012


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



More information about the Xymon mailing list