<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (filtered medium)"><title>What Switch Metric Are You Monitoring</title><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hello Rab,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I monitor the following services on my Cisco Switches.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ping<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Uplink status + bandwidth utilisation<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPU (Avg 5 mins)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Environment (FAN, PSU)</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <br><br><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If my server was connected to the network as below:<br><br><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Server1 => Switch1 => Switch2 => Localhost (Nagios)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I would configure the parent/child relationship this way.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Server1 Parent = Switch1<br>Switch1 Parent = Switch2<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Switch2 Parent  = Localhost<br></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br>If you do this you will end up with the Nagios network map looking like your network documentation.  Also If switch2 does down Nagios will assume Switch1 and Server1 are also unavailable and will suppress notifications.<br><br>I have also setup service dependencies so that all my switch as follows<br><br><br></span><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>define servicedependency {</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       dependent_host_name                      HPK3044<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       dependent_service_description            CPU 5 min average,Environmental monitoring,Link to HPD-LRE Bandwidth,Link to HPD-LRE Status,Link to HPKDC1 Bandwidth,Link to HPKDC1 Status,Vlan 1 Bandwidth,Vlan 1 Status<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       host_name                                HPK3044<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       service_description                      Ping<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       inherits_parent                          1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       execution_failure_criteria               w,u,c<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       notification_failure_criteria            w,u,c<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>       dependency_period                        24x7</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  <br><br>This makes all the monitored services on the switch dependant on the switch being pingable.  If the ping service is in the warning, critical or unknown state all the other services will not produce notifications. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope this helps<br><br>Chris Macleod<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br><br><br><br><br><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Robert Jackson [mailto:rab@walkermartyn.co.uk] <br><b>Sent:</b> 13 August 2010 10:20<br><b>To:</b> nagios-users@lists.sourceforge.net<br><b>Subject:</b> [Nagios-users] What Switch Metric Are You Monitoring<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-size:7.5pt'>I’m currently on Nagios Core 3.2.1 and I’m just starting to setup</span> <span style='font-size:7.5pt'>monitoring of our network switches. Can someone share what</span> <span style='font-size:7.5pt'>switch</span> <span style='font-size:7.5pt'>metrics they are recording (and find most useful).</span> <span style='font-size:7.5pt'>Just now, I’m only registering PING and Uptime (through SMNP).</span> <span style='font-size:7.5pt'>Also how are you handling parent/child relationships for the switches/ports etc?</span> <span style='font-size:7.5pt'>Basically if a switch is down, then I would only want to receive and alert regarding this and not anything else related to the port or device</span> <span style='font-size:7.5pt'>connected to the port.</span><o:p></o:p></p><p><span style='font-size:7.5pt'>Regards,</span><o:p></o:p></p><p><span style='font-size:7.5pt'>Rab.</span><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>=====================================================</span><o:p></o:p></p><p><span style='font-size:7.5pt'>Robert Jackson                                  Phone: +44 (0) 141 332 7999</span><o:p></o:p></p><p><span style='font-size:7.5pt'>IT Manager                                           Fax: +44 (0) 141 331 2820</span><o:p></o:p></p><p><span style='font-size:7.5pt'>Walker Martyn Ltd</span><o:p></o:p></p><p><span style='font-size:7.5pt'>1 Park Circus Place                            Email:</span> <a href="mailto:rab@walkermartyn.co.uk"><span style='font-size:7.5pt'>rab@walkermartyn.co.uk</span></a><o:p></o:p></p><p><span style='font-size:7.5pt'>Glasgow G3 6AH, Scotland                   Web:</span> <a href="http://www.walkermartyn.co.uk"><span style='font-size:7.5pt'>http://www.walkermartyn.co.uk</span></a><o:p></o:p></p><p><span style='font-family:"Calibri","sans-serif"'>=====================================================</span><o:p></o:p></p><p>************************************************************************ <o:p></o:p></p><p>The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact <a href="mailto:administrator@walkermartyn.co.uk">administrator@walkermartyn.co.uk</a>.<o:p></o:p></p><p>Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK.<o:p></o:p></p><p>**************************************************************** <o:p></o:p></p><p class=MsoNormal><br>________________________________________________________________________<br>This e-mail has been scanned for all viruses by MessageLabs. TEG-IN<o:p></o:p></p></div><BR>
________________________________________________________________________<BR>
This e-mail has been scanned for all viruses by Message Labs.  <BR>
Please enjoy our brands responsibly. www.drinkaware.co.uk<BR>
The Edrington Group is a private limited company registered in Scotland (Registered Number SC 36374) with its Registered Office at 2500 Great Western Road, Glasgow, G15 6RW.<BR>
________________________________________________________________________<BR>
</body></html>