how do i send my java based applications logs to nagios log
Posted: Fri Jun 12, 2020 11:22 am
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
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