alexvea / centreon_check_command_on_svc_conf_page

Real time check command test via gorgone
MIT License
1 stars 2 forks source link

"cat show_install_cmd" from install process, will shift prompt #8

Closed alexvea closed 3 months ago

alexvea commented 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]#
alexvea commented 3 months ago

https://github.com/alexvea/centreon_check_command_on_svc_conf_page/commit/b14273d7c5b22bc6b56b3d43d2c05f2334e98127