Need some help regarding with tomcat server
David Rudder
david.rudder at reliableresponse.net
Tue Jan 30 18:25:22 CET 2007
By the way, NagiosExchange has a plugin for monitoring JMX.
http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=808&tx_netnagext_pi1[page]=10%3A10
It doesn't address, specifically, what you asked for. But, it may be
even better. For instance, your Java app will throw out of memory
errors if it reaches the maximum allocated to the VM. This is usually
way below the amount available to the OS. So, you'll want to measure
memory usage via JMX and not via the standard OS calls.
-Dave
David Rudder wrote:
> c) is a difficult one, but I expect it's been handled before.
> Tomcat stores its logs in the httpd common log format. So, any nagios
> plugins that examine the Apache logs should be able to handle Tomcat's
> as well. I see Ethan wrote a check_log that will check for a pattern.
> Maybe you could build on that. If you're just looking to see if a
> request took a long time, you can add %D to the access log pattern
> (specified in conf/server.xml). That shows the time it took, in millis,
> to fulfill the request. However, I'm not sure if a page's request takes
> longer for a client with a slow link.
>
> Anyway, given the standardized way Tomcat stores it's log, it might not
> be too difficult to find someone who solved the same problem for
> Apache's httpd and apply that to Tomcat.
>
> -Dave
>
> raghavendra kristam wrote:
>
>> Hi,
>>
>> I am quite new to nagios and finally I installed the required
>> softwares on linux machine.
>> I am able to access the web interface using the url
>> http://<localhost>:90/nagios <http://%3Clocalhost%3E:90/nagios>.
>>
>> a) nagios-2.7
>> b) nagios-plugins-1.4.5
>> c) Apache httpd-2.2.4
>> d) mysql4.1.22
>>
>>
>> I need to do the following scenarios with nagios. Please let me know
>> how to handle this scenarios.
>>
>> a)For server availability: listening to Tomcat server port
>> periodically and send out notification when there is no response on
>> the port.
>> b)For memory/disk usage: periodically check memory/disk space and send
>> out notification when the usage reaches certain thresholds.
>> c) For requests per minute for the Tomcat Server and per JSP level
>> requests per minute and response time
>>
>>
>> Please let me know whether all these scenarios supported by nagios or
>> not ?
>>
>> Thanks,
>> Raghavendra.
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list