Random Project

Wrong Current Working Directory

Hi,

Thanks for the script.
It was though only working on the CLI and not in Nagios, until I found out, that somehow there was the a wrong current working directory defined. So WGet tried to save into that non-writeable working directory and failed and the whole script returned state ‘UNKNOWN’.
It was enough to just add

-P /tmp

to the wget call.