sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
408 stars 148 forks source link

Permission denied at /usr/share/thruk/lib/Thruk/Utils/IO.pm line 287 #548

Closed sleewharry closed 8 years ago

sleewharry commented 8 years ago

Hi, Version of Thruk is 2.04-1. I'm getting this error in /var/log/thruk/thruk.log

[2015/11/24 15:03:17][nag41x][ERROR][Thruk] Can't exec "/usr/local/nagios/bin/nagios": Permission denied at /usr/share/thruk/lib/Thruk/Utils/IO.pm line 287. [2015/11/24 15:03:17][nag41x][ERROR][Thruk] Background Job Failed [2015/11/24 15:03:17][nag41x][ERROR][Thruk] on page: http://172.20.20.220/thruk/cgi-bin/job.cgi?job=b0573

when I try to Check configuration changes in Object settings

sni commented 8 years ago

If you use different users for Thruk and Nagios, set "obj_check_cmd" accordingly. Maybe use sudo or similar approach. See http://www.thruk.org/documentation/configuration.html#component-thruk-backend