Page 1 of 1

Share Script and steps to config log file monitor

Posted: Fri Sep 27, 2013 9:49 am
by neodg
Hi Experts,

We got the requirement to configure logfile monitoring on Linux server.

configuring text based monitoring on Webservices Application Servers logs present under the following path:

/usr/jboss/jboss-soa-p.4.3.0/jboss-as/logs
Please share script and steps to monitor the logfile

Re: Share Script and steps to config log file monitor

Posted: Fri Sep 27, 2013 9:57 am
by slansing
There are a number of Jboss based plugins here:

http://exchange.nagios.org/index.php?op ... word=jboss

If you are just trying to view a standard log file and parse it I would take a look at this:

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

Re: Share Script and steps to config log file monitor

Posted: Fri Sep 27, 2013 1:25 pm
by neodg
Thanks for your reply,

Now i can understand that we can use the check_log file plugin, and could you please suggest me that, how and where we can place the Warning and critical value and word pattern.

Re: Share Script and steps to config log file monitor

Posted: Fri Sep 27, 2013 1:32 pm
by slansing
This page will explain the usage as well as examples of that plugin:

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

You can also use the -h flag when calling the plugin from the command line to show usage examples.

Re: Share Script and steps to config log file monitor

Posted: Mon Sep 30, 2013 5:07 am
by neodg
Hi Experts,

I'm new to this Nagios tool, please share step by step to install Nagios Plug-in and help me to use checked_logfile.

Sharath

Re: Share Script and steps to config log file monitor

Posted: Mon Sep 30, 2013 9:21 am
by slansing
All you need to do is follow the creators guide on the page I linked you, it will walk you through the entire process.