<p>Hi,</p>
<p>After Installed Nagios2.7 and Nagios plugin-1.4.5.<br>The following configuration files are located in /usr/local/nagios/etc<br>cgi.cfg-sample  commands.cfg-sample  localhost.cfg-sample  nagios.cfg-sample  resource.cfg-sample
</p>
<p>Later copy those from $NAGIOSHOME/etc/*.cfg-sample to $NAGIOSHOME/etc/*.cfg as </p>
<p>cgi.cfg  commands.cfg  htpasswd.users  localhost.cfg  nagios.cfg  resource.cfg</p>
<div>The below configuration are not availble in /usr/local/nagios/etc/ .<br>Do we need to create these files in /usr/local/nagios/etc/ or did I missed any thing during installation time. </div>
<div>Please let me know.</div>
<p>cfg_file=/usr/local/nagios/etc/contactgroups.cfg<br>  cfg_file=/usr/local/nagios/etc/contacts.cfg<br>  cfg_file=/usr/local/nagios/etc/dependencies.cfg<br>  #cfg_file=/usr/local/nagios/etc/escalations.cfg<br>  cfg_file=/usr/local/nagios/etc/hostgroups.cfg
<br>  cfg_file=/usr/local/nagios/etc/hosts.cfg<br>  cfg_file=/usr/local/nagios/etc/servicegroups.cfg<br>  cfg_file=/usr/local/nagios/etc/disk_services.cfg<br>  cfg_file=/usr/local/nagios/etc/database_services.cfg<br>  cfg_file=/usr/local/nagios/etc/web_services.cfg
<br>  cfg_file=/usr/local/nagios/etc/local_services.cfg<br>  cfg_file=/usr/local/nagios/etc/timeperiods.cfg<br>  cfg_file=/usr/local/nagios/etc/windows-services.cfg<br>  # PERFPARSE LINE BELOW<br>  cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg
</p>
<p>  <a href="http://www.totkat.org/pages/nagios-conf.shtml">http://www.totkat.org/pages/nagios-conf.shtml</a></p>
<p>Thanks,<br>Raghavendra.</p><br><br>
<div><span class="gmail_quote">On 1/30/07, <b class="gmail_sendername">David Rudder</b> <<a href="mailto:david.rudder@reliableresponse.net">david.rudder@reliableresponse.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">By the way, NagiosExchange has a plugin for monitoring JMX.<br><a href="http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=808&tx_netnagext_pi1[page]=10%3A10">
http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=808&tx_netnagext_pi1[page]=10%3A10</a><br><br>It doesn't address, specifically, what you asked for.  But, it may be<br>even better.  For instance, your Java app will throw out of memory
<br>errors if it reaches the maximum allocated to the VM.  This is usually<br>way below the amount available to the OS.  So, you'll want to measure<br>memory usage via JMX and not via the standard OS calls.<br><br>-Dave
<br><br>David Rudder wrote:<br>> c) is a difficult one, but I expect it's been handled before.<br>> Tomcat stores its logs in the httpd common log format.  So, any nagios<br>> plugins that examine the Apache logs should be able to handle Tomcat's
<br>> as well.  I see Ethan wrote a check_log that will check for a pattern.<br>> Maybe you could build on that.  If you're just looking to see if a<br>> request took a long time, you can add %D to the access log pattern
<br>> (specified in conf/server.xml).  That shows the time it took, in millis,<br>> to fulfill the request.  However, I'm not sure if a page's request takes<br>> longer for a client with a slow link.<br>>
<br>> Anyway, given the standardized way Tomcat stores it's log, it might not<br>> be too difficult to find someone who solved the same problem for<br>> Apache's httpd and apply that to Tomcat.<br>><br>
> -Dave<br>><br>> raghavendra kristam wrote:<br>><br>>> Hi,<br>>><br>>> I am quite new to nagios and finally I installed the required<br>>> softwares on linux machine.<br>>> I am able to access the web interface using the url
<br>>> http://<localhost>:90/nagios <http://%3Clocalhost%3E:90/nagios>.<br>>><br>>> a) nagios-2.7<br>>> b) nagios-plugins-1.4.5<br>>> c) Apache httpd-2.2.4<br>>> d) mysql4.1.22
<br>>><br>>><br>>> I need to do the following scenarios with nagios. Please let me know<br>>> how to handle this scenarios.<br>>><br>>> a)For server availability: listening to Tomcat server port
<br>>> periodically and send out notification when there is no response on<br>>> the port.<br>>> b)For memory/disk usage: periodically check memory/disk space and send<br>>> out notification when the usage reaches certain thresholds.
<br>>> c) For requests per minute for the Tomcat Server and per JSP level<br>>> requests per minute and response time<br>>><br>>><br>>> Please let me know whether all these scenarios supported by nagios or
<br>>> not ?<br>>><br>>> Thanks,<br>>> Raghavendra.<br>>><br>>> ------------------------------------------------------------------------<br>>><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 href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>>> ------------------------------------------------------------------------
<br>>><br>>> _______________________________________________<br>>> Nagios-users mailing list<br>>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>>> 
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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>>><br>><br>><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 href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>> _______________________________________________<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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>><br><br></blockquote></div><br>