<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Futura Lt BT";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"MS Sans Serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I added a little bit of code to give
check_nt the ability to have warning and critical alerts against the
uptime.  Provide –w and –c values in minutes to alert. 
For example, to warn that the server was restarted within the last 2 hours use “./check_nt
–v UPTIME –w 120” and to provide a critical alert for
restarts within the last 15 minutes use: “./check_nt –v UPTIME –w
120 –c 15” (other required parameters were left out intentionally
to keep the e-mail brief).  The purpose of this change is to catch
restarts of systems in between the Nagios checks.  Some systems restart
faster than the configuration of the Nagios polling.  To do this replace
the “return_code=STATE_OK;“ under “else if(vars_to_check==CHECK_UPTIME){“
with the code below.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
if(check_critical_value==TRUE && (uptime / 60 <= critical_value))<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>           
return_code=STATE_CRITICAL;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
else if (check_warning_value==TRUE && (uptime / 60 <=
warning_value))<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>           
return_code=STATE_WARNING; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
else<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>        
   return_code=STATE_OK;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=teal face="Futura Lt BT"><span
style='font-size:10.0pt;font-family:"Futura Lt BT";color:teal'>__________________________________________________________________________________________</span></font></b></strong><font
face="MS Sans Serif"><span style='font-family:"MS Sans Serif"'><o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><st1:PersonName w:st="on"><strong><b><font size=2
 color=teal face="Futura Lt BT"><span style='font-size:10.0pt;font-family:"Futura Lt BT";
 color:teal'>Rick Glover</span></font></b></strong></st1:PersonName><strong><b><font
size=2 color=teal face="Futura Lt BT"><span style='font-size:10.0pt;font-family:
"Futura Lt BT";color:teal'>, Sr. Network Administrator, CCNA, MCP, MCSA </span></font></b></strong><font
size=2 color=teal face="Futura Lt BT"><span style='font-size:10.0pt;font-family:
"Futura Lt BT";color:teal'>| Paul, Hastings, Janofsky & Walker LLP | <st1:Street
w:st="on"><st1:address w:st="on">515 South Flower Street</st1:address></st1:Street>,
Twenty-third Floor, <st1:place w:st="on"><st1:City w:st="on">Los Angeles</st1:City>,
 <st1:State w:st="on">CA</st1:State></st1:place>  90071| direct: 213 683
5625 | main: 213 683 6000 | direct fax: 213 622 5545 | <a
href="mailto:RickGlover@PaulHastings.com">RickGlover@PaulHastings.com</a> </span></font><font
size=2 color=teal face="Futura Lt BT"><span style='font-size:10.0pt;font-family:
"Futura Lt BT";color:teal'>| <a href="http://www.paulhastings.com/">www.paulhastings.com</a></span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>

<P>_____________________________________<br>
This message is sent by a law firm and may contain information that is privileged or confidential.  If you received this transmission in error, please notify the sender by reply e-mail and delete the message and any attachments.<br>
<br>
For additional information, please visit our website at www.paulhastings.com.<br>
</P>