Can't get Nagios to display

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.
psrch
Posts: 10
Joined: Thu Nov 17, 2016 5:26 pm

Re: Can't get Nagios to display

Post by psrch »

I can definitely PM you the files, which I'll do in the morning. How much of the file do you need - it's a production server, and the file(s) are fairly large. Or maybe I can zip the files, and send you a link to download them. Woould that work?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Can't get Nagios to display

Post by dwhitfield »

For clarity, this is a new install of Nagios, correct? How much of the files I need is going to depend on how hard those logs are getting hit, but if it's a new install, it shouldn't be much...proportionally.

Did you try to access the webui in another browser?

After you've PMed the files, please update this forum thread. That's the only way for it to pop back up on our dashboard.

UPDATE: Files received and shared with techs.
psrch
Posts: 10
Joined: Thu Nov 17, 2016 5:26 pm

Re: Can't get Nagios to display

Post by psrch »

Yes, this is a brand new install of Nagios. I sent the files via PM.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Can't get Nagios to display

Post by dwhitfield »

Ok, one thing jumps out at me immediately. The access log has ton of entries for nagios-plugins 1.4, but the instructions you used are for Nagios Plugins 2.1. There are instructions for installing the new plugins at https://support.nagios.com/kb/article.php?id=96

I also notice the logs both end on Nov 2. I assume you just took these from the beginning of the file and Nagios was installed on Oct 31. Is that correct? That shouldn't really matter since this has never worked, but it is possible there are new problems that have been introduced.

I also notice the following errors. We've not seen the particular error you are getting, so I would suggest cleaning up these aliases before we move forward. I just want to rule it out.

Code: Select all

[Tue Nov 01 09:46:53.437600 2016] [alias:warn] [pid 19340] AH00671: The ScriptAlias directive in /etc/apache2/conf/httpd.conf at line 432 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Nov 01 09:46:53.437712 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 437 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:46:53.437730 2016] [alias:warn] [pid 19340] AH00671: The ScriptAlias directive in /etc/apache2/conf/httpd.conf at line 439 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Nov 01 09:46:53.437742 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 440 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:46:53.437757 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 442 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:46:53.437773 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 445 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:46:53.437805 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 448 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:47:33.311921 2016] [alias:warn] [pid 19340] AH00671: The ScriptAlias directive in /etc/apache2/conf/httpd.conf at line 431 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Nov 01 09:47:33.312028 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 436 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:47:33.312047 2016] [alias:warn] [pid 19340] AH00671: The ScriptAlias directive in /etc/apache2/conf/httpd.conf at line 438 will probably never match because it overlaps an earlier ScriptAlias.
[Tue Nov 01 09:47:33.312058 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 439 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:47:33.312073 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 441 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:47:33.312089 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 444 will probably never match because it overlaps an earlier Alias.
[Tue Nov 01 09:47:33.312105 2016] [alias:warn] [pid 19340] AH00671: The Alias directive in /etc/apache2/conf/httpd.conf at line 447 will probably never match because it overlaps an earlier Alias.
I just want you to be aware that we will be closed for US Thanksgiving tomorrow and Friday. We are also closing early today. Of course, community members will still be around to help with issues.
psrch
Posts: 10
Joined: Thu Nov 17, 2016 5:26 pm

Re: Can't get Nagios to display

Post by psrch »

Ok, I'll clean aliases up and make sure the plugins are updated. There's no real rush, just want to get it working.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Can't get Nagios to display

Post by dwhitfield »

Fantastic. We await results.
psrch
Posts: 10
Joined: Thu Nov 17, 2016 5:26 pm

Re: Can't get Nagios to display

Post by psrch »

Well, did all that and it didn't change. Even cleared the browser cache.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Can't get Nagios to display

Post by avandemore »

I am confused on this topic. /etc/apache2/ doesn't normally exist on CentOS. Why are these references in the log files?
Previous Nagios employee
psrch
Posts: 10
Joined: Thu Nov 17, 2016 5:26 pm

Re: Can't get Nagios to display

Post by psrch »

avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Can't get Nagios to display

Post by avandemore »

Nagios isn't intended to be run on the same system as Cpanel. Both systems compete for Apache configuration. Nagios cannot support such a configuration.

Earlier you stated you followed: https://assets.nagios.com/downloads/nag ... entos7.pdf

Please note it states This document is intended for use by anyone who wishes to install Nagios Core on a Centos 7 minimal machine.

All this being said, Nagios and Cpanel can still coexisit if Apache is configured correctly. I do not have that information available, but I am confident you can make it work. Here is more info for you:

https://httpd.apache.org/docs/
https://www.linode.com/docs/troubleshoo ... che-issues
https://www.digitalocean.com/community/ ... nux-server
Previous Nagios employee
Locked