Page 1 of 1

Configure remote host to forward application logs NLS

Posted: Fri Jan 24, 2020 12:57 pm
by oordor
Have anyone configured Centos server running application like ngnix, httpd and WSO2 off of docker container to send the logs to nagios log server.
What process did you take to implement it.

Just started working with NLS and have configured the remote hosts to push log to NLS, but I only see syslog been pushed to the NLS dashboard but not the application logs.

Any suggestion or direction will help.

/Jane.

Re: Configure remote host to forward application logs NLS

Posted: Fri Jan 24, 2020 3:46 pm
by cdienger
I've responded on the ticket that was opened to address this. It sounds like we'll need to get more information on what steps were taken, but most files can sent in over syslog. Steps for sending Apache over syslog for example can be found in the NLS interface. Simply point your browser to http://nls_ip/nagioslogserver/configure/source/apache​. And other files from a Linux OS can be sent with the steps at http://nls_ip/nagioslogserver/configure/source/linux-files.

We also have a python script that can be used to send files to NLS:http://nls_ip/nagioslogserver/configure/source/import . It uses the 2057 port (JSON input) instead of syslog.