I find application logs automatically from Dashboard of Nag

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
nagioscarnovale
Posts: 20
Joined: Tue Feb 05, 2019 9:53 am

I find application logs automatically from Dashboard of Nag

Post by nagioscarnovale »

Hey everyone,

I created 99-nagioslogserver.conf through
sudo bash setup-linux.sh -s nagioslogserver -p 5544

/etc/rsyslog.d
more 99-nagioslogserver.conf
### Begin forwarding rule for Nagios Log Server NAGIOSLOGSERVER
$WorkDirectory /var/lib/rsyslog # Where spool files will live NAGIOSLOGSERVER
$ActionQueueFileName nlsFwdRule0 # Unique name prefix for spool files NAGIOSLOGSERVER
$ActionQueueHighWaterMark 8000 # NAGIOSLOGSERVER
$ActionQueueLowWaterMark 2000 # NAGIOSLOGSERVER
$ActionQueueMaxDiskSpace 1g # 1GB space limit (use as much as possible) NAGIOSLOGSERVER
$ActionQueueSaveOnShutdown on # Save messages to disk on shutdown NAGIOSLOGSERVER
$ActionQueueType LinkedList # Use asynchronous processing NAGIOSLOGSERVER
$ActionResumeRetryCount -1 # Infinite retries if host is down NAGIOSLOGSERVER
# Remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional NAGIOSLOGSERVER
*.* @@nagioslogserver:5544 # NAGIOSLOGSERVER
### End of Nagios Log Server forwarding rule NAGIOSLOGSERVER

but from the Dashboard of Nagios LS
i can find the tomcat / liferay application logs.

How can this be possible?

Thanks in advance
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: I find application logs automatically from Dashboard of

Post by scottwilkerson »

nagioscarnovale wrote:but from the Dashboard of Nagios LS
i can find the tomcat / liferay application logs.

How can this be possible?
Does that application log to syslog?
If not you will also need to add the application logs

Instruction in Log Server
Add Log Source -> File Monitoring -> Linux Files
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked