{"id":793,"date":"2017-12-14T11:09:03","date_gmt":"2017-12-14T11:09:03","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=793"},"modified":"2017-12-14T11:09:18","modified_gmt":"2017-12-14T11:09:18","slug":"lvs-monitoring","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/lvs-monitoring\/","title":{"rendered":"LVS Monitoring"},"content":{"rendered":"<p class=\"description_pui\">Monitoring of LVS load balancing system from Linux<\/p>\n<h2>Module data<\/h2>\n<p>Get conections per second for node &#8220;nido-1&#8221;<\/p>\n<pre>\r\n\r\nmodule_begin\u00a0\r\nmodule_name Nido1 CPS\u00a0\r\nmodule_exec ipvsadm -L | grep -i nido-1 | awk \"{ print $5 }\"\u00a0\r\nmodule_description Nido1 connections per second\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_end\u00a0\r\n\r\nGet inactive connections for node \"nido-2\"\u00a0\r\n\r\nmodule_begin\u00a0\r\nmodule_name Nido2 CIPS\u00a0\r\nmodule_exec ipvsadm -L | grep -i nido-2 | awk \"{ print $6 }\"\u00a0\r\nmodule_description Nido2 inactive connections per second\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_end\u00a0\r\n\r\nGet status of \"nido-2\" in the cluster (alive\/not alive)\u00a0\r\n\r\nmodule_begin\u00a0\r\nmodule_name Nido-2_Status\u00a0\r\nmodule_exec ipvsadm -L | grep -i nido-2 | awk \"{print $2}\" |wc -l\u00a0\r\nmodule_description Nido-2\u00a0\r\nmodule_type generic_proc\u00a0\r\nmodule_end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Monitoring of LVS load balancing system from Linux Module data Get conections per second for node &#8220;nido-1&#8221; module_begin\u00a0 module_name Nido1 CPS\u00a0 module_exec ipvsadm -L | grep -i nido-1 | awk &#8220;{ print $5 }&#8221;\u00a0 module_description Nido1 connections per second\u00a0 module_type generic_data\u00a0 module_end\u00a0 Get inactive connections for node &#8220;nido-2&#8221;\u00a0 module_begin\u00a0 module_name Nido2 CIPS\u00a0 module_exec ipvsadm -L [&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":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/793"}],"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=793"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}