Page 1 of 2
Post Installation Nagios Log Server is not accessible
Posted: Fri Oct 17, 2014 6:17 am
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
Re: Post Installation Nagios Log Server is not accessible
Posted: Fri Oct 17, 2014 8:27 am
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
Re: Post Installation Nagios Log Server is not accessible
Posted: Fri Oct 17, 2014 1:47 pm
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.
Re: Post Installation Nagios Log Server is not accessible
Posted: Tue Oct 21, 2014 4:51 am
by varuntyagi17101986
I did some debugging , post which i am getting the Nagios Log Server Interface.
Thank you for your help !
Re: Post Installation Nagios Log Server is not accessible
Posted: Tue Oct 21, 2014 1:20 pm
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.
Re: Post Installation Nagios Log Server is not accessible
Posted: Wed Oct 22, 2014 4:03 am
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.
Re: Post Installation Nagios Log Server is not accessible
Posted: Wed Oct 22, 2014 4:05 am
by varuntyagi17101986
Just to update on the same, that traffic is allowed form my local machine to the NLS on Port 5544.
Re: Post Installation Nagios Log Server is not accessible
Posted: Wed Oct 22, 2014 5:50 am
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.
Re: Post Installation Nagios Log Server is not accessible
Posted: Wed Oct 22, 2014 9:58 am
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.
Re: Post Installation Nagios Log Server is not accessible
Posted: Wed Oct 22, 2014 10:27 am
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 ?