On 1/30/07, <b class="gmail_sendername">raghavendra kristam</b> <<a href="mailto:raghavendra.kristam@gmail.com">raghavendra.kristam@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>Hi,</p>
<div>I am quite new to nagios and finally I installed the required softwares on linux machine.  <br>I am able to access the web interface using the url <a>http://<localhost>:90/nagios
</a>.<br> </div>
<div>a) nagios-2.7<br>b) nagios-plugins-1.4.5<br>c) Apache httpd-2.2.4<br>d) mysql4.1.22</div>
<p><br>I need to do the following scenarios with nagios. Please let me know how to handle this scenarios.</p>
<p>a)For server availability: listening to Tomcat server port periodically and send out notification when there is no response on the port. <br>b)For memory/disk usage: periodically check memory/disk space and send out notification when the usage reaches certain thresholds. 
<br>c) For requests per minute for the Tomcat Server and per JSP level requests per minute and response time</p></blockquote><div><br><br>a: Simply use the check_http plugin and supply the port as 8080. I assume that's what your tomcat instance listens on.
<br>b: Use either check_snmp or use check_disk plugins to accomplish these.<br>c: Not sure if you can do this. I certainly don't know of any Nagios plugins that will do this for you. Maybe tomcat exposes this information via JMX or something similar, but I'm not too up on that. Either way you're going to be writing your own plugin to monitor it.
<br><br>For how to use each of the mentioned plugins, simply run them with the -h switch and go from there. Most are extremely self explanitory.<br><br>Rob.<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<p>Please let me know whether all these scenarios supported by nagios or not ?</p>
<p>Thanks,<br>Raghavendra.</p>
<br>-------------------------------------------------------------------------<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your
<br>opinions on IT & business topics through brief surveys - and earn cash<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV" target="_blank">
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>_______________________________________________<br>Nagios-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>