{"id":1649,"date":"2024-02-23T14:08:30","date_gmt":"2024-02-23T10:38:30","guid":{"rendered":"https:\/\/mellicloud.com\/?p=1649"},"modified":"2024-07-03T15:29:33","modified_gmt":"2024-07-03T10:59:33","slug":"install-snmp-agent-and-configure-the-community-string","status":"publish","type":"post","link":"https:\/\/mellicloud.com\/en\/tutorial\/install-snmp-agent-and-configure-the-community-string\/1649\/","title":{"rendered":"Install SNMP Agent and configure the community string\u00a0"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Orion Platform products use the Simple Network Management Protocol (SNMP) to collect detailed information about your server. &nbsp;While configuring SNMP, certain values are already pre-configured for you.&nbsp;This is by design, to ensure that your server is monitored properly. There are some settings that you will not be able to configure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Windows 10, Windows Server 2016, Windows Server 2019<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the&nbsp;<strong>Control Panel<\/strong>&nbsp;on your Windows machine.<\/li>\n\n\n\n<li>Open the&nbsp;<strong>Programs and Features<\/strong>.<\/li>\n\n\n\n<li>Select&nbsp;<strong>Turn Windows features on or off<\/strong>.<\/li>\n\n\n\n<li>On Windows workstations (Windows 10) select&nbsp;<strong>Simple Network Management Protocol (SNMP)<\/strong>&nbsp;and install it.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"444\" height=\"410\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-1.png\" alt=\"snmp\" class=\"wp-image-1641\" srcset=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-1.png 444w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-1-300x277.png 300w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-1-13x12.png 13w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>On Windows Server 2016 and above you&#8217;ll have to click&nbsp;<strong>Next<\/strong>&nbsp;in the&nbsp;<strong>Add Roles and Features Wizard<\/strong>&nbsp;until you reach the&nbsp;<strong>Features<\/strong>&nbsp;sections where you can install the&nbsp;<strong>SNMP Service<\/strong>.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-2.png\" alt=\"snmp\" class=\"wp-image-1642\"\/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li>Install SNMP Service<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOTE:&nbsp;<\/strong>The system will automatically install SNMP Tools required by the service.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">After installing the SNMP service, configure it appropriately.&nbsp;<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run&nbsp;<code>services.msc<\/code>&nbsp;<strong>as administrator<\/strong>.<\/li>\n\n\n\n<li>Navigate to the <strong>Properties<\/strong> of the SNMP service.<\/li>\n\n\n\n<li>Select&nbsp;<strong>Automatic<\/strong>&nbsp;as the <strong>Startup type<\/strong>. The service always runs, even after turning your computer off and on again.<\/li>\n\n\n\n<li>For monitoring purposes, select all of the services on the&nbsp;<strong>Agent<\/strong>&nbsp;tab to have all SNMP properties available.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"409\" height=\"484\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp4.png\" alt=\"snmp\" class=\"wp-image-1646\" srcset=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp4.png 409w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp4-254x300.png 254w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp4-10x12.png 10w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Click on the&nbsp;<strong>Security<\/strong> tab and adjust the security parameters like the community string and the IP\/host filter list to your security compliance. For example, add the community string <code>public<\/code>&nbsp;with&nbsp;<strong>READ ONLY<\/strong>&nbsp;rights and&nbsp;<strong>accept SNMP packets&nbsp;<\/strong>from at least the address of your monitoring server.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"409\" height=\"484\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-5.png\" alt=\"snmp\" class=\"wp-image-1647\" srcset=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-5.png 409w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-5-254x300.png 254w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-5-10x12.png 10w\" sizes=\"auto, (max-width: 409px) 100vw, 409px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log into your dedicated server using Remote Desktop<\/li>\n\n\n\n<li>Click&nbsp;on&nbsp;<strong>Windows Key<\/strong>&nbsp;&gt;<strong> Administrative Tools<\/strong> &gt; <strong>Server Manager<\/strong>.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Manage<\/strong> &gt; <strong>Add Roles and Features<\/strong>.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Next<\/strong> &gt; <strong>Next<\/strong> &gt; <strong>Next<\/strong> &gt; <strong>Next<\/strong>.&nbsp;Verify <strong>SNMP Services<\/strong> are installed.<\/li>\n\n\n\n<li>Click&nbsp;<strong>Cancel<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"561\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-7.webp\" alt=\"SNMP Services\" class=\"wp-image-1660\" srcset=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-7.webp 794w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-7-300x212.webp 300w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-7-768x543.webp 768w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-7-18x12.webp 18w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\">\n<li>Click&nbsp;on&nbsp;<strong>Windows Key<\/strong>&nbsp;&gt; <strong>Administrative Tools<\/strong> &gt;<strong> Services<\/strong>.<\/li>\n\n\n\n<li>Right-click on&nbsp;<strong>SNMP Service<\/strong>&nbsp;and click on&nbsp;<strong>Properties<\/strong>.<\/li>\n\n\n\n<li>Click on the&nbsp;<strong>Security<\/strong>&nbsp;tab.<\/li>\n\n\n\n<li>Click on <strong>Add<\/strong>.<\/li>\n\n\n\n<li>Set the community string to <strong>Read Only<\/strong>, not Read Write.<\/li>\n\n\n\n<li>Type your randomized 8-10 characters long community string.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"652\" height=\"503\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-7.png\" alt=\"\" class=\"wp-image-1651\" srcset=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-7.png 652w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-7-300x231.png 300w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/snmp-7-16x12.png 16w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\" start=\"12\">\n<li>Click on <strong>OK<\/strong>.<\/li>\n\n\n\n<li>Click on <strong>OK<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"configuring-snmp-for-windows-server-2016-and-windows-server-2012\">Configuring SNMP for Windows Server 2016 and Windows Server 2012<a href=\"https:\/\/docs.sciencelogic.com\/latest\/Content\/Web_Vendor_Specific_Monitoring\/Windows_PowerShell\/chapter_02_config_snmp.htm#configuring-snmp-for-windows-server-2016-and-windows-server-2012\"><\/a><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">To configure SNMP on a Windows server, you must:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configuring-ping-responses\"><a><\/a>Configuring Ping Responses<a href=\"https:\/\/docs.sciencelogic.com\/latest\/Content\/Web_Vendor_Specific_Monitoring\/Windows_PowerShell\/chapter_02_config_snmp.htm#configuring-ping-responses\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For SL1 to discover a device, including SNMP-enabled devices, the device must meet one of the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The device must respond to an ICMP &#8220;Ping&#8221; request.<\/li>\n\n\n\n<li>One of the ports selected in the Detection Method &amp; Port field for the discovery session must be open on the device. If the Default Method option for the Detection Method &amp; Port field is selected, SL1 scans TCP ports 21, 22, 23, 25, and 80.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The default configuration for a Windows Server does not allow ICMP &#8220;Ping&#8221; requests and does not allow connections to TCP ports 21, 22, 23, 25, or 80. Therefore, to discover a Windows Server in SL1, you must perform one of the following tasks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reconfigure the firewall on the Windows Server to allow ICMP &#8220;Ping&#8221; requests. This section describes how to perform this task.<\/li>\n\n\n\n<li>Reconfigure the firewall on the Windows Server to allow connections to port 21, 22, 23, 25, or 80. If you have already configured your Windows Server to accept SSH, FTP, Telnet, SMTP, or HTTP connections, this task might have been completed already. You should perform this task only if you were already planning to allow SSH, FTP, Telnet, SMTP, or HTTP connections to your Windows Server.<\/li>\n\n\n\n<li>When you create the discovery session that will discover the Windows Server, select at least one port in the Detection Method &amp; Port field that is open on the Windows Server. For example, if your Windows Server is configured as an MSSQL Server, you could select port 1433 (the default port for MSSQL Server) in the Detection Method &amp; Port field.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To reconfigure the firewall on a Windows Server to allow ICMP &#8220;Ping&#8221; requests, perform the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the Start menu search bar, enter &#8220;firewall&#8221; to open a Windows Firewall with Advanced Security window.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>In the left pane, select Inbound Rules.<\/li>\n\n\n\n<li>If you want SL1 to discover your Windows Server using an IPv4 address, locate the File and Printer Sharing (Echo Request &#8211; ICMPv4-In) rule.<\/li>\n\n\n\n<li>If you want SL1 to discover your Windows Server using an IPv6 address, locate the File and Printer Sharing (Echo Request &#8211; ICMPv6-In) rule.<\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Right click on the rule that you located, then select Enable Rule:<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"727\" src=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/configure_firewall_for_snmp.png\" alt=\"configure_firewall_for_snmp\" class=\"wp-image-1664\" style=\"object-fit:cover\" srcset=\"https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/configure_firewall_for_snmp.png 1366w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/configure_firewall_for_snmp-300x160.png 300w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/configure_firewall_for_snmp-1024x545.png 1024w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/configure_firewall_for_snmp-768x409.png 768w, https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/07\/configure_firewall_for_snmp-18x10.png 18w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><div class=\"su-note\"  style=\"border-color:#b2b2b2;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#ccc;border-color:#ffffff;color:#444;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;\">\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\">\u0633\u0644\u0628 \u0645\u0633\u0626\u0648\u0644\u06cc\u062a: \u0644\u0637\u0641\u0627\u064b \u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u0634\u0645\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u0645\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0628\u0627 \u0645\u0633\u0626\u0648\u0644\u06cc\u062a \u062e\u0648\u062f \u0627\u0632 \u0645\u062d\u062a\u0648\u0627\u06cc \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0633\u0627\u06cc\u0631 \u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u0633\u0627\u06cc\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u0644\u06cc\u200c\u06a9\u0644\u0648\u062f \u0647\u06cc\u0686\u06af\u0648\u0646\u0647 \u0645\u0633\u0626\u0648\u0644\u06cc\u062a\u06cc \u062f\u0631 \u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0645\u0627 \u0648 \u0645\u0634\u06a9\u0644\u0627\u062a \u0627\u062d\u062a\u0645\u0627\u0644\u06cc \u0646\u062f\u0627\u0631\u062f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Orion Platform products use the Simple Network Management Protocol (SNMP) to collect detailed information about your server. &nbsp;While configuring SNMP, certain values are already pre-configured for you.&nbsp;This is by design, to ensure that your server is monitored properly. There are some settings that you will not be able to configure. Windows 10, Windows Server 2016, &hellip;<\/p>","protected":false},"author":1,"featured_media":1659,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[179,62],"tags":[308,311,310,309],"class_list":["post-1649","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps","category-tutorial","tag-snmp","tag-windows-server-2012-snmp","tag-windows-server-2012r2-snmp","tag-windows-server-snmp"],"uagb_featured_image_src":{"full":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp.webp",1000,667,false],"thumbnail":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-150x150.webp",150,150,true],"medium":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-300x200.webp",300,200,true],"medium_large":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-768x512.webp",768,512,true],"large":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp.webp",1000,667,false],"1536x1536":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp.webp",1000,667,false],"2048x2048":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp.webp",1000,667,false],"trp-custom-language-flag":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-18x12.webp",18,12,true],"jannah-image-small":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-220x150.webp",220,150,true],"jannah-image-large":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-390x220.webp",390,220,true],"jannah-image-post":["https:\/\/mellicloud.com\/main\/wp-content\/uploads\/2024\/02\/snmp-780x470.webp",780,470,true]},"uagb_author_info":{"display_name":"Admin","author_link":"https:\/\/mellicloud.com\/en\/author\/admin3207\/"},"uagb_comment_info":0,"uagb_excerpt":"Orion Platform products use the Simple Network Management Protocol (SNMP) to collect detailed information about your server. &nbsp;While configuring SNMP, certain values are already pre-configured for you.&nbsp;This is by design, to ensure that your server is monitored properly. There are some settings that you will not be able to configure. Windows 10, Windows Server 2016,&hellip;","_links":{"self":[{"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":8,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"predecessor-version":[{"id":1668,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/posts\/1649\/revisions\/1668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/media\/1659"}],"wp:attachment":[{"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellicloud.com\/en\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}