This support forum board is for support questions relating to
Nagios Log Server , our solution for managing and monitoring critical log data.
benhank
Posts: 1264 Joined: Tue Apr 12, 2011 12:29 pm
Post
by benhank » Mon Jun 08, 2015 10:48 am
I have a number of devices sending their log data to NLS using port 514. I sent over a few logs to test NLS, and I get this error:
Code: Select all
{:timestamp=>"2015-06-08T11:05:13.233000-0400", :message=>"syslog tcp listener died", :address=>"0.0.0.0:514", :exception=>#, :backtrace=>["org/jruby/ext/socket/RubyTCPServer.java:124:in `initialize'", "org/jruby/RubyIO.java:852:in `new'", "/usr/local/nagioslogserver/logstash/lib/logstash/inputs/syslog.rb:135:in `tcp_listener'", "/usr/local/nagioslogserver/logstash/lib/logstash/inputs/syslog.rb:90:in `run'"], :level=>:warn}
I have tested both of the following filters and get the error no matter which is active:
Code: Select all
syslog {
type => 'syslog'
port => 514
}
or
Code: Select all
input {
tcp {
port => 514
type => syslog
}
udp {
port => 514
type => syslog
}
}
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
eloyd
Cool Title Here
Posts: 2190 Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:
Post
by eloyd » Mon Jun 08, 2015 10:50 am
Edit: Posting removed by author for lack of reading the original question properly.
Last edited by
eloyd on Mon Jun 08, 2015 10:58 am, edited 1 time in total.
jolson
Attack Rabbit
Posts: 2560 Joined: Thu Feb 12, 2015 12:40 pm
Post
by jolson » Mon Jun 08, 2015 10:56 am
Have you already been through the privileged port guide? If not, please follow it:
https://assets.nagios.com/downloads/nag ... Server.pdf
If you have already done so, please post your entire Logstash configuration.
Code: Select all
cat /usr/local/nagioslogserver/logstash/etc/conf.d/*
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
benhank
Posts: 1264 Joined: Tue Apr 12, 2011 12:29 pm
Post
by benhank » Mon Jun 08, 2015 11:14 am
ok I made 2 mistakes:
1. I rebuilt the server and forgot to add the root usr.
2. the device was sending its logs as user not syslog.
thanks fellas
allset
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
ssax
Dreams In Code
Posts: 7682 Joined: Wed Feb 11, 2015 12:54 pm
Post
by ssax » Mon Jun 08, 2015 11:26 am
Glad you got that resolved, marking as resolved and locking the topic.