Empty dashboard but logstash is collecting logs

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
uma K
Posts: 63
Joined: Tue Feb 14, 2017 12:41 pm

Re: Empty dashboard but logstash is collecting logs

Post by uma K »

I have made the required modifications but still logs stopped collecting.

Elasticsearch:
[2018-11-16 10:49:32,909][WARN ][transport.netty ] [abd0aca5-8cbf-4f11-988e-be0d778f5f95] exception caught on transport layer [[id: 0xdebca5fb]], closing connection
java.net.NoRouteToHostException: No route to host
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:748)
^C
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Empty dashboard but logstash is collecting logs

Post by scottwilkerson »

Can you post the output of this command

Code: Select all

cat /etc/hosts
It seems like your system may be missing the localhost entry
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uma K
Posts: 63
Joined: Tue Feb 14, 2017 12:41 pm

Re: Empty dashboard but logstash is collecting logs

Post by uma K »

Hi I have attached etc/hosts from all 4 servers.

Unable to restart node 3 and 4 still. My cluster says only 2 nodes exists in the dashboard.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Empty dashboard but logstash is collecting logs

Post by scottwilkerson »

Can you look at the following file on all 4 hosts and make sure it contains the IP's of all the other hosts

Code: Select all

/usr/local/nagioslogserver/var/cluster_hosts
If not, add them, then restart elasticsearch
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uma K
Posts: 63
Joined: Tue Feb 14, 2017 12:41 pm

Re: Empty dashboard but logstash is collecting logs

Post by uma K »

Yea, All the 4 servers have IP's of all the 4 servers in the specified path

/usr/local/nagioslogserver/var/cluster_hosts
uma K
Posts: 63
Joined: Tue Feb 14, 2017 12:41 pm

Re: Empty dashboard but logstash is collecting logs

Post by uma K »

Logstash is not collecting any logs. after pipeline is started I dont have any log entry as well.
and server 3 and 4 is unable to start as well.

[root@X1LOGW01 logstash]# tail -f logstash.log
{:timestamp=>"2018-11-16T10:48:18.154000-0800", :message=>"SIGTERM received. Shutting down the agent.", :level=>:warn}
{:timestamp=>"2018-11-16T10:48:18.157000-0800", :message=>"stopping pipeline", :id=>"main"}
{:timestamp=>"2018-11-16T10:48:47.359000-0800", :message=>"Pipeline main started"}
{:timestamp=>"2018-11-16T15:30:14.048000-0800", :message=>"SIGTERM received. Shutting down the agent.", :level=>:warn}
{:timestamp=>"2018-11-16T15:30:14.049000-0800", :message=>"stopping pipeline", :id=>"main"}
{:timestamp=>"2018-11-16T15:30:56.494000-0800", :message=>"Pipeline main started"}
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Empty dashboard but logstash is collecting logs

Post by scottwilkerson »

We may need to setup a remote session to take a look at the cluster, can you open a ticket here and reference this forum thread
https://support.nagios.com/tickets/

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uma K
Posts: 63
Joined: Tue Feb 14, 2017 12:41 pm

Re: Empty dashboard but logstash is collecting logs

Post by uma K »

Can you please assist on this. Currently my production nagios log server is down and logstash is not collecting logs.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Empty dashboard but logstash is collecting logs

Post by scottwilkerson »

scottwilkerson wrote:We may need to setup a remote session to take a look at the cluster, can you open a ticket here and reference this forum thread
https://support.nagios.com/tickets/

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uma K
Posts: 63
Joined: Tue Feb 14, 2017 12:41 pm

Re: Empty dashboard but logstash is collecting logs

Post by uma K »

Hello, I have opened a support ticket

268619
Locked