Search found 6 matches

by dpurtell
Tue Nov 24, 2020 12:46 pm
Forum: Open Source Nagios Projects
Topic: Error: Unable to write to check_result_path ('/usr/local/nag
Replies: 6
Views: 3818

Re: Error: Unable to write to check_result_path ('/usr/local

Resolved this write issue with the following commands: chcon -R -t httpd_sys_script_exec_t /usr/local/nagios/sbin chcon -R -t httpd_sys_script_exec_t /usr/local/nagios/bin chcon -R -t bin_t /usr/local/nagios/bin/nagios /sbin/restorecon -v /usr/local/nagios/bin/nagios semanage fcontext -a -t httpd_sy...
by dpurtell
Tue Nov 24, 2020 12:44 pm
Forum: Open Source Nagios Projects
Topic: NagiosQL Restart Nagios fails with error
Replies: 0
Views: 1291

NagiosQL Restart Nagios fails with error

Running nagios core 4.4.3 and NagiosQL 3.4.0 RHEL7 Linux with selinux in enforcing mode In NagiosQL, under Tools/Nagios control, when I select the Do it button under Restart Nagios, I receive the error: Nagios daemon is not running, cannot send restart command But Nagios is running. Seeing this in t...
by dpurtell
Thu Sep 03, 2020 2:02 pm
Forum: Open Source Nagios Projects
Topic: Error: Unable to write to check_result_path ('/usr/local/nag
Replies: 6
Views: 3818

Re: Error: Unable to write to check_result_path ('/usr/local

Additional information - Do not get this permissions error with selinux in permissive mode, only get it when selinux is in enforcing mode.
by dpurtell
Thu Sep 03, 2020 11:02 am
Forum: Open Source Nagios Projects
Topic: Error: Unable to write to check_result_path ('/usr/local/nag
Replies: 6
Views: 3818

Re: Error: Unable to write to check_result_path ('/usr/local

# ls -ld /usr/local/nagios/var/spool/checkresults drwxrws---. 2 nagios nagios 6 Sep 1 14:33 /usr/local/nagios/var/spool/checkresults # ls -ld /usr/local/nagios/var/spool drwxrwxrw-. 3 nagios nagios 26 Jun 10 2019 /usr/local/nagios/var/spool # ls -ld /usr/local/nagios/var drwxrwxr-x. 5 nagios nagios ...
by dpurtell
Thu Sep 03, 2020 10:48 am
Forum: Open Source Nagios Projects
Topic: Error: Unable to write to check_result_path ('/usr/local/nag
Replies: 6
Views: 3818

Error: Unable to write to check_result_path ('/usr/local/nag

Running nagios core 4.4.3 and NagiosQL 3.4.0 RHEL7 Linux Running the command prompt confuration files check runs successfully without issue, but running the Tools/Nagios control/Check configuration files button returns this error Error: Unable to write to check_result_path ('/usr/local/nagios/var/sp...