LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2012, 02:13 AM   #1
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
Tomcat Log monitor with Nagios


Hello Friends,

I System Admin and works with Amazon Cloud & Lots of Tomcat / Java apps. As a admin Its my duty to monitor tomcat server & others too.

I configured Nagios with nrpe and works very well. Now I want to monitor tomcat logs for any app error.

I setup basic monitor for tomcat like http host monitor with tomcat port. But now in a detail monitor purpose I require logs monitor.

I tried check_log & other tools too. But I am not satisfied with this.

I found Nagios Appender for Java/ Tomcat. I think this is nice but this is based on Log4j and my app runs on logback. Also it support NCSA Server not NRPE.

I am not java guy so I don't understand how to use this Nagios Appender with logback.

Sorry for long story..

Guys, Please help me on this, I require your advice to monitor Tomcat logs.


Kindly please help on this. Help would be really appreciated.

Thanks & Regards,
 
Old 03-21-2012, 10:06 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,183

Rep: Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475Reputation: 6475
Quote:
Originally Posted by ayush1440 View Post
Hello Friends,
I System Admin and works with Amazon Cloud & Lots of Tomcat / Java apps. As a admin Its my duty to monitor tomcat server & others too. I configured Nagios with nrpe and works very well. Now I want to monitor tomcat logs for any app error. I setup basic monitor for tomcat like http host monitor with tomcat port. But now in a detail monitor purpose I require logs monitor. I tried check_log & other tools too. But I am not satisfied with this. I found Nagios Appender for Java/ Tomcat. I think this is nice but this is based on Log4j and my app runs on logback. Also it support NCSA Server not NRPE.

I am not java guy so I don't understand how to use this Nagios Appender with logback. Sorry for long story.. Guys, Please help me on this, I require your advice to monitor Tomcat logs.
If you looked on the Nagios site, you'd find options for Tomcat monitoring already:
http://www.nagios.com/solutions/tomcat-monitoring
http://exchange.nagios.org/index.php...rchword=tomcat

...and also for log file monitoring:
http://exchange.nagios.org/directory/Plugins/Log-Files

Your post is a bit vague..not sure if you want to monitor Tomcat itself, or just check the logs for errors. The existing check_logfiles plugin can monitor any logs you wish for any pattern you wish. You just have to configure it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to monitor tomcat using Nagios server call_krushna Linux - Server 7 02-02-2012 04:42 AM
/nagios log lasalilltu Linux - Server 2 07-11-2011 05:05 AM
Nagios Monitor bsdfan Linux - Networking 1 07-26-2010 02:36 AM
Nagios Warning log hunter_cao7 Linux - Software 3 05-12-2009 03:31 AM
Nagios on tomcat Vince-0 Linux - Software 2 04-22-2008 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration