Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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?
...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.
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 12:41 PM.
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???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.