<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":2344,"date":"2017-12-20T11:49:38","date_gmt":"2017-12-20T11:49:38","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=2344"},"modified":"2017-12-20T12:23:39","modified_gmt":"2017-12-20T12:23:39","slug":"solaris-monitoring-manual","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/solaris-monitoring-manual\/","title":{"rendered":"Solaris Monitoring Manual"},"content":{"rendered":"<p>This is a manual which helps you to monitor Solaris based devices using Pandora FMS.<\/p>\n<h2>Module data<\/h2>\n<p><strong>1. CPU User<\/strong><\/p>\n<p>This module returns the percentage of CPU occupied by user processes.The syntax for the modules would be this:<\/p>\n<pre>module_begin\r\nmodule_name CPU User\r\nmodule_type generic_data\r\nmodule_exec vmstat 1 2 | tail -1 | awk '{ print $20 }' | tr -d \u201cn\u201d\r\nmodule_max 100\r\nmodule_min 0\r\nmodule_description CPU (%) used by user\r\nmodule_end<\/pre>\n<p><strong>2. CPU System<\/strong><\/p>\n<p>This module returns the percentage of CPU occupied by system processes. The syntax for the module would be this:<\/p>\n<pre>module_begin\r\nmodule_name CPU System\r\nmodule_type generic_data\r\nmodule_cpuusage all\r\nmodule_max 100\r\nmodule_min 0\r\nmodule_description CPU (%) used by system\r\nmodule_end<\/pre>\n<p><strong>3. Process Running<\/strong><\/p>\n<p>The module searchs if as specific process is running. The module syntax is the following:<\/p>\n<pre>module_begin\r\nmodule_name Process Running xxx\r\nmodule_type generic_proc\r\nmodule_service xxx\r\nmodule description Procces xxx Running\r\nmodule_end<\/pre>\n<p>We should replace xxx by the specific process that we want to monitor.<\/p>\n<p><strong>4. Physical Free Memory<\/strong><\/p>\n<p>The module returns the percentage of free physical memory. The module syntax will be the following:<\/p>\n<pre>module_begin\r\nmodule_name Physical Free Memory\r\nmodule_type generic_data\r\nmodule_freepercentmemory\r\nmodule_description Porcentaje Memoria f\u00edsica libre\r\nmodule_end<\/pre>\n<p><strong>5. Used space<\/strong><\/p>\n<p>The module returns the percentage of ocuppied directory, the syntax is the following:<\/p>\n<pre>module_begin\r\nmodule_name Used space xxx\r\nmodule_type generic_data\r\nmodule_occupiedpercentdisk \/xxx\r\nmodule_description % Directorio ocupado\r\nmodule_end<\/pre>\n<p>We should change xxx by the volume to monitor.<\/p>\n<p><strong>6. Number processes<\/strong><\/p>\n<p>It returns the number of processes that are running in the machine. The module syntax is the following:<\/p>\n<pre>module_begin\r\nmodule_name Number processes\r\nmodule_type generic_data\r\nmodule_exec ps -e | wc -l | tr -d \"n\" | tr -d \" \"\r\nmodule_description Number processes\r\nmodule_end<\/pre>\n<p><strong>7. Zombie processes<\/strong><\/p>\n<p>It returns the number of zombie processes. The syntax is the following:<\/p>\n<pre>module_begin\r\nmodule_name Zombie processes\r\nmodule_type generic_data\r\nmodule_exec ps -el | awk '$2~\/\"Z\"\/{print $2}' | wc -l | tr -d \"n\" | tr -d \" \"\r\nmodule_description Zombie processes\r\nmodule_end<\/pre>\n<p><strong>8. Process memory<\/strong><\/p>\n<p>The module returns the percentage of memory in use by one process. The syntax is the following:<\/p>\n<pre>module_begin\r\nmodule_name Process memory xxx\r\nmodule_type generic_data\r\nmodule_memproc xxx\r\nmodule_description % used memory of process\r\nmodule_end<\/pre>\n<p>We should change xxx by the process to monitor.<\/p>\n<p><strong>9. Process CPU<\/strong><\/p>\n<p>The module returns the percentage of CPU used by one process. The syntax is the following:<\/p>\n<pre>module_begin\r\nmodule_name Process CPU xxx\r\nmodule_type generic_data\r\nmodule_cpuproc xxx\r\nmodule_description % CPU used by process\r\nmodule_end<\/pre>\n<p>We change xxx by the process to monitor<\/p>\n<p><strong>10. NTPD Instances<\/strong><\/p>\n<p>The module returns the number of instances of the ntpd process that are running.<\/p>\n<pre>module_begin\r\nmodule_name NTPD Instances\r\nmodule_type generic_data\r\nmodule_exec ps -Af | grep ntpd | grep -v \"grep\" | wc -l | tr -d \" \" | tr -d \"n\"\r\nmodule_description Instancias NTPD en ejecuci\u00f3n\r\nmodule_end<\/pre>\n<h2>Files:<\/h2>\n<p><a href=\"\/library\/files_repository\/1340962293.dario.pandora_solaris_v1r1.zip\" class=\"mtli_attachment mtli_zip\" data-mtli=\"mtli_filesize149MB\" target=\"_blank\" rel=\"noopener nofollow\">pandora_solaris_v1r1.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a manual which helps you to monitor Solaris based devices using Pandora FMS. Module data 1. CPU User This module returns the percentage of CPU occupied by user processes.The syntax for the modules would be this: module_begin module_name CPU User module_type generic_data module_exec vmstat 1 2 | tail -1 | awk &#8216;{ print [&hellip;]<\/p>\n","protected":false},"author":14,"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":[6,30],"tags":[405],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/2344"}],"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\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=2344"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/2344\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=2344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=2344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=2344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}