Closed kwaegema closed 5 years ago
The lmod_cache check will fail when not run as root, since it tries to write and chown a file under /var/cache. Workaround:
touch /var/cache/run_lmod_cache.nagios.json.gz chown vsc40003:nrpe /var/cache/run_lmod_cache.nagios.json.gz
The script should check the existance of this file and give a clear error message if this is missing
@kwaegema it runs as a vsc user.
The lmod_cache check will fail when not run as root, since it tries to write and chown a file under /var/cache. Workaround:
The script should check the existance of this file and give a clear error message if this is missing