Currently evaluating Nagios Log server in a cloud environment. I am using nxlog to push logs through to Nagios LS but just recently nagios has stopped receiving log files.
The below message is from the nxlog.log.
ERROR couldn't connect to tcp socket on xxx.xxx.xx.xxx:xxxx; No connection could be made because the target machine actively refused it.
I am still able to telnet to the address from where the log file is located, the Nagios Log server interface is working as normal.
I only recently added alot additional logs to test if there would be a performance hit on the server which is hosting Nagios LS at the moment. I am wondering since the Naguis LS UI is all working that we may have went over the '500mb/day 7-day rolling average' and something within the product has disabled receiving the logs?
This may be a simple question but I was unable to find any information on this using google.
Nagios LS refusing connection?
-
tomslmonitor
- Posts: 20
- Joined: Mon Dec 07, 2015 8:15 pm
Re: Nagios LS refusing connection?
Just an update, it appears to be receiving log files again but not data is populating in any of the dashboards.
In System status the Core Services never give me a tick that it is working, they just continuously appear to be loading (1 hour still spinning).
Which is weird since the system status next to the logo in the top left hand corner of the page is telling me that the System status is good.
In System status the Core Services never give me a tick that it is working, they just continuously appear to be loading (1 hour still spinning).
Which is weird since the system status next to the logo in the top left hand corner of the page is telling me that the System status is good.
Re: Nagios LS refusing connection?
This is odd - do you have resources available? Can you run these two commands and post the result?
Code: Select all
top|head -5
df -h
Former Nagios Employee
-
tomslmonitor
- Posts: 20
- Joined: Mon Dec 07, 2015 8:15 pm
Re: Nagios LS refusing connection?
Thanks for your response rkennedy.
Bear with me as I'm not familiar with linux so much, after googling around for commands to check statistics prior to your response. I did end up figuring out that it was a memory issue.
After adding additional log sources, it started using more memory (duh) which can be seen below.
We are working on getting more memory onto the server.
Thanks again!
Bear with me as I'm not familiar with linux so much, after googling around for commands to check statistics prior to your response. I did end up figuring out that it was a memory issue.
After adding additional log sources, it started using more memory (duh) which can be seen below.
Code: Select all
top - 09:31:02 up 17:47, 1 user, load average: 0.21, 0.19, 0.11
Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.6%us, 0.6%sy, 1.0%ni, 95.4%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4056952k total, 3928380k used, 128572k free, 8164k buffers
Swap: 262136k total, 38212k used, 223924k free, 540460k cached
Thanks again!
Re: Nagios LS refusing connection?
No problem, glad to see you found the issue.
I'll close this out now, feel free to open a new thread if you ever need assistance in the future!
I'll close this out now, feel free to open a new thread if you ever need assistance in the future!
Former Nagios Employee