Xymon Mailing List Archive search

xymonreports.sh: Must have Xymon environment set.

list Henrik Størner
Mon, 10 Jan 2011 09:36:23 +0000 (UTC)
Message-Id: <igejun$fk8$user-7fe75da36485@xymon.invalid>

In <user-c2f9f3f40df1@xymon.invalid> "Hermann-Josef Beckers" <user-3e5362deca72@xymon.invalid> writes:
As the subject says:If I try to include ~/server/etc/xymonserver.cfg
I get 2 errors:
..xymonserver.cfg: line 303 reached EOF while searching for '"'.
..xymonserver.cfg: line 304: Syntax error: unexpected EOF
(roughly translated back from german) and then a lot of 
"Cannot find value for variable  XYMON* error messages.

I am unsure what you mean by "include xymonserver.cfg".
The best way to setup the Xymon environment is to run the 
command via the "xymoncmd" utility, like
   xymoncmd xymonreports.sh foo bar baz

However, I think your problem is a missing end-quote in the
BBSERVERSECURECGIURL definition in xymonserver.cfg. This was
an error in the beta-3 release.


Regards,
Henrik