<style type="text/css">a[data-mtli~="mtli_filesize149MB"]:after {content:" (1.49 MB)"}</style><style type="text/css">a[data-mtli~="mtli_filesize149MB"]:after {content:" (1.49 MB)"}</style>{"id":1056,"date":"2017-12-14T16:15:38","date_gmt":"2017-12-14T16:15:38","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=1056"},"modified":"2017-12-14T16:20:53","modified_gmt":"2017-12-14T16:20:53","slug":"hp-ux-monitoring-manual","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/hp-ux-monitoring-manual\/","title":{"rendered":"HP-UX Monitoring Manual"},"content":{"rendered":"<p class=\"description_pui\">This is a manual which helps you to monitor HP-UX based devices using Pandora FMS.<\/p>\n<h2>Module data<\/h2>\n<p>1. CPU user\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name CPU User\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec vmstat 1 2 | tail -1 | awk '{ print $17 }' | tr -d \u201c\\n\u201d\u00a0\r\nmodule_max 100\u00a0\r\nmodule_min 0\u00a0\r\nmodule_description CPU (%) use by user\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>2. CPU system\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name CPU System\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_cpuusage all\u00a0\r\nmodule_max 100\u00a0\r\nmodule_min 0\u00a0\r\nmodule_description CPU (%) used by system\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>3. Virtual Mem Free\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Virtual Mem Free\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec swapinfo | grep memory | tr -d \"%\" | awk '{ print 100-$5 }' | tr -d \u201c\\n\u201d\u00a0\r\nmodule_max 100\u00a0\r\nmodule_min 0\u00a0\r\nmodule_description % Virtual mem free\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>4. Physical Mem Free\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Physical Mem Free\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_freepercentmemory\u00a0\r\nmodule_description % Physical mem free\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>5. Free swap\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Free swap\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec swapinfo -t | grep memory | tr -d \"%\" | awk '{ print 100-$5 }' | tr -d \u201c\\n\u201d\u00a0\r\nmodule_description Free swap\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>6. Services\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Service xxx\u00a0\r\nmodule_type generic_proc\u00a0\r\nmodule_service xxx\u00a0\r\nmodule_description Service xxx\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>7. Free disk\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Disco_Libre\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_freepercentdisk \/\u00a0\r\nmodule_description Free disk\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>8. Used disk\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Used disk xxx\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_occupiedpercentdisk \/xxx\u00a0\r\nmodule_description % used disk\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>9. Number processes\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Number processes\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec echo $(((`ps -e | wc -l`)-1)) | tr -d \u201c\\n\u201d\u00a0\r\nmodule_description Total processes\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>10. Zombie processes\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Zombie processes\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec ps -elf | awk '$2~\/'Z'\/{print $2}' | wc -l | tr -d \u201c\\n\u201d\u00a0\r\nmodule_description Zombie processes\u00a0\r\nmodule_end\u00a0\r\n<\/pre>\n<p>11. Instances xntpd\u00a0<\/p>\n<pre>\r\nmodule_begin\u00a0\r\nmodule_name Instances xntpd\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec ps -elf | grep \"xntpd\" | wc -l | tr -d \"\\n\"\u00a0\r\nmodule_description Instances xntpd\u00a0\r\nmodule_end<\/pre>\n<h2>Files:<\/h2>\n<p><a href=\"\/library\/files_repository\/1340961068.dario.pandora_hpux_v1r1.zip\" class=\"mtli_attachment mtli_zip\" data-mtli=\"mtli_filesize149MB\">pandora_hpux_v1r1.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a manual which helps you to monitor HP-UX based devices using Pandora FMS. Module data 1. CPU user\u00a0 module_begin\u00a0 module_name CPU User\u00a0 module_type generic_data\u00a0 module_exec vmstat 1 2 | tail -1 | awk &#8216;{ print $17 }&#8217; | tr -d \u201c\\n\u201d\u00a0 module_max 100\u00a0 module_min 0\u00a0 module_description CPU (%) use by user\u00a0 module_end\u00a0 2. [&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":[29],"tags":[266],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1056"}],"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=1056"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1056\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=1056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=1056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=1056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}