{"id":7488,"date":"2023-11-20T12:08:39","date_gmt":"2023-11-20T06:38:39","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=7488"},"modified":"2024-04-09T15:15:10","modified_gmt":"2024-04-09T09:45:10","slug":"how-to-set-up-the-cpu-service-monitor-on-nagios","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/","title":{"rendered":"HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS"},"content":{"rendered":"\n<p><strong>Introduction:<\/strong><\/p>\n\n\n\n<p>To set up the CPU service monitor on Nagios, you\u2019ll need to follow these general steps. CPU checks CPU usage, load averages, or other performance metrics on the server, and if the process is high, it gives an alert to the Nagois server.<\/p>\n\n\n\n<p><strong>Prerequisite<\/strong><\/p>\n\n\n\n<p>1. Server root login credentials.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong><\/p>\n\n\n\n<p>Log in to your Ubuntu or Centos server as a user with sudo privileges. You can use SSH or directly access the server.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$ ssh root@Ip<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong>Step 2:<\/strong><br><br>Edit the \/usr\/local\/nagios\/etc\/nrpe.cfg configuration file and search for&nbsp;<strong><em>command<\/em><\/strong>&nbsp;definition sections. Here you can define or update check commands.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$ vi \/usr\/local\/nagios\/etc\/nrpe.cfg<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><br>Please update the below command for the CPU check.<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>command[check_cpu]=\/usr\/local\/nagios\/libexec\/check_cpu<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong>Step 3:<\/strong><br><br>Go to the libexec path and create a new script file&nbsp;in the specified path, such as check_cpu. The script should check if the CPU service checking the server process.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>vi \/usr\/local\/nagios\/libexec\/check_cpu<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Please copy the below commands, and paste the check_cpu file, and save the file.<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>#!\/bin\/bash<br>&nbsp;<br># Define your remote server&#8217;s SSH details<br>#SSH_USER=&#8221;your_ssh_user&#8221;<br>#SSH_HOST=&#8221;remote_server_hostname_or_ip&#8221;<br>&nbsp;<br># SSH command to collect CPU utilization (example command, you can modify it)<br>#SSH_CMD=&#8221;top -bn1 | grep &#8216;Cpu(s)&#8217; | awk &#8216;{print \\$2 + \\$4}'&#8221;<br># SSH into the remote server and execute the command<br>#CPU_USAGE=$(ssh -l $SSH_USER $SSH_HOST &#8220;$SSH_CMD&#8221;)<br>&nbsp;<br># Check the CPU usage and return an appropriate message<br>if (( $(echo &#8220;$CPU_USAGE &gt;= 90&#8221; | bc -l) )); then<br>&nbsp;&nbsp;&nbsp; echo &#8220;CRITICAL &#8211; CPU Usage: $CPU_USAGE%&#8221;<br>&nbsp;&nbsp;&nbsp; exit 2<br>elif (( $(echo &#8220;$CPU_USAGE &gt;= 80&#8221; | bc -l) )); then<br>&nbsp;&nbsp;&nbsp; echo &#8220;WARNING &#8211; CPU Usage: $CPU_USAGE%&#8221;<br>&nbsp;&nbsp;&nbsp; exit 1<br>else<br>&nbsp;&nbsp;&nbsp; echo &#8220;OK &#8211; CPU Usage: $CPU_USAGE%&#8221;<br>&nbsp;&nbsp;&nbsp; exit 0<br>fi<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong>Step 4:<\/strong><br>Give permission to the check_cpu file as below<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$ chmod 755 check_cpu<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong>Step 5:<\/strong><br>Next, restart the NRPE service. Now it is ready to listen to requests from the Nagios Server.<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$ systemctl restart nagios-nrpe-server<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><br><strong>Step 6<\/strong>:<br>Login to nagios server<br><br><strong>Step 7<\/strong>:<br><br>Open the below for the configuration path.<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$ vi \/usr\/local\/nagios\/etc\/servers\/server.cfg<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Add the below lines for CPU checking the configuration and save it.<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>define service {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; generic-service&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; Name of service template to use<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; testserver2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; service_description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cpu_service<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_command&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; check_nrpe!check_cpu<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contact_groups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;admins<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; notifications_enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><br><strong>Step 8:<\/strong><br>Save the configuration file.<br><br>And finally, restart Nagios to apply the recent configuration changes:<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>$ systemctl restart nagios<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><br>We can verify the cpu_service status in the below snapshot<br><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-14-071154.png\"><\/a><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"22\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-1024x22.png\" alt=\"\" class=\"wp-image-7490\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-1024x22.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-300x6.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-768x16.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-850x18.png 850w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546.png 1307w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Conclusion<\/strong><br>Following the steps mentioned above, we can set up the CPU service monitor on Nagios.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: To set up the CPU service monitor on Nagios, you\u2019ll need to follow these general steps. CPU checks CPU usage, load averages, or other performance metrics on the server, and if the process is high, it gives an alert to the Nagois server. Prerequisite 1. Server root login credentials.&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":499,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-7488","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-uncategorized","7":"h-entry","9":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Introduction: To set up the CPU service monitor on Nagios, you\u2019ll need to follow these general steps. CPU checks CPU usage, load averages, or other performance metrics on the server, and if the process is high, it gives an alert to the Nagois server. Prerequisite 1. Server root login credentials.&hellip; Continue Reading HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-20T06:38:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-09T09:45:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-1024x22.png\" \/>\n<meta name=\"author\" content=\"ragupathi N\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ragupathi N\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/\"},\"author\":{\"name\":\"ragupathi N\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/38a5dbc84c35460f6302cb0ca3b48598\"},\"headline\":\"HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS\",\"datePublished\":\"2023-11-20T06:38:39+00:00\",\"dateModified\":\"2024-04-09T09:45:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/\"},\"wordCount\":617,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Screenshot-2023-11-11-124546-1024x22.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Screenshot-2023-11-11-124546-1024x22.png\",\"datePublished\":\"2023-11-20T06:38:39+00:00\",\"dateModified\":\"2024-04-09T09:45:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Screenshot-2023-11-11-124546.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Screenshot-2023-11-11-124546.png\",\"width\":1307,\"height\":28},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/how-to-set-up-the-cpu-service-monitor-on-nagios\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/38a5dbc84c35460f6302cb0ca3b48598\",\"name\":\"ragupathi N\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7a25050762812aa4121dc2fc399845811de371369904acb2bb9cea2ebc2ed8e0?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7a25050762812aa4121dc2fc399845811de371369904acb2bb9cea2ebc2ed8e0?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7a25050762812aa4121dc2fc399845811de371369904acb2bb9cea2ebc2ed8e0?s=96&r=g\",\"caption\":\"ragupathi N\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/ragupathi\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Introduction: To set up the CPU service monitor on Nagios, you\u2019ll need to follow these general steps. CPU checks CPU usage, load averages, or other performance metrics on the server, and if the process is high, it gives an alert to the Nagois server. Prerequisite 1. Server root login credentials.&hellip; Continue Reading HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS","og_url":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2023-11-20T06:38:39+00:00","article_modified_time":"2024-04-09T09:45:10+00:00","og_image":[{"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-1024x22.png","type":"","width":"","height":""}],"author":"ragupathi N","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"ragupathi N","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/"},"author":{"name":"ragupathi N","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/38a5dbc84c35460f6302cb0ca3b48598"},"headline":"HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS","datePublished":"2023-11-20T06:38:39+00:00","dateModified":"2024-04-09T09:45:10+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/"},"wordCount":617,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-1024x22.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/","url":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546-1024x22.png","datePublished":"2023-11-20T06:38:39+00:00","dateModified":"2024-04-09T09:45:10+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-2023-11-11-124546.png","width":1307,"height":28},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/how-to-set-up-the-cpu-service-monitor-on-nagios\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/38a5dbc84c35460f6302cb0ca3b48598","name":"ragupathi N","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7a25050762812aa4121dc2fc399845811de371369904acb2bb9cea2ebc2ed8e0?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7a25050762812aa4121dc2fc399845811de371369904acb2bb9cea2ebc2ed8e0?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7a25050762812aa4121dc2fc399845811de371369904acb2bb9cea2ebc2ed8e0?s=96&r=g","caption":"ragupathi N"},"url":"https:\/\/pheonixsolutions.com\/blog\/author\/ragupathi\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-1WM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/499"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=7488"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7488\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=7488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=7488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=7488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}