LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2013, 12:50 PM   #1
sarah allali
LQ Newbie
 
Registered: Jan 2013
Location: Morocco
Distribution: Debian , ubunto
Posts: 15

Rep: Reputation: Disabled
Monitor tomcat remotely with nagios


Hi everyone.

I am using tomcat version 7.0.34 and nagios for monitoring services and harware resources. Can someone help me to monitor tomcat status remotely from nagios server? Is tomcat up or down.

So any suggestion how to integrate it with nagios?

Many thanks in advance.
 
Old 02-22-2013, 01:22 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,265

Rep: Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440
Quote:
Originally Posted by sarah allali View Post
Hi everyone.
I am using tomcat version 7.0.34 and nagios for monitoring services and harware resources. Can someone help me to monitor tomcat status remotely from nagios server? Is tomcat up or down.

So any suggestion how to integrate it with nagios?
Did you try looking on the Nagios website?? Google?? Putting in "how to monitor tomcat with nagios" pulls up lots. The VERY FIRST HIT is:
http://www.nagios.com/solutions/tomcat-monitoring

...which tells you that yes, Nagios can do it, and even has a link to where you can get one of several plug-ins. You can also write your own plugin, if what's there doesn't fit your needs.
 
Old 02-22-2013, 01:35 PM   #3
sarah allali
LQ Newbie
 
Registered: Jan 2013
Location: Morocco
Distribution: Debian , ubunto
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thank you ,

yes i saw that already , so what do i have to do to make it work then , can you show me because i already tried and it didn't work for me.

and i found that there is another method to monitor it by defining a check :

define command{
command_name Check_Http_Tomcat
command_line $USER1$/check_http -H hostname -p port
}
but it didn't work either i know that i am missing something but i dont know exactly what it is i am new with nagios and everything so i hope you undestand me please .

thank you

Last edited by sarah allali; 02-22-2013 at 01:41 PM.
 
Old 02-22-2013, 02:00 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,265

Rep: Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440Reputation: 4440
Quote:
Originally Posted by sarah allali View Post
Thank you ,
yes i saw that already , so what do i have to do to make it work then, can you show me
If you saw it already, then you saw the pages that have installation instructions. You READ the instructions, and FOLLOW THEM.
Quote:
because i already tried and it didn't work for me.
...and without telling us WHAT you tried (which plugin out of the several?), or how it failed (what error(s)/message(s) did you get?), we can't tell you anything. We're not going to guess.
Quote:
and i found that there is another method to monitor it by defining a check :

define command{
command_name Check_Http_Tomcat
command_line $USER1$/check_http -H hostname -p port
}
but it didn't work either i know that i am missing something but i dont know exactly what it is i am new with nagios and everything so i hope you undestand me please
Again, no idea what you mean by "it didn't work", past the obvious. You posted it as "hostname" and "port"...did you actually put YOUR hostname and port in the check???
 
  


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
Start Tomcat Server Remotely bhaumik Linux - Newbie 31 06-27-2014 11:49 AM
i am unable to monitor or connect remote linux server uning nagios 3.3 on nagios linn nandunay Linux - Server 2 05-09-2012 05:56 AM
Tomcat Log monitor with Nagios ayush1440 Linux - Software 1 03-21-2012 11:06 AM
Need to monitor tomcat using Nagios server call_krushna Linux - Server 7 02-02-2012 05:42 AM
Tomcat Start remotely bhaumik Linux - Newbie 9 09-18-2010 03:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration