Closed alexvea closed 3 months ago
[root@avea-central-2310-el9 centreon_check_command_on_svc_conf_page-main]# cat show_install_cmd cp -f centreon_check_command.class.php /usr/share/centreon/www/api/class/centreon_check_command.class.php cp -f formService.ihtml /usr/share/centreon/www/include/configuration/configObject/service/formService.ihtml -- On your all pollers your pollers execute the folowing : -- echo "GORGONE ALL = (centreon-engine) NOPASSWD: /usr/lib64/nagios/plugins/check_*" >> /etc/sudoers.d/centreon-gorgone echo "GORGONE ALL = (centreon-engine) NOPASSWD: /usr/lib/centreon/plugins/centreon_*" >> /etc/sudoers.d/centreon-gorgone echo "GORGONE ALL = (centreon-engine) NOPASSWD: /bin/echo" >> /etc/sudoers.d/centreon-gorgone[root@avea-central-2310-el9 centreon_check_command_on_svc_conf_page-main]#
https://github.com/alexvea/centreon_check_command_on_svc_conf_page/commit/b14273d7c5b22bc6b56b3d43d2c05f2334e98127