Open fguay opened 9 years ago
It reminds me this : naparuba/shinken#1488
Can you try without sudo and edit the sudoers properly?
Hi Seb,
So, I changed the command file reload-shinken like this :
[root@hapi-fgu-shinken-1 centos]# more /etc/shinken/commands/reload-shinken.cfg
define command {
command_name reload-shinken
command_line /etc/init.d/shinken reload
}
And it work fine. I didn't really understood why, but it works.
Thanks for your help and your job on this mod.
Idem for /etc/shinken/commands/restart-shinken.cfg. It works fine without sudo.
Hello,
I use shinken 2.2 with ws-arbiter in receiver daemon. When I try to use WS-Arbiter with reload ws
I have that in the log :
I have strictly the same with restart ws.
I try the target command directly with my user shinken and it's work fine :
I put the daemon in debug mode but I didn't have more information.
I checked the issue #8 but my command reload/restart are correctly in directory /etc/shinken/commands and seems to be correct.
Last idea, I checked selinux audit log and there are nothing about this command and my shinken user is sudoers.
Thanks for your help.