Post Installation Nagios Log Server is not accessible

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

Hello Team,

I have installed the Nagios Log Server, i am attaching the output that i got dur8ing the installation . Post installation when i am hitting http://<myserver_hostname>/nagioslogserver/ i am getting the webpage is not available.

I can see httpd and one java process for elastic search is running.

Could you help me in debugging the issue, we are looking for the license version in future, but firstly want to try it out using free trail.

Thanks,
Varun T
You do not have the required permissions to view the files attached to this post.
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Re: Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

Now i am getting

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache/2.2.15 (CentOS) Server at 10.188.32.79 Port 80
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Post Installation Nagios Log Server is not accessible

Post by Box293 »

Looking through you log I noticed this:

No package java-1.7.0-openjdk available.

I'll look into this some more. In the mean time can you:
tail -f /var/logs/http/error_log

Now access the
http://<myserver_hostname>/
And send us the result that the tail displays.

After the install, were you ever able to access the web interface.

Another question, was this a clean CentOS server or does it have other things installed on it? Nagios Log Server requires it to be installed on a clean CentOS server with the minimal options selected.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Re: Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

I did some debugging , post which i am getting the Nagios Log Server Interface.

Thank you for your help !
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Post Installation Nagios Log Server is not accessible

Post by tmcdonald »

Out of curiosity, what was the fix? NLS is still a new product so anything we can learn about what might not work "in the wild" is going to be quite useful.
Former Nagios employee
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Re: Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

The problem was on the Apache server, as i am testing on a LAB VMs, somebody messed the up with modjk and it is looking for port 5009. I deleted those settings and took a restart which fixed the issue.

But now the Problem which i am facing is no data is being reported in the dashboard , its been more than 12 hours but no data has been reported.

Could you help me on this ? We are looking forward for the potential that NLS has, so we need your urgent help on this regard.
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Re: Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

Just to update on the same, that traffic is allowed form my local machine to the NLS on Port 5544.
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Re: Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

Also, we are looking forward to purchase license for NLS if it works well with our requirement.

Could you please align someone with me from NLS team, who can guide me in setting the NLS as per our need, so that i can show case it to the Higher Management and then we can proceed further.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Post Installation Nagios Log Server is not accessible

Post by Box293 »

It's most likely SELinux causing your issue.

You can set it to permissive:

Code: Select all

sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config 
setenforce 0 
Once you've done the second command the data should be received immediately.

You can also watch the traffic to make sure it is being sent and received.

On the NLS execute this command:

Code: Select all

tcpdump host 192.168.207.131 and tcp port 5544 
Where 192.168.207.131 is the ip address the traffic is coming from

On your remote server execute this command:

Code: Select all

tcpdump tcp dst port 5544 and dst host 192.168.207.156


Where 192.168.207.156 is the ip address of the destination NLS.
varuntyagi17101986 wrote:Could you please align someone with me from NLS team, who can guide me in setting the NLS as per our need, so that i can show case it to the Higher Management and then we can proceed further.
I'll be able to continue to help you out, just keep posting in this thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
varuntyagi17101986
Posts: 7
Joined: Fri Oct 17, 2014 5:37 am

Re: Post Installation Nagios Log Server is not accessible

Post by varuntyagi17101986 »

Selinux is already disabled.

And i have installed NLS on my LAB VM, where the apache is also running and i am collecting the data of the same apache.

So both Apache and NLS are on same host but still data is not being generated.

Is there anyway we can go on a webex session to configure it ?
Locked