Search found 7 matches

by jcooper
Mon Apr 17, 2017 1:06 pm
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Re: Reading Configuration File

Still no luck, log files don't tell me much, at least nothing that stands out to me. access.log: nagiosadmin [17/Apr/2017:13:59:04 -0400] "GET /nagios HTTP/1.1" 301 574 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133...
by jcooper
Mon Apr 17, 2017 6:34 am
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Re: Reading Configuration File

No luck, still getting the configuration file error message.
by jcooper
Thu Apr 13, 2017 11:56 am
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Re: Reading Configuration File

I've attached the code for the above command.

Also I installed this following instructions linked on the Nagios website.
by jcooper
Wed Apr 12, 2017 6:57 am
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Re: Reading Configuration File

I've attached syslog and the apache error lines are below: [Wed Apr 12 07:35:02.317235 2017] [mpm_prefork:notice] [pid 1391] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations [Wed Apr 12 07:35:02.317295 2017] [core:notice] [pid 1391] AH00094: Command line: '/usr/sbin/apache2' ...
by jcooper
Tue Apr 11, 2017 12:16 pm
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Re: Reading Configuration File

Apache user "www-data" was already a member of the Nagios group When attempting to run command "setenforce 0" it tells me it's not installed. I'm just looking for possible solutions to why nagiosadmin can't read the config file (Nagios.cfg). I've done the Nagios config file check...
by jcooper
Tue Apr 11, 2017 7:08 am
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Re: Reading Configuration File

Output:
root@server:~# la -la /usr/local/nagios/etc/nagios.cfg
-rw-rw-r-- 1 nagios nagios 44879 Apr 6 14:19 /usr/local/nagios/etc/nagios.cfg

Nagios admin doesn't show up as I believe it's due to it being set up as an apache2 user?

Any help is greatly appreciated!
by jcooper
Mon Apr 10, 2017 11:47 am
Forum: Open Source Nagios Projects
Topic: Reading Configuration File
Replies: 15
Views: 5435

Reading Configuration File

New server have only configured a few things. When I log in as nagiosadmin I get the error 'Error: Could not read object configuration data!" I've verified the configuration files and they seem legit. It acts as though nagiosadmin doesn't have permission to view the config file. Where can I che...