Page 1 of 1

Checking for a particular log

Posted: Mon Apr 20, 2020 3:20 pm
by chud
I have a log file that is apparently not being sent from a Linux server to my Nagios Log Server:
/opt/app/apache-tomcat-8.5.43/logs/idmadap.log

1. How do I verify if this particular log is being sent?
2. If it is not being sent, how do I add it?

Re: Checking for a particular log

Posted: Mon Apr 20, 2020 3:39 pm
by chud
Attempting to answer my own question here, regarding my second question (how to send the log) would I do something like this?

Code: Select all

# bash setup-linux.sh -s logservername -p 5544 -f /opt/app/apache-tomcat-8.5.43/logs/idmadap.log -t idmadap

Re: Checking for a particular log

Posted: Mon Apr 20, 2020 3:45 pm
by cdienger
That should do the trick. You can then search for entries from this file in the dashboard with a query:

Code: Select all

program:idmadap