<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="PlaceType" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceName" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" /><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]--><style>
<!--
 /* 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"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Group,<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"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">I am trying to wrap my head around the best way to manage things like ping RTA/packet loss, partition free space warn/critical, cpu/memory use, etc.  I can set
 these up using custom object variables for a host template, and reference them via macros in the command definition.  If I need a different setting for a particular host, I can override these inherited values in that host’s config.  check_nrpe throws a bit
 of a wrench in this – I’d probably need a different command set up for each item I’d like to check via NRPE.  Does it sound like I’m on the right track?<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"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Another item I’m struggling with is how to monitor partitions easily. I can check all filesystems by just passing “/” as the argument. This makes it easy since
 I don’t care what the separate partitions are – if there is /var, /usr, and so on these will automatically be checked.  One problem is that if any one of these exceeds the threshold, the notification will occur, even if all the others are fine.  I am trying
 to avoid having to set up a service for each partition on each host.  Any thoughts on this? I’d rather use Nagios for this rather than something like Vertias Volume Manager’s space monitoring.<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"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">My generic host template:<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"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">define host{<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        name                            generic-host    ; The name of this host template<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        notifications_enabled           1               ; Host notifications are enabled<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        event_handler_enabled           1               ; Host event handler is enabled<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        flap_detection_enabled          1               ; Flap detection is enabled<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        failure_prediction_enabled      1               ; Failure prediction is enabled<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        process_perf_data               1               ; Process performance data<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        retain_status_information       1               ; Retain status information across program restarts<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        retain_nonstatus_information    1               ; Retain non-status information across program restarts<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        notification_period             24x7            ; Send host notifications at any time<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        register                        0               ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        #Default threshold variables<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        #check_ping       
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        _PING-RTA-W                      50             ;Round Trip Average Warn<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        _PING-RTA-C                      100            ;Round Trip Average Crit<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        _PING-PL-W                       10%            ;Packet Loss Warn<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        _PING-PL-C                       20%            ;Packet Loss Crit<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        _PING-PKT                        5              ;Packet count<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New""> }<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">My check_ping command:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New""><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">define command{<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        command_name    check_ping<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $_HOSTPING-RTA-W$,$_HOSTPING-PL-W$ -c $_HOSTPING-RTA-C$,$_HOSTPING-PL-C$ -p $_HOSTPING-PKT$<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Courier New"><span style="font-size:10.0pt;
font-family:"Courier New"">        }<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Robert C. Cipriani</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Senior Network Administrator</span></font><o:p></o:p></p>
<p class="MsoNormal"><st1:place w:st="on"><st1:PlaceName w:st="on"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Tampa</span></font></st1:PlaceName><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">
<st1:PlaceType w:st="on">Bay</st1:PlaceType></span></font></st1:place><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> Division IT</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Bright House Networks</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">W: (727) 329-2000 x74264</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">M: (727) 365-1231</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;
font-family:Arial">Nolite id cogere,
<st1:place w:st="on"><st1:PlaceType w:st="on">cape</st1:PlaceType> <st1:PlaceName w:st="on">
malleum</st1:PlaceName></st1:place> majorem</span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"> </span><o:p></o:p></font></p>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt"><o:p> </o:p></span></font></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="-2">CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately
 by return e-mail, purge it and do not disseminate or copy it.<br>
</font>
</body>
</html>