Werk #6517: Nagios: Improved init script when tmpfs is not prepared
Component | Other components | ||||
Title | Nagios: Improved init script when tmpfs is not prepared | ||||
Date | Aug 31, 2018 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
When using Nagios as core and executing "cmk -R" or "cmk -O" on a totally stopped site ("omd stop" + "omd umount") without previously executing "omd start" errors like this occured:
etc/init.d/nagios: line 72: /omd/sites/heute/tmp/nagios/nagios.cfg: No such file or directory Nagios configuration file /omd/sites/heute/tmp/nagios/nagios.cfg not found. Terminating...
This has been replaced by a more helpful error message:
ERROR: tmp directory is not ready. Use "omd start" to prepare it