Checking for a particular log

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
chud
Posts: 36
Joined: Thu Jul 18, 2019 5:51 pm

Checking for a particular log

Post 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?
chud
Posts: 36
Joined: Thu Jul 18, 2019 5:51 pm

Re: Checking for a particular log

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Checking for a particular log

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked