Page 1 of 1

External Commands not working...

Posted: Thu Feb 18, 2021 4:48 pm
by cstewart
I get the "It seems that you have chosen to not use the authentication functionality of the CGIs." error when trying to "Re-schedule next service check". I just installed it.

Nagios Core 4.4.2

I'm logged in as nagiosadmin

Using different mechanism for authetnication, just need nagiosadmin to be able to do everything

cgi.cfg:
use_authentication=0
authorized_for_system_commands=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_system_commands=nagiosadmin

nagios.cfg:
check_external_commands=1
nagios_user=nagios
nagios_group=nagios

ls -lh /usr/local/nagios/var/rw/
prw-rw----. 1 nagios nagcmd 0 Feb 18 21:22 nagios.cmd
srw-rw----. 1 nagios nagcmd 0 Feb 18 21:22 nagios.qh

cat /etc/group | grep nagios
nagcmd:x:2003:nagiosadmin,apache


What additional settings am I missing?