[Pkg-nagios-devel] Bug#804508: check-mk-livestatus: Cannot activate changes in WATO
Paul Tötterman
paul.totterman at iki.fi
Sun May 22 10:26:12 UTC 2016
> check-mk-livestatus: Cannot activate changes in WATO
I ran into this same issue and tracked it down a bit further.
The 'active changes!' functionality uses sudo to call `check_mk
--automation` as the 'nagios' user. The error seems to occur inside
the `automation_create_snapshot()` function, defined in:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob;f=modules/automation.py;h=f3d467a2da9e714cf59407c6ffc8b856b78ea759;hb=f9dd882cf4b4d361e7c1a6a6539b2772485531be#l991
There is probably some difference in configuration that causes
`cleanup(), defined at:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=blob;f=modules/automation.py;h=f3d467a2da9e714cf59407c6ffc8b856b78ea759;hb=f9dd882cf4b4d361e7c1a6a6539b2772485531be#l1087
to be called too early. I haven't found anything more specific yet.
Cheers,
Paul
More information about the Pkg-nagios-devel
mailing list