{"id":367,"date":"2008-02-03T16:26:12","date_gmt":"2008-02-03T15:26:12","guid":{"rendered":"https:\/\/www.networknet.nl\/apps\/wp\/archives\/367"},"modified":"2008-02-03T16:26:12","modified_gmt":"2008-02-03T15:26:12","slug":"use-cacti-to-monitor-your-network-latency","status":"publish","type":"post","link":"https:\/\/www.networknet.nl\/apps\/wp\/archives\/367","title":{"rendered":"Use Cacti to monitor your network latency"},"content":{"rendered":"<p>If you are managing and monitoring a network you will probably be interested to keep an eye on the latency of your network links. Especially for those links which are connected with a dedicated internet connection and a IPSec VPN tunnel to the datacenter. Latency is predictable but for non private IP VPN links without reserved bandwidth and QoS\/CoS it sometimes may help solve some problems or rethink and discuss high latency with the service provider. With dedicated Framerelay\/Leased Line\/IP VPN network links you can agree with the service provider on the different latency values and have SLA&#8217;s in place.<\/p>\n<blockquote>\n<p>Latency in a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Packet-switching\">packet-switched<\/a> network is measured either <i>one-way<\/i> (the time from the source sending a packet to the destination receiving it), or <i><a href=\"http:\/\/en.wikipedia.org\/wiki\/Round-trip_delay_time\">round-trip<\/a><\/i> (the one-way latency from source to destination plus the one-way latency from the destination back to the source). Round-trip latency is more often quoted, because it can be measured from a single point. Note that round trip latency excludes the amount of time that a destination system spends processing the packet. Many software platforms provide a service called <a href=\"http:\/\/en.wikipedia.org\/wiki\/Ping\">ping<\/a> that can be used to measure round-trip latency. Ping performs no packet processing; it merely sends a response back when it receives a packet (i.e. performs a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Noop\">no-op<\/a>), thus it is a relatively accurate way of measuring latency.<\/p>\n<p><a title=\"http:\/\/en.wikipedia.org\/wiki\/Latency_%28engineering%29\" href=\"http:\/\/en.wikipedia.org\/wiki\/Latency_%28engineering%29\">http:\/\/en.wikipedia.org\/wiki\/Latency_%28engineering%29<\/a><\/p>\n<\/blockquote>\n<p>I am using CactiEZ v0.3 to address this issue and monitor the ping latency. Those hosts may or may not be a SNMP enabled device. If the router is service provider managed than you probably won&#8217;t be able to get any access to SNMP, but for this we don&#8217;t need it.<\/p>\n<p>a) Create new device in Cacti Management console. See example for <a href=\"http:\/\/www.networknet.nl\">www.networknet.nl<\/a><\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"308\" alt=\"image\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_thumb.png\" width=\"644\" border=\"0\"><\/a> <\/p>\n<p>b) Choose for Availability &#8220;Ping&#8221; and use &#8220;ICMP&#8221; ping as method. Click Add and reopen the device.<\/p>\n<p>c) Locate Associated Graph Templates and choose &#8220;Unix-Ping Latency&#8221; in the Graph Templates. Click Add.<\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"105\" alt=\"image\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_thumb_3.png\" width=\"401\" border=\"0\"><\/a> <\/p>\n<p>d) Click &#8220;*Create Graphs for this Host&#8221;<\/p>\n<p>e) Select &#8220;<strong>Create:<\/strong> Unix &#8211; Ping Latency&#8221; graph template and click Create.<\/p>\n<p>f) Choose Red as legend color and click Create. + Created graph: www.networknet.nl &#8211; Ping Latency is now created. <\/p>\n<p>i) Create new Graph Tree and add the new created graph for the network latency. See my example.<\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"125\" alt=\"image\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_thumb_4.png\" width=\"644\" border=\"0\"><\/a> <\/p>\n<p>The result:<\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"492\" alt=\"image\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/UseCactitomonitoryournetworklatency_D0DA\/image_thumb_5.png\" width=\"639\" border=\"0\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are managing and monitoring a network you will probably be interested to keep an eye on the latency of your network links. Especially for those links which are connected with a dedicated internet connection and a IPSec VPN tunnel to the datacenter. Latency is predictable but for non private IP VPN links without reserved bandwidth and QoS\/CoS it sometimes may help solve some problems or rethink and discuss high latency with the service provider. With dedicated Framerelay\/Leased Line\/IP VPN network links you can agree with the service provider on the different latency values and have SLA&#8217;s in place. Latency in a packet-switched network is measured either one-way (the time from the source sending a packet to the destination receiving it), or round-trip (the one-way latency from source to destination plus the one-way latency from the destination back to the source). Round-trip latency is more often quoted, because it can be measured from a single point. Note that round trip latency excludes the amount of time that a destination system spends processing the packet. Many software platforms provide a service called ping that can be used to measure round-trip latency. Ping performs no packet processing; it merely sends a response back when it receives a packet (i.e. performs a no-op), thus it is a relatively accurate way of measuring latency. http:\/\/en.wikipedia.org\/wiki\/Latency_%28engineering%29 I am using CactiEZ v0.3 to address this issue and monitor the ping latency. Those hosts may or may not be a SNMP enabled device. If the router [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,21],"tags":[786,54,147,65,162,163,66],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-cacti","category-centos","tag-cacti","tag-cactiez","tag-howto","tag-icmp","tag-latency","tag-monitor","tag-ping"],"_links":{"self":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":0,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}