Hi All,
Please help me here i have my own java application that writes logs into logs file now i want all the logs should go to nagios log servere
wherever my application writes the logs it should be live manner so i can set alerts
but i am not able to stream logs can you please help i am using below steps but did not work and i will to run them in background so it can read and send logs contentiously
curl -sS -O http://localhost/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s localhost -p 5544 -f "/home/ubuntu/*.log" -t java_logs
how do i send my java based applications logs to nagios log
Re: how do i send my java based applications logs to nagios
Run "rsyslog -N 1" on the Ubuntu machine to check for errors in the rsyslog config.
I would also try running:
This will display any data that is being sent to the NLS machine and help narrow down where the problem could be.
I would also try running:
Code: Select all
apt-get install tcpdump
tcpdump -s 0 -i any port 5544 -nnX
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.