{"id":1315,"date":"2021-03-11T11:23:26","date_gmt":"2021-03-11T16:23:26","guid":{"rendered":"https:\/\/increasec.com\/?p=1315"},"modified":"2021-03-11T11:30:34","modified_gmt":"2021-03-11T16:30:34","slug":"monitoring-stp-changes-with-prtg","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=1315","title":{"rendered":"Monitoring STP changes with PRTG"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">PRTG is my recommended monitoring solution for small-medium businesses.   It is easy to install &amp; setup on Windows and is free for up to 100 monitors.  This requires a managed switch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">STP or Spanning Tree Protocol is a Layer 2 switching protocol used to prevent loops (loops cause broadcast storms)  Small companies don&#8217;t have the expertise to understand STP or set it to act in a predictable manner.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This monitor can at least confirm STP changed and that&#8217;s why the network went &#8220;wonky&#8221; for a minute.  And you can yell at whoever is plugging and unplugging cables.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t have one already, add a device and set the address to your main switch.  PRTG usually discovers your main switch automatically.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"525\" src=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-6.png\" alt=\"\" class=\"wp-image-1316\" srcset=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-6.png 368w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-6-210x300.png 210w\" sizes=\"auto, (max-width: 368px) 100vw, 368px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">From the devices screen, right click your main switch and choose Add a sensor.   Click SNMP Custom as the sensor type<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"290\" height=\"203\" src=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-7.png\" alt=\"\" class=\"wp-image-1317\" srcset=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-7.png 290w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-7-100x70.png 100w\" sizes=\"auto, (max-width: 290px) 100vw, 290px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Add a senor name, OID value is 1.3.6.1.2.1.17.2.3.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Divide by 6000 to get a value in minutes.  you could divide by 360000 to get a value in hours but then you might get an overwhelming amount of alerts when it triggers.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"641\" src=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-8.png\" alt=\"\" class=\"wp-image-1318\" srcset=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-8.png 538w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-8-252x300.png 252w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you want an email notification when this is triggered, right click your new sensor, choose edit, and Notification Triggers<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"618\" height=\"181\" src=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-9.png\" alt=\"\" class=\"wp-image-1319\" srcset=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-9.png 618w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-9-300x88.png 300w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the Top pane click the plus sign and Add Threshold Trigger, fill in our threshold values of below 1 minute for 1 second, send and email to whoever.  no email when resolved.  In the pane below choose &#8220;only triggers from the top pane&#8221; as we don&#8217;t care to get an alert when PRTG fails to read the SNMP entry.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"327\" src=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-10-1024x327.png\" alt=\"\" class=\"wp-image-1320\" srcset=\"https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-10-1024x327.png 1024w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-10-300x96.png 300w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-10-768x245.png 768w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-10-710x227.png 710w, https:\/\/increasec.com\/wp-content\/uploads\/2021\/03\/image-10.png 1421w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">All done.  your email alert may be delayed as PRTG is trying to send the alert while your network it trying to re-converge.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PRTG is my recommended monitoring solution for small-medium businesses. It is easy to install &amp; setup on Windows and is free for up to 100 monitors. This requires a managed&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[158,155],"class_list":["post-1315","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-prtg","tag-stp"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/1315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1315"}],"version-history":[{"count":4,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/1315\/revisions"}],"predecessor-version":[{"id":1325,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/1315\/revisions\/1325"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}