Linux / UNIX Tech Support Forum
This is a discussion on Tomcat status monitoring with Nagios within the Web servers forums, part of the Mastering Servers category; Hi, I am using tomcat version 5.5.9 and nagios for monitoring services and harware resources in my office environment. Can ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I am using tomcat version 5.5.9 and nagios for monitoring services and harware resources in my office environment. Can someone help me to monitor tomcat status remotely from nagios server? Is tomcat up or down and throw email if tomcat is down? I know there isnt any builtin pluggin so probably it would be like to write a script and then get its out put. we can check the status of tomcat in many ways like 1. $ ps fax | grep tomcat | grep Djav or 2. netstat -ltn | grep 8085 note: my tomcat is listening on 8085. So any suggestion how to integrate it with nagios? Many thanks in advance. Sam. |
| Sponsored Links | ||
|
|
|
|||
|
Quote:
Thanks forr your reple mate. I had configured it before checking this email spent my more than 1 hour to do this Thanks anyway. |
|
||||
|
Hello My Friend,
Quote:
Code:
[root@radio5 nagios]# ./check_http -H hostname -w 4 -c 10 OK - HTTP/1.1 302 Found - 0.003 second response time |time=0.002857s;4.000000;10.000000;0.000000 size=563B;;;0 [root@radio5 nagios]# My test gave a time=0.002857s Which gave the OK flag. HTH, Jaysunn |
![]() |
| Tags |
| java , java server , linux , monitor tomcat server , monitoring , nagios , networking , tomcat |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do i configure nagios-1.2-2.0.rh9.rf.i386.rpm & nagios-plugins-1.3.1-10.rh to RH9 | fadu | Linux software | 1 | 08-31-2009 06:53 AM |
| mrtg apache tomcat | blackj | CentOS / RHEL / Fedora | 1 | 08-08-2008 01:14 AM |
| Nagios on tomcat? | Vince-0 | Linux software | 0 | 04-22-2008 02:30 PM |
| hda: status timeout: status=0xd0 { Busy } | surmandal | Linux hardware | 3 | 03-24-2008 09:16 PM |
| Monitoring FreeBSD Jails for Updates with Nagios? | igno2k | All about FreeBSD/OpenBSD/NetBSD | 0 | 11-12-2007 09:05 PM |