Page 1 of 1

I find application logs automatically from Dashboard of Nag

Posted: Wed Jun 19, 2019 10:59 am
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

Re: I find application logs automatically from Dashboard of

Posted: Wed Jun 19, 2019 11:06 am
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