<!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>HELP, In need of a script</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Does anyone have a script that I could modify that kind of does the following......</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">(Think MRTG and Nagios here)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">When using check_mrtg on a particular circuit it returns a value...say 100.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The script would do the following.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">It would take the output of the check_mrtg plugin and if this value is greater than 100 it would run tcpdump (dumping output to a file) for 15 minutes and then stop.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">How does Nagios run external script files based on output from a plugin, is there a direct call somewhere?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any help or scripts can be emailed to me directly if you don't mind giving me your hard earned scripting.  I'm new at this and my VP said that I have to have it working by COB Monday.  </FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks in Advance for any info.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Chris.</FONT>
</P>
<BR>

</BODY>
</HTML>