{"id":11747,"date":"2021-03-30T16:56:46","date_gmt":"2021-03-30T19:56:46","guid":{"rendered":"https:\/\/made4it.com.br\/partial-fall-triggers\/"},"modified":"2023-03-08T15:41:02","modified_gmt":"2023-03-08T18:41:02","slug":"partial-fall-triggers","status":"publish","type":"post","link":"https:\/\/made4it.com.br\/en\/partial-fall-triggers\/","title":{"rendered":"Partial drop triggers"},"content":{"rendered":"\n<p>Many times when monitoring a link, we create triggers that emit alarms only when a link has a total drop or when it is at its maximum capacity. But what if it happens to present only a partial drop, or a degradation? For this purpose, it is possible to create a trigger that issues an alarm of a graph drop of more than 30% compared to the total of the last 15min. Or one that shows a drop of more than 60% comparing the last collection with the same time 7 days ago.<\/p>\n\n<p><strong>&#8211; Partial drop of 30% <\/strong><\/p>\n\n<p>To create this trigger we will use the following structure for the \u201cdownload\u201d traffic: {<a href=\"http:\/\/192.168.162.80\/zabbix\/items.php?form=update&amp;itemid=33127\"><strong>host<\/strong>:net.if.in[ifHCInOctets.<strong>OctetoDoItem<\/strong>]<\/a>.last<strong>()<\/strong>}&lt;0.7*{<a href=\"http:\/\/192.168.162.80\/zabbix\/items.php?form=update&amp;itemid=33127\"><strong>host<\/strong>:net.if.in[ifHCInOctets.<strong>OctetoDoItem<\/strong>]<\/a>.avg<strong>(<\/strong>15m<strong>)<\/strong>} and {<a href=\"http:\/\/192.168.162.80\/zabbix\/items.php?form=update&amp;itemid=33127\"><strong>host<\/strong>:net.if.in[ifHCInOctets.<strong>OctetoDoItem<\/strong>]<\/a>.last<strong>()<\/strong>}&gt;=100M<\/p>\n\n<p>And the following structure for the \u201cupload\u201d traffic:<\/p>\n\n<p>{<a href=\"http:\/\/192.168.162.80\/zabbix\/items.php?form=update&amp;itemid=33127\"><strong>host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>]<\/a>.last<strong>()<\/strong>}&lt;0.7*{<a href=\"http:\/\/192.168.162.80\/zabbix\/items.php?form=update&amp;itemid=33127\"><strong>host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>]<\/a>.avg<strong>(<\/strong>15m<strong>)<\/strong>} and {<a href=\"http:\/\/192.168.162.80\/zabbix\/items.php?form=update&amp;itemid=33127\"><strong>host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>]<\/a>.last<strong>()<\/strong>}&gt;=100M<\/p>\n\n<p>Where \u201c<strong>host<\/strong>\u201d is written, we must pass the name of the host that we will create the trigger and where \u201c<strong>OctetDoItem<\/strong>\u201d is written, we must pass the octet number of the item that we want to create the trigger, the octet is a unique identification of each item. The last parameter that we pass is the same parameter used to identify the total drop in a link, and we put that it needs to be greater than the parameter, so the trigger that partial drop is not active together with the total drop.<\/p>\n\n<p><strong>&#8211; Partial drop of 60%<\/strong><\/p>\n\n<p>To create this trigger we will use the following structure for the \u201cdownload\u201d traffic: <\/p>\n\n<p>{<strong>host<\/strong>:net.if.in[ifHCInOctets.<strong>OctetoDoItem<\/strong>].last(#1)}\/{<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#5040)}&lt;=0.4 and {<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#2)}\/{<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#5041)}&lt;=0.4 and {<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#3)}\/{<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#5042)}&lt;=0.4 and {<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#4)}\/{<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#5043)}&lt;=0.4 and {<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#5)}\/{<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last(#5044)}&lt;=0.4 and {<strong> host<\/strong>:net.if.in[ifHCInOctets. <strong> OctetoDoItem<\/strong>].last()}&gt;50M<\/p>\n\n<p>To create this trigger we will use the following structure for the \u201cupload\u201d traffic: <\/p>\n\n<p>{<strong>host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#1)}\/{<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#5040)}&lt;=0.4 and {<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#2)}\/{<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#5041)}&lt;=0.4 and {<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#3)}\/{<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#5042)}&lt;=0.4 and {<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#4)}\/{<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#5043)}&lt;=0.4 and {<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#5)}\/{ <strong>host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last(#5044)}&lt;=0.4 and {<strong> host<\/strong>:net.if.out[ifHCOutOctets.<strong>OctetoDoItem<\/strong>].last()}&gt;50M<\/p>\n\n<p>Where \u201c<strong>host<\/strong>\u201d is written, we must pass the name of the host that we will create the trigger and where \u201c<strong>OctetDoItem<\/strong>\u201d is written, we must pass the octet number of the item that we want to create the trigger, the octet is a unique identification of each item. The last parameter that we pass is the same parameter used to identify the total drop in a link, and we put that it needs to be greater than the parameter, so the trigger that partial drop is not active together with the total drop.<\/p>\n\n<p><strong>Operation of each trigger<\/strong><\/p>\n\n<p>the trigger of <strong>partial drop of 30%<\/strong> it works as follows, it compares the last collection from zabbix with the average of the collections of the last 15 minutes, if there is a drop of 30% in relation to the last collection with the average and there has not been a total drop, an alert is issued to us.<\/p>\n\n<p>The <strong>60% partial drop<\/strong> trigger works by comparing the last 5 zabbix collections with the collections of 7 days ago at the same time.<\/p>\n\n<p><strong>Difference between triggers<\/strong><\/p>\n\n<p>The 30% partial drop trigger we use with the idea of discovering when we have a sudden drop, while the 60% trigger we use to compare the traffic with the previous week, to know when there is a drop in traffic from one week to the next. other.<\/p>\n\n<p>Did you like our tutorial today?&nbsp;<\/p>\n<p>Tell us what you think?<\/p>\n<p>Remembering that we have our monitoring 24&#215;7 and this article was written by our monitoring manager, if you don&#8217;t want to have to worry about your network we invite you to know a little more about our work with Made4Noc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understand how partial drop triggers can help you and how you can create 30% and 60% partial drop triggers<\/p>\n","protected":false},"author":13,"featured_media":8686,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""},"footnotes":""},"categories":[352],"tags":[],"class_list":["post-11747","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized-en"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/11747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/comments?post=11747"}],"version-history":[{"count":0,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/11747\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/media\/8686"}],"wp:attachment":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/media?parent=11747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/categories?post=11747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/tags?post=11747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}