<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] Extension to "Monitoring CPU load - capturing process list"</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Along these same lines, I have a service check which takes about 30 seconds to run. While it runs it collects a lot of info. If there are any faults the output of the script contains information which tells you what the fault is in more detail. The first line is always a summary of the condition eg STATUS OK or ERROR etc, and this is what Nagios reports as the "Status Information".</FONT></P>
<P><FONT SIZE=2>Similarly to the CPU question below, I could stick this info in a log file local to the monitored host but it would be significantly better if Nagios collected this additional information returned to it and allowed me to query it.</FONT></P>
<P><FONT SIZE=2>For example if the Nagios Status details shows something like</FONT>
</P>
<P><FONT SIZE=2>Service State Information</FONT>
<BR><FONT SIZE=2>Current Status: WARNING </FONT>
<BR><FONT SIZE=2>Status Information: EWP Windsor Status - ERROR</FONT>
<BR><FONT SIZE=2>Current Attempt: 1/3</FONT>
<BR><FONT SIZE=2>State Type: HARD</FONT>
<BR><FONT SIZE=2>Last Check Type: ACTIVE</FONT>
<BR><FONT SIZE=2>etc</FONT>
</P>
<P><FONT SIZE=2>then it would be extremely useful to be able to click on the "EWP Windsor Status - ERROR" and be shown the rest of the details that were returned to Nagios when it ran the service check. This would then centralise the pertinent part of the logs and enable quick and easy access to pertinent information about the fault. This would be far simpler and quicker (for the Nagios user) than having to connect to the remote machine, find the log and then read it.</FONT></P>
<P><FONT SIZE=2>Is this something than can currently be done or is this an enhancement to Nagios?</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Hochberg, Keith [<A HREF="mailto:Keith.Hochberg@mtvi.com">mailto:Keith.Hochberg@mtvi.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, 13 August 2003 1:41:am</FONT>
<BR><FONT SIZE=2>To: Sam Stickland; nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>Subject: RE: [Nagios-users] Monitoring CPU load - capturing process list</FONT>
</P>
<BR>
<P><FONT SIZE=2>read up on eventhandlers...</FONT>
</P>
<P><FONT SIZE=2><A HREF="http://nagios.sourceforge.net/docs/1_0/eventhandlers.html" TARGET="_blank">http://nagios.sourceforge.net/docs/1_0/eventhandlers.html</A></FONT>
</P>
<P><FONT SIZE=2>-Keith</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Sam Stickland [<A HREF="mailto:sam_ml@spacething.org">mailto:sam_ml@spacething.org</A>] </FONT>
<BR><FONT SIZE=2>Sent: Tuesday, August 12, 2003 11:18 AM</FONT>
<BR><FONT SIZE=2>To: nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2>Subject: [Nagios-users] Monitoring CPU load - capturing process list</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi,</FONT>
</P>
<P><FONT SIZE=2>I'm using nagios-statd to monitor the CPU load of several machines. They</FONT>
<BR><FONT SIZE=2>sometimes record high CPU load when an engineer isn't immediately</FONT>
<BR><FONT SIZE=2>available</FONT>
<BR><FONT SIZE=2>to diagnose the problem.</FONT>
</P>
<P><FONT SIZE=2>Is there someway of capturing and storing the results of 'top' so the</FONT>
<BR><FONT SIZE=2>problem can be looked at a later date?</FONT>
</P>
<P><FONT SIZE=2>Or, I suppose, more appropriately (and dangerously if not done right)</FONT>
<BR><FONT SIZE=2>running arbitrary commands on the machine in response to alerts and</FONT>
<BR><FONT SIZE=2>capturing this output somewhere.</FONT>
</P>
<P><FONT SIZE=2>Thanks,</FONT>
</P>
<P><FONT SIZE=2>Sam</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This SF.Net email sponsored by: Free pre-built ASP.NET sites including</FONT>
<BR><FONT SIZE=2>Data Reports, E-commerce, Portals, and Forums are available now.</FONT>
<BR><FONT SIZE=2>Download today and enter to win an XBOX or Visual Studio .NET.</FONT>
<BR><FONT SIZE=2><A HREF="http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01" TARGET="_blank">http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01</A></FONT>
<BR><FONT SIZE=2>/01</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when</FONT>
<BR><FONT SIZE=2>reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>
<BR>
<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This SF.Net email sponsored by: Free pre-built ASP.NET sites including</FONT>
<BR><FONT SIZE=2>Data Reports, E-commerce, Portals, and Forums are available now.</FONT>
<BR><FONT SIZE=2>Download today and enter to win an XBOX or Visual Studio .NET.</FONT>
<BR><FONT SIZE=2><A HREF="http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01" TARGET="_blank">http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
<BR><FONT SIZE=2>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. </FONT>
<BR><FONT SIZE=2>::: Messages without supporting info will risk being sent to /dev/null</FONT>
</P>
</BODY>
</HTML><table><tr><td bgcolor=#ffffff><font color=#000000><pre>www.sensis.com.au
A leading Australian advertising, information
and directories business.
www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 9201 4888]
</pre></font></td></tr></table>