{"id":594,"date":"2017-12-13T16:11:31","date_gmt":"2017-12-13T16:11:31","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=594"},"modified":"2017-12-13T16:18:57","modified_gmt":"2017-12-13T16:18:57","slug":"network-traffic","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/network-traffic\/","title":{"rendered":"Network Traffic"},"content":{"rendered":"<p class=\"description_pui\">This module show the amount of traffic in and out the server.<br \/>\nIt is very useful to set up alerts for over or sub utilization of the network.<\/p>\n<h2>Module data<\/h2>\n<p># Networking<\/p>\n<pre>\r\n module_begin\r\n module_name nettraf_eth0_in\r\n module_type generic_data_inc\r\n module_exec \/sbin\/ifconfig eth0 |grep \"bytes:\" |awk {'print $2'} |tr -d \"bytes:\"\r\n module_description bps IN (post process)\r\n module_end<\/pre>\n<pre>module_begin\r\n module_name nettraf_eth0_out\r\n module_type generic_data_inc\r\n module_exec \/sbin\/ifconfig eth0 |grep \"bytes:\" |awk {'print $6'} |tr -d \"bytes:\"\r\n module_description bps OUT (post process)\r\n module_end<\/pre>\n<pre>module_begin\r\n module_name conn_resets\r\n module_type generic_data_inc\r\n module_exec netstat -as | grep \"connection resets received\" | awk '{ print $1 }'\r\n module_description Resets due to unexpected SYN\r\n module_end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This module show the amount of traffic in and out the server. It is very useful to set up alerts for over or sub utilization of the network. Module data # Networking module_begin module_name nettraf_eth0_in module_type generic_data_inc module_exec \/sbin\/ifconfig eth0 |grep &#8220;bytes:&#8221; |awk {&#8216;print $2&#8217;} |tr -d &#8220;bytes:&#8221; module_description bps IN (post process) module_end module_begin [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[34,7],"tags":[124],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/594"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=594"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/594\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}