Share Step by Step Process to monitor Unix Server Logfile

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Share Step by Step Process to monitor Unix Server Logfile

Post 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 ?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

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

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

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

Post 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.
amybrown
Posts: 22
Joined: Tue Oct 25, 2011 3:59 pm

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

Post 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/
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

neodg, let us know if amybrown's post answered your question.
Be sure to check out our Knowledgebase for helpful articles and solutions!
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

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

Post by neodg »

Thanks for your suggestion,These plugins are cost based or free one ?
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

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

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked