Share Script and steps to config log file monitor

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 Script and steps to config log file monitor

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

Re: Share Script and steps to config log file monitor

Post 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
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Share Script and steps to config log file monitor

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

Re: Share Script and steps to config log file monitor

Post 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.
neodg
Posts: 31
Joined: Wed Jul 10, 2013 11:56 am

Re: Share Script and steps to config log file monitor

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

Re: Share Script and steps to config log file monitor

Post 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.
Locked