[Xymon] xymon, xymon-rclient and md5sum checks

oliver ohemming at gmail.com
Tue Jun 9 22:28:50 CEST 2015


On Tue, Jun 9, 2015 at 3:55 PM, Root, Paul T <Paul.Root at centurylink.com> wrote:
> Also, your solution doesn't work.
>
> The test as written is testing that the variable $FILENAME is not null, and then testing to see if the file exists. Removing the -e just tests that the variable is not null twice.
>
> The solution would be more like:
> echo "if [ \"$FILENAME\" != \"\" -a -e \"$FILENAME\" ]; then"

Thanks - makes more sense now but I think you added an errant -e in
that solution :-)



More information about the Xymon mailing list