Not receiving logs with nxlog

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Plop59
Posts: 1
Joined: Wed May 11, 2016 8:23 am

Not receiving logs with nxlog

Post by Plop59 »

Hello,
I've tried the Nagios Log Server in evaluation mode and just install nxlog on a VM Windows 2008R2.
I put the configuration file given by NLS, adding rules to NLS firewall and still not receiving any log in the dashboard...

Here the last lines of my nxlog.txt :
2016-05-11 15:28:23 INFO connecting to 55.x.x.x:3515
2016-05-11 15:28:23 INFO nxlog-ce-2.9.1347 started

I tried the debug mode and the nxlog_output give me this :
{"EventTime":"2016-05-11 15:16:31","Hostname":"W115909M2SER","SeverityValue":2,"Severity":"INFO","SourceName":"nxlog-ce","ProcessID":1608,"EventReceivedTime":"2016-05-11 15:16:31","SourceModuleName":"internal","SourceModuleType":"im_internal","message":"nxlog-ce-2.9.1347 started"}
{"EventTime":"2016-05-11 15:16:31","Hostname":"W115909M2SER","SeverityValue":2,"Severity":"INFO","SourceName":"nxlog-ce","ProcessID":1608,"EventReceivedTime":"2016-05-11 15:16:31","SourceModuleName":"internal","SourceModuleType":"im_internal","message":"connecting to 55.116.7.70:3515"}

Can you help us to test NLS ?

Thanks,

greetings,

Nicolas.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Not receiving logs with nxlog

Post by hsmith »

Can you do a tcpdump on port 3515 on your log server to see if the logs are even hitting the server? Also, did you make sure you restarted the nxlog service after making changes to the configuration?

Code: Select all

yum install tcpdump
tcpdump port 3515
Former Nagios Employee.
me.
Locked