[Pkg-nagios-devel] Bug#724743: check-mk-multisite: does not work without tmp_dir

Max Kosmach max at tcen.ru
Fri Sep 27 11:54:27 UTC 2013


Package: check-mk-multisite
Version: 1.2.2p2-1
Severity: important

Hi.

check-mk-multisite does not work without tmp_dir definition.

File "/usr/share/check_mk/web/htdocs/wato.py", line 125, in <module>\n
  sync_snapshot_file = defaults.tmp_dir + "/sync_snapshot.tar.gz",
referer: http://10.0.10.23/check_mk/side.py

AttributeError: 'module' object has no attribute 'tmp_dir', referer:
http://10.0.10.23/check_mk/side.py

Work well after I add
tmp_dir = '/var/lib/check_mk'
to file
/usr/share/check_mk/modules/defaults

I don't know is this correct place for this files.


PS. and I think that www_group in this file should be 'www-data'.
Isn't it?


-- 
With best wishes
Max



More information about the Pkg-nagios-devel mailing list