Page 1 of 1

Share Step by Step Process to monitor Unix Server Logfile

Posted: Tue Oct 01, 2013 1:44 am
by neodg
Hi Experts,

I'm New to NAGIOS TOOL please share the STEP BY STEP Process to Monitor the UNIX Logfile,

Instead of sharing Links.. Please we can arrange the remote session understand more clearly the process.

The Requirement as follow,

Configuring text based monitoring on Staging Webservices Application Servers logs present under the following path:-
NEOTSTGWS
NEOTSTGW

/usr/jboss/jboss-soa-p.4.3.0/jboss-as/logs


Please do the Needful .

Need Information: Could you share information like, The Plugins are License/Price based ?

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 8:16 am
by sreinhardt
Well I do not know of any jboss specific log monitoring. However you could certainly look at some of the standard linux log monitoring solutions that are already available on exchange and tailor it to your needs.

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 10:21 am
by neodg
I believe, This is also similar to usual Unix Log file Monitoring,

They have shared Pattern Matching is Like-- >ERROR and frequency of checking is 30 mins.

It will be great helpful to me, If you share some sample Unix Log File and steps to implement the Log file.

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 10:28 am
by amybrown
Instead of monitoring the log files, why not monitor JBoss directly? There are numerous pre-written scripts for checking JBoss and JBoss queues via Nagios. I'm using a custom mbean some lovely person wrote to monitor my JBoss instances. I wasn't able to mess with the log monitoring because all our logs get written out to a secured server.

This is the site I got it from - http://jboss2nagios.sourceforge.net/

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 11:04 am
by slansing
Either of the above suggestions would work well, I would look into this plugin here for log monitoring:

http://exchange.nagios.org/directory/Pl ... es/details

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 11:06 am
by lmiltchev
neodg, let us know if amybrown's post answered your question.

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 11:07 am
by neodg
Thanks for your suggestion,These plugins are cost based or free one ?

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 11:11 am
by neodg
slansing wrote:Either of the above suggestions would work well, I would look into this plugin here for log monitoring:

http://exchange.nagios.org/directory/Pl ... es/details
For New User, instead of placing links, If you share step by step procedure to implement/use plugin means it ll be good help

Re: Share Step by Step Process to monitor Unix Server Logfil

Posted: Tue Oct 01, 2013 1:05 pm
by lmiltchev
Many of the plugins, including the "check_logfiles" that you need are NOT developed by nagios. They are 3rd party plugins, and you will need to follow the links, and look for a step-by-step procedures on developer's website. For this particular plugin, you can check this link:

http://labs.consol.de/nagios/check_logfiles/

We have an official document, describing how to manage plugins in Nagios XI. There are step-by-step instructions on how to install and test a plugin, how to add a command and service definition, etc. You can review the document here:

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Hope this helps.