External Commands not working...

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cstewart
Posts: 3
Joined: Thu Feb 18, 2021 4:27 pm

External Commands not working...

Post 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?
Locked