[Xymon] "include: command not found" in apache logs
Henrik Størner
henrik at hswn.dk
Thu Jul 26 07:48:12 CEST 2012
On 26-07-2012 06:20, Jeremy Laidman wrote:
> There are a couple of shell scripts under cgi-bin that do this:
>
> . /path/to/xymonserver.cfg
Hmm - they shouldn't do that, I cannot remember why it is there.
> It's obvious that the way the definitions are added into the CGI
> script's environment is not appropriate for the type of file - "Even
> though it might look like a shell-script, it is NOT." Furthermore, this
> extra line appears to be redundant, given that $CGI_SNAPSHOT_OPTS and
> $CGI_REP_OPTS both include "--env $XYMONENV", and $XYMONENV is set to
> /path/to/xymonserver.cfg. So I suspect that this line can be taken out
> altogether.
I believe you're right. I'll do that in the files generated when
installing Xymon.
Regards,
Henrik
More information about the Xymon
mailing list