{"id":1766,"date":"2020-07-28T13:30:00","date_gmt":"2020-07-28T10:30:00","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=1766"},"modified":"2020-07-28T03:30:21","modified_gmt":"2020-07-28T00:30:21","slug":"how-to-monitor-linux-servers-using-prometheus-node-exporter","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/","title":{"rendered":"How To Monitor Linux Servers Using Prometheus Node Exporter"},"content":{"rendered":"\n<p>There are multiple exporters that can be used to collect all the Linux server related metrics and statistics for monitoring. However, Node is the best way to monitor Linux Servers Using Prometheus<\/p>\n\n\n\n<p>In this article we will learn how to setup Prometheus node exporter. This will be used to export all node level from the Prometheus server.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/#Pre-requisites\" title=\"Pre-requisites:\">Pre-requisites:<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/#Setup_Node_Exporter_Binary\" title=\"Setup Node Exporter Binary\">Setup Node Exporter Binary<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/#Create_a_Custom_Node_Exporter_Service\" title=\"Create a Custom Node Exporter Service\">Create a Custom Node Exporter Service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/#Configure_the_Server_as_Target_on_Prometheus_Server\" title=\"Configure the Server as Target on Prometheus Server\">Configure the Server as Target on Prometheus Server<\/a><\/li><\/ul><\/nav><\/div>\n<h4 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Pre-requisites\"><\/span>Pre-requisites:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Prometheus Server: In order to use the Prometheus Node Exporter you need a Prometheus Server running, please see the <a href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-prometheus-on-a-linux-server\/\" target=\"_blank\" rel=\"noreferrer noopener\">Prometheus setup guide for Linux.<\/a><\/li><li>Port 9100: Opened in server firewall as Prometheus reads metrics on this port.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Setup_Node_Exporter_Binary\"><\/span><strong>Setup Node Exporter Binary<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Step 1:<\/strong> Go to the official <a href=\"https:\/\/prometheus.io\/download\/\" target=\"_blank\" rel=\"noopener\">download page<\/a> for the latest version and use wget to download the latest node exporter package.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"287\" data-attachment-id=\"1768\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/attachment\/image-3-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-3.png?fit=602%2C287&amp;ssl=1\" data-orig-size=\"602,287\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-3\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-3.png?fit=300%2C143&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-3.png?fit=602%2C287&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-3.png?resize=602%2C287&#038;ssl=1\" alt=\"\" class=\"wp-image-1768\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-3.png?w=602&amp;ssl=1 602w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-3.png?resize=300%2C143&amp;ssl=1 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>wget https:\/\/github.com\/prometheus\/node_exporter\/releases\/download\/v1.0.1\/node_exporter-1.0.1.linux-amd64.tar.gz<\/p><\/blockquote>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Unpack it<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>tar -xvf node_exporter-1.0.1.linux-amd64.tar.gz<\/p><\/blockquote>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;Move the node export binary to \/usr\/local\/bin<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>mv node_exporter-1.0.1.linux-amd64\/node_exporter \/usr\/local\/bin\/<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Create_a_Custom_Node_Exporter_Service\"><\/span><strong>Create a Custom Node Exporter Service<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;Create a node_exporter user to run the node exporter service.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>useradd -rs \/bin\/false node_exporter<\/p><\/blockquote>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Create a node_exporter service file under systemd.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>vi \/etc\/systemd\/system\/node_exporter.service<\/p><\/blockquote>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;Add the following service file content to the service file and save it.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>[Unit]<\/p><p>Description=Node Exporter<\/p><p>After=network.target<\/p><p>[Service]<\/p><p>User=node_exporter<\/p><p>Group=node_exporter<\/p><p>Type=simple<\/p><p>ExecStart=\/usr\/local\/bin\/node_exporter<\/p><p>[Install]<\/p><p>WantedBy=multi-user.target<\/p><\/blockquote>\n\n\n\n<p><strong>Step 4:<\/strong>&nbsp;Reload the system daemon and start the node exporter service.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>systemctl daemon-reload<\/p><p>systemctl start node_exporter<\/p><\/blockquote>\n\n\n\n<p><strong>Step 5:<\/strong>&nbsp;Check the node exporter status to make sure it is running in the active state.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>systemctl status node_exporter<\/p><\/blockquote>\n\n\n\n<p><strong>Step 6:<\/strong>&nbsp;Enable the node exporter service to the system startup.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>systemctl enable node_exporter<\/p><\/blockquote>\n\n\n\n<p>Now, node exporter would be exporting&nbsp;<strong>metrics on port 9100.&nbsp;<\/strong><\/p>\n\n\n\n<p>You can see all the server metrics by visiting&nbsp;your server URL on \/metrics as shown below.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>https:\/\/&lt;server-IP&gt;:9100\/metrics<\/p><\/blockquote>\n\n\n\n<p><strong>Something like this:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"345\" data-attachment-id=\"1769\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/attachment\/image-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-4.png?fit=602%2C345&amp;ssl=1\" data-orig-size=\"602,345\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-4.png?fit=300%2C172&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-4.png?fit=602%2C345&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-4.png?resize=602%2C345&#038;ssl=1\" alt=\"\" class=\"wp-image-1769\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-4.png?w=602&amp;ssl=1 602w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-4.png?resize=300%2C172&amp;ssl=1 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configure_the_Server_as_Target_on_Prometheus_Server\"><\/span><strong>Configure the Server as Target on Prometheus Server<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If everything is working upto this point, Congratulations! You have configured a node exporter, it is up and running on the server, we have to add this server a target on the Prometheus&nbsp;server configuration.<\/p>\n\n\n\n<p>Note: This configuration should be done on the Prometheus&nbsp;server. If you have followed along the previous tutorial it should be that machine, if not please configure it before moving ahead.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong>&nbsp;Login to the Prometheus server and open the prometheus.yml file.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>vi \/etc\/prometheus\/prometheus.yml<\/p><\/blockquote>\n\n\n\n<p><strong>Step 2:<\/strong>&nbsp;Inside the scrape config change the scrape&nbsp;config section add the node exporter target as shown below. Change&nbsp;10.1.213.2 with your server IP where you have setup node exporter. Job name can be your server hostname or IP for identification purposes.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&nbsp; &#8211; job_name: \u2018node_test\u2019<\/p><p>&nbsp;&nbsp;&nbsp; scrape_interval: 5s<\/p><p>&nbsp;&nbsp;&nbsp; static_configs:<\/p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8211; targets: [&#8216;10.1.213.2:9100&#8217;]<\/p><\/blockquote>\n\n\n\n<p><strong>Step 3:<\/strong>&nbsp;Restart the prometheus service for the configuration changes to take place.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>systemctl restart prometheus<\/p><\/blockquote>\n\n\n\n<p>Now, if you check the target in prometheus&nbsp;web UI (http:\/\/&lt;prometheus-IP&gt;:9090\/targets) , you will be able to see the status as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"222\" data-attachment-id=\"1770\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/attachment\/image-5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-5.png?fit=602%2C222&amp;ssl=1\" data-orig-size=\"602,222\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-5\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-5.png?fit=300%2C111&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-5.png?fit=602%2C222&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-5.png?resize=602%2C222&#038;ssl=1\" alt=\"\" class=\"wp-image-1770\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-5.png?w=602&amp;ssl=1 602w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-5.png?resize=300%2C111&amp;ssl=1 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<p>Also, you can use the Prometheus expression browser to query for node related metrics. Following are the few key node metrics you can use to find its statistics.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>node_memory_MemFree_bytes<\/p><p>node_cpu_seconds_total<\/p><p>node_filesystem_avail_bytes<\/p><p>rate(node_cpu_seconds_total{mode=&#8221;system&#8221;}[1m])<\/p><p>rate(node_network_receive_bytes_total[1m])<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"448\" data-attachment-id=\"1771\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-monitor-linux-servers-using-prometheus-node-exporter\/attachment\/image-6\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-6.png?fit=602%2C448&amp;ssl=1\" data-orig-size=\"602,448\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-6\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-6.png?fit=300%2C223&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-6.png?fit=602%2C448&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-6.png?resize=602%2C448&#038;ssl=1\" alt=\"\" class=\"wp-image-1771\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-6.png?w=602&amp;ssl=1 602w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/image-6.png?resize=300%2C223&amp;ssl=1 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p>I have used &#8220;node_filesystem_avail_bytes&#8221; as an example to showcase the results.<\/p>\n\n\n\n<p>If everything is working until now, Cheers! See you in the next one!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are multiple exporters that can be used to collect all the Linux server related metrics and statistics for monitoring. However, Node is the best way to monitor Linux Servers Using Prometheus In this article we will learn how to setup Prometheus node exporter. This will be used to export<\/p>\n","protected":false},"author":4,"featured_media":1777,"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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,3],"tags":[73,69,71,70,72,74],"class_list":["post-1766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","category-tutorial-how-to","tag-node-centos","tag-prometheus","tag-prometheus-centos","tag-prometheus-linux","tag-prometheus-node-exporter","tag-prometheus-node-exporter-centos"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/prometheus-node-exporter-status.png?fit=2002%2C788&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-su","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1774,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-integrate-and-visualize-prometheus-metrics-in-grafana\/","url_meta":{"origin":1766,"position":0},"title":"How To Integrate and Visualize Prometheus Metrics In Grafana","author":"Shreyash Sharma","date":"July 29, 2020","format":false,"excerpt":"Generally speaking, Prometheus is good, after all he was a titan, created humanity, gave us fire. And the other Prometheus is also good however we need a way to visualize it. Currently the official recommendation is to use Grafana. Prometheus has a plugin for this that can be configured as\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/monitoring-prometheus-with-grafana.jpg?fit=564%2C336&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/monitoring-prometheus-with-grafana.jpg?fit=564%2C336&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/monitoring-prometheus-with-grafana.jpg?fit=564%2C336&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1755,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-prometheus-on-a-linux-server\/","url_meta":{"origin":1766,"position":1},"title":"How To Install and Configure Prometheus On a Linux Server","author":"Shreyash Sharma","date":"July 27, 2020","format":false,"excerpt":"Introduction Prometheus is an open-source monitoring system developed by SoundCloud. Development on Prometheus started back in 2012 when SoundCloud felt that the existing monitoring systems were proving insufficient for their needs. It uses a time-series database just like Druid, InfluxDB, Graphite. However, Prometheus is able to work on a multi-dimensional\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/1_yz1TgEsIb9qNtmv2O-SZsg.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/1_yz1TgEsIb9qNtmv2O-SZsg.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/1_yz1TgEsIb9qNtmv2O-SZsg.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/1_yz1TgEsIb9qNtmv2O-SZsg.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2020\/07\/1_yz1TgEsIb9qNtmv2O-SZsg.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3459,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prometheus-and-grafana-on-ubuntu\/","url_meta":{"origin":1766,"position":2},"title":"How to install Prometheus and Grafana on Ubuntu","author":"George B.","date":"June 6, 2023","format":false,"excerpt":"Prometheus and Grafana are powerful open-source tools used for monitoring and visualizing system metrics, making them essential components of any modern infrastructure. In this comprehensive guide, we will walk you through the step-by-step process of installing Prometheus and Grafana on an Ubuntu system. By the end of this tutorial, you'll\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Prometheus-and-Grafana-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Prometheus-and-Grafana-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Prometheus-and-Grafana-on-Ubuntu.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3695,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-prometheus-on-kubernetes\/","url_meta":{"origin":1766,"position":3},"title":"How to Deploy Prometheus on Kubernetes","author":"George B.","date":"July 30, 2023","format":false,"excerpt":"In this tutorial, we'll discuss how to set up Prometheus on Kubernetes. We'll assume that you've already installed Helm and K3s. If you don't have K3s and Helm installed you can follow our guide. Prometheus has established itself as a top open-source option for monitoring and alerting systems. It is\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/How-to-Deploy-Prometheus-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3761,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-grafana-on-kubernetes\/","url_meta":{"origin":1766,"position":4},"title":"How to Deploy Grafana on Kubernetes","author":"George B.","date":"August 24, 2023","format":false,"excerpt":"This article will walk you through the process of deploying Grafana on Kubernetes, specifically using k3s and Helm, and making it accessible via a NodePort on your VPS (Virtual Private Server). We'll assume you have k3s and Helm already installed. If not, please refer to their respective official documentation to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/08\/How-to-Deploy-Grafana-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":561,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-node-js-on-centos\/","url_meta":{"origin":1766,"position":5},"title":"How to Install Node.JS on CentOS","author":"Daniel Draga","date":"September 1, 2016","format":false,"excerpt":"Node.js is a server side platform, very powerful JavaScript-based framework\/platform built on Google Chrome's JavaScript V8 Engine. It is used to develop I\/O intensive web applications like video streaming sites, single-page applications, and other web applications. Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications.\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/09\/Install-Node.js.jpg?fit=484%2C230&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=1766"}],"version-history":[{"count":4,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1766\/revisions"}],"predecessor-version":[{"id":1775,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/1766\/revisions\/1775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/1777"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=1766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=1766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=1766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}