Search found 12 matches

by Aelonia
Wed Sep 06, 2017 11:50 am
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

Yeah, that totally works. I tried redoing the whole installation process one more time, and there were some warnings after running cd /tmp/nagioscore-nagios-4.3.4/ sudo ./configure --with-httpd-conf=/opt/local/apache2/conf/extra --with-gd-lib=/opt/local/lib --with-gd-inc=/opt/local/include sudo make...
by Aelonia
Tue Sep 05, 2017 5:46 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

I've attached my nagios.cfg file. Unfortunately, the 'chage' command doesn't seem to exist. And I don't need it on OSX. I'm looking into database monitoring for a research project, so before I set up a VM or try to set it running on a linux server, since there were OSX instructions, it seemed easier...
by Aelonia
Tue Sep 05, 2017 4:20 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

If you changed the file to be something specific, if should be nagios . What do you mean when you checked NagiosUser, it was blank? Are you saying you echoed the variable? Yeah, which I guess isn't terribly useful. Just really not sure why sudo /etc/rc.d/init.d/nagios start isn't working for me.
by Aelonia
Sun Sep 03, 2017 11:24 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

I can touch nagios.configtest just fine, which creates the blank file. chown nagios:nagios /usr/local/nagios/var/nagios.configtest doesn't work unless I use sudo - I get "Operation not permitted". And I can similarly chmod the file if I use sudo. However, that doesn't seem to help with run...
by Aelonia
Fri Sep 01, 2017 1:17 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

ls -al /usr/local/nagios/var/nagios.configtest ls: /usr/local/nagios/var/nagios.configtest: No such file or directory ls -al /usr/local/nagios/var total 104 drwxrwxrwx 9 nagios nagios 306 Aug 31 19:46 . drwxr-xr-x 8 root wheel 272 Aug 18 16:11 .. drwxrwxr-x 8 nagios nagios 272 Aug 31 00:00 archives...
by Aelonia
Thu Aug 31, 2017 6:46 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

I noticed there was an update to 4.3.4 since I last tried to install, so I tried running through the instructions with the new version and am now getting stopped when trying to start nagios. Upon running sudo /etc/rc.d/init.d/nagios start, I get: -n Starting nagios: ERROR: Could not create or update...
by Aelonia
Thu Aug 31, 2017 2:45 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

If I comment out the lines it complained about, then it starts complaining about lines in /opt/local/apache2/conf/extra/nagios.conf. If I comment out the lines in that one, then I get: AH00557: httpd: apr_sockaddr_info_get() failed for mcnulty AH00558: httpd: Could not reliably determine the server'...
by Aelonia
Tue Aug 29, 2017 6:36 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

When I run apachectl -M | grep cgi I get the error: httpd: Syntax error on line 611 of /private/etc/apache2/httpd.conf: Could not open configuration file /conf/extra/nagios.conf: No such file or directory The tutorial had me add Include conf/extra/nagios.conf Include conf/extra/mod_php70.conf to htt...
by Aelonia
Mon Aug 28, 2017 5:06 pm
Forum: Open Source Nagios Projects
Topic: Problems installing/testing Nagios on OSX Sierra
Replies: 22
Views: 9295

Re: Problems installing/testing Nagios on OSX Sierra

In /opt/local/apache2/modules/, I have: httpd.exe mod_authz_dbm.so mod_dbd.so mod_imagemap.so mod_proxy_ajp.so mod_substitute.so mod_actions.so mod_authz_default.so mod_deflate.so mod_include.so mod_proxy_balancer.so mod_unique_id.so mod_alias.so mod_authz_groupfile.so mod_dir.so mod_info.so mod_pro...