{"id":1345,"date":"2016-06-08T17:15:20","date_gmt":"2016-06-08T14:15:20","guid":{"rendered":"http:\/\/www.systemcodegeeks.com\/?p=1345"},"modified":"2017-12-01T17:24:44","modified_gmt":"2017-12-01T15:24:44","slug":"nagios-monitoring-snmp","status":"publish","type":"post","link":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/","title":{"rendered":"Nagios monitoring through SNMP"},"content":{"rendered":"<p><em>This article is part of our Academy Course titled <a href=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-tutorial\/\">Nagios Tutorial for IT Monitoring<\/a>.<\/p>\n<p>In this course, we provide a compilation of Nagios tutorials that will help you set up your own monitoring infrastructure. We cover a wide range of topics, from installation and configuration, to plugins and NRPE. With our straightforward tutorials, you will be able to get your own projects up and running in minimum time. Check it out <a href=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-tutorial\/\">here<\/a>!<\/em><\/p>\n<p>In the previous two articles (<a href=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-core-installation-configuration\/\" target=\"_blank\">Nagios Core Installation and Configuration on Ubuntu Server<\/a> and <a href=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-plugins-nrpe-check-remote-hosts\/\" target=\"_blank\">Using Nagios plugins and NRPE to check network services and metrics on remote hosts<\/a>) we discussed how to install Nagios Core, plugins and NRPE to monitor host status (up \/ down), several network services running on Linux servers, and machine-specific metrics such as the number of logged-on users, processes, and CPU load, to name a few examples.<\/p>\n<p>Additionally, you can use the Simple Network Management Protocol (SNMP) with Nagios to manage other types of network devices, such as printers, routers, and switches. This will be the topic that we will address in this guide.<\/p>\n<div class=\"tip\">SNMP not only allows to collect information about a network device, but also to modify the behavior of such device. Under the hood, this protocol exposes device data in the form of variables, which can then be queried and \/ or set by controlling applications. A classic example of modifying device data consists of changing the date and time on network printers, and retrieving print counts. However, not all variables are rw (read and write), and most of them are only read-only. If in doubt, refer to the device documentation.<\/div>\n<p>[ulp id=&#8217;L53PrRMj3e7JC9OS&#8217;]<\/p>\n<h2>Prerequisites<\/h2>\n<p>As explained earlier, you will typically use SNMP with Nagios to monitor network devices, as opposed to using plugins or NRPE to check services and system information associated with a Linux system. However, you can still use SNMP in the latter case as well. For simplicity, we will use the same CentOS 7 box we have been utilizing so far.<\/p>\n<p>In order to use the CentOS 7 box to simulate a regular network device, we will need to perform some preliminary work before proceeding. This prework will consist of the following steps:<\/p>\n<p><b>Step 0 &#8211;<\/b> Review basic SNMP concepts. Although a thorough discussion about SNMP is out of the scope of this article, we will try to point out the basics as we go. However, should you need a more detailed explanation, feel free to take a look at <a href=\"http:\/\/askubuntu.com\/questions\/141564\/what-is-snmp-used-for\" target=\"_blank\">this excellent question<\/a> (with answers) in the Ubuntu forums. Bookmark that page in case you need to refer to it for clarifications later.<\/p>\n<div class=\"tip\">\n<p>Our test environment consists of the following key components (essential in SNMP monitoring):<\/p>\n<ul>\n<li>Managed device: CentOS 7 box.<\/li>\n<li>Agent: the snmpd service running on the CentOS machine.<\/li>\n<li>A Network Management System: Nagios running on the Ubuntu box.<\/li>\n<\/ul>\n<\/div>\n<p><b>Step 1 &#8211;<\/b> Stop and disable xinetd (which will prevent the service from starting automatically on subsequent boots) on the managed device:<\/p>\n<pre class=\"brush:bash\">systemctl stop xinetd &amp;&amp; systemctl disable xinetd<\/pre>\n<p><b>Step 2 &#8211;<\/b> Install the SNMP packages on the Ubuntu box (this is required before proceeding with Step 3):<\/p>\n<pre class=\"brush:bash\">sudo apt-get install snmp snmpd libsnmp-dev<\/pre>\n<p>and in the CentOS 7 machine (necessary to monitor this host via SNMP):<\/p>\n<pre class=\"brush:bash\">yum install net-snmp net-snmp-utils<\/pre>\n<p>Finally, make sure that the snmpd service is started in the current session and on subsequent boots (CentOS):<\/p>\n<pre class=\"brush:bash\">systemctl start snmpd &amp;&amp; systemctl enable snmpd<\/pre>\n<p><b>Step 3 &#8211;<\/b> Recompile the Nagios plugins on the Ubuntu box. Since the SNMP packages were not installed at the time when we first compiled the plugins (see Step 9 in <a href=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-core-installation-configuration\/\" target=\"_blank\">Nagios Core Installation and Configuration on Ubuntu Server<\/a> for your reference), the check_snmp plugin could not be added to \/usr\/local\/nagios\/libexec.<\/p>\n<p>After completing Steps 2 and 3, verify that the check_snmp plugin is now present inside \/usr\/local\/nagios\/libexec, as indicated in Fig. 1:<\/p>\n<pre class=\"brush:bash\">ls -l \/usr\/local\/nagios\/libexec | grep snmp<\/pre>\n<figure id=\"attachment_1347\" aria-describedby=\"caption-attachment-1347\" style=\"width: 506px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/01.png\"><img decoding=\"async\" class=\"size-full wp-image-1347\" src=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/01.png\" alt=\"Figure 1: Checking the presence of the check_snmp plugin\" width=\"506\" height=\"81\" srcset=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/01.png 506w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/01-300x48.png 300w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/a><figcaption id=\"caption-attachment-1347\" class=\"wp-caption-text\">Figure 1: Checking the presence of the check_snmp plugin<\/figcaption><\/figure>\n<p><b>Step 4 &#8211;<\/b> Remove (or comment out) the lines in the \/usr\/local\/nagios\/etc\/servers\/centos7.cfg file except for the host definition (we will later add a couple of service definitions).<\/p>\n<pre class=\"brush:xml\">define host {\r\nhost_name \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 centos7\r\nalias \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 My CentOS 7 server\r\naddress \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 192.168.0.29\r\nmax_check_attempts \u00a0\u00a0\u00a0\u00a0 3\r\ncheck_period \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 24x7\r\ncheck_command \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 check-host-alive\r\ncontacts \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 nagiosadmin\r\nnotification_interval \u00a0\u00a060\r\nnotification_period \u00a0\u00a0\u00a0 24x7\r\n}\r\n<\/pre>\n<p><b>Step 5 &#8211;<\/b> Open port 161\/udp on the CentOS 7 host (for your information, this is the port where SNMP traffic will be directed to):<\/p>\n<pre class=\"brush:bash\">firewall-cmd --add-port=161\/udp\r\nfirewall-cmd --add-port=161\/udp --permanent<\/pre>\n<p>Steps 0 through 5, as outlined above, represent the essential preparations in order for Nagios to monitor the CentOS 7 system via SNMP. In the following sections we will get to the nitty-gritty of the corresponding configurations.<\/p>\n<h2>Configuring SNMP on the managed device<\/h2>\n<p>Once you have installed and started snmpd in the CentOS 7 box, the variables are only accessible from that host. We need to allow the Ubuntu box to query those variables. To do that, rename \/etc\/snmp\/snmpd.conf to \/etc\/snmp\/snmpd.conf.orig, and -for simplicity- create a new snmpd.conf file with only the following lines in it. The last three lines (beginning with disk) represent the mount points of existing root, projects, and backups logical volumes, where we will want to check the percentage of disk usage via SNMP:<\/p>\n<pre class=\"brush:xml\">rocommunity public 192.168.0.0\/24\r\ndisk \/\r\ndisk \/home\/projects\r\ndisk \/home\/backups\r\n<\/pre>\n<p>After restarting snmpd, hosts in the 192.168.0.0\/24 network will be allowed to query (ro: read-only) the SNMP variables from the CentOS 7 machine.<\/p>\n<div class=\"tip\">Please keep in mind that this is a basic configuration. You can also restrict access to the SNMP variables by host using the IP of the allowed machine. To explore further options, run the snmpconf command on the managed device after making a copy of snmpd.conf.<\/div>\n<h2>Configuring Nagios for SNMP<\/h2>\n<p>To read or set variables via SNMP, object identifiers (OIDs) are used. A list of common OIDs are available in <a href=\"http:\/\/www.oid-info.com\/basic-search.htm\" target=\"_blank\">http:\/\/www.oid-info.com\/basic-search.htm<\/a>.<\/p>\n<p>Here are some sample OIDs that we are going to use in this guide:<\/p>\n<ul>\n<li>System uptime: 1.3.6.1.2.1.25.1.1.0<\/li>\n<li>Percentage of disk space usage (<b>first<\/b> mount point indicated in snmpd.conf): 1.3.6.1.4.1.2021.9.1.9.<b>1<\/b><\/li>\n<li>Percentage of disk space usage (<b>second<\/b> mount point indicated in snmpd.conf): 1.3.6.1.4.1.2021.9.1.9.<b>2<\/b><\/li>\n<li>Percentage of disk space usage (<b>third<\/b> mount point indicated in snmpd.conf): 1.3.6.1.4.1.2021.9.1.9.<b>3<\/b><\/li>\n<li>Total RAM installed: 1.3.6.1.4.1.2021.4.5.0<\/li>\n<\/ul>\n<div class=\"tip\">\n<p>Object IDentifiers are unique across devices and vendors. In other words, the same information is accessible using the same OID. However, some vendors may have specific OIDs for their devices.<\/p>\n<\/div>\n<p>In the Nagios server, make sure the following block is present in \/usr\/local\/nagios\/etc\/objects\/commands.cfg:<\/p>\n<pre class=\"brush:xml\">define command{\r\ncommand_name\u00a0\u00a0\u00a0 check_snmp\r\ncommand_line\u00a0\u00a0\u00a0 $USER1$\/check_snmp -H $HOSTADDRESS$ $ARG1$\r\n}\r\n<\/pre>\n<p>And append the following command definitions to the same file. They will be used to check the uptime, the percentage of disk usage, and the total RAM installed.<\/p>\n<pre class=\"brush:xml\"># Uptime via SNMP\r\ndefine command{\r\ncommand_name\u00a0\u00a0\u00a0 SNMP-Uptime\r\ncommand_line\u00a0\u00a0\u00a0 $USER1$\/check_snmp -o 1.3.6.1.2.1.25.1.1.0 -H $HOSTADDRESS$ $ARG1$\r\n}\r\n# Percentage of disk usage (\/)\r\ndefine command{\r\ncommand_name\u00a0\u00a0\u00a0 SNMP-DiskUsagePercentageRoot\r\ncommand_line\u00a0\u00a0\u00a0 $USER1$\/check_snmp -o 1.3.6.1.4.1.2021.9.1.9.1 -H $HOSTADDRESS$ $ARG1$ -w 60 -c 80\r\n}\r\n# Percentage of disk usage (\/home\/projects)\r\ndefine command{\r\ncommand_name\u00a0\u00a0\u00a0 SNMP-DiskUsagePercentageProjects\r\ncommand_line\u00a0\u00a0\u00a0 $USER1$\/check_snmp -o 1.3.6.1.4.1.2021.9.1.9.2 -H $HOSTADDRESS$ $ARG1$ -w 60 -c 80\r\n}\r\n# Percentage of disk usage (\/home\/backups)\r\ndefine command{\r\ncommand_name\u00a0\u00a0\u00a0 SNMP-DiskUsagePercentageBackups\r\ncommand_line\u00a0\u00a0\u00a0 $USER1$\/check_snmp -o 1.3.6.1.4.1.2021.9.1.9.3 -H $HOSTADDRESS$ $ARG1$ -w 60 -c 80\r\n}\r\n# Total RAM installed\r\ndefine command{\r\ncommand_name\u00a0\u00a0\u00a0 SNMP-TotalRAMInstalled\r\ncommand_line\u00a0\u00a0\u00a0 $USER1$\/check_snmp -o 1.3.6.1.4.1.2021.4.5.0 -H $HOSTADDRESS$ $ARG1$\r\n}\r\n<\/pre>\n<p>Finally, we will add the corresponding service definitions to apply the above commands to our CentOS box. To do that, insert the following lines in \/usr\/local\/nagios\/etc\/servers\/centos7.cfg:<\/p>\n<pre class=\"brush:xml\">define service{\r\nuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 generic-service\r\nhost_name \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 centos7\r\nservice_description \u00a0\u00a0\u00a0 System uptime\r\ncheck_command \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SNMP-Uptime!-C public\r\n}\r\ndefine service{\r\nuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 generic-service\r\nhost_name \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 centos7\r\nservice_description \u00a0\u00a0\u00a0 Disk used percentage of \/\r\ncheck_command \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SNMP-DiskUsagePercentageRoot!-C public\r\n}\r\ndefine service{\r\nuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 generic-service\r\nhost_name \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 centos7\r\nservice_description \u00a0\u00a0\u00a0 Disk used percentage of \/home\/projects\r\ncheck_command \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SNMP-DiskUsagePercentageProjects!-C public\r\n}\r\ndefine service{\r\nuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 generic-service\r\nhost_name \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 centos7\r\nservice_description \u00a0\u00a0\u00a0 Disk used percentage of \/home\/backups\r\ncheck_command \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SNMP-DiskUsagePercentageBackups!-C public\r\n}\r\ndefine service{\r\nuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 generic-service\r\nhost_name \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 centos7\r\nservice_description \u00a0\u00a0\u00a0 System uptime\r\ncheck_command \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SNMP-Uptime!-C public\r\n}\r\n<\/pre>\n<p>Once Nagios is restarted, we can open the web user interface and check the status of the services that we just defined as we can see in Fig. 2:<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_1348\" aria-describedby=\"caption-attachment-1348\" style=\"width: 960px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/02.png\"><img decoding=\"async\" class=\"size-full wp-image-1348\" src=\"http:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/02.png\" alt=\"Figure 2: Displaying system variables acquired through SNMP in Nagios\" width=\"960\" height=\"165\" srcset=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/02.png 960w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/02-300x52.png 300w, https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/06\/02-768x132.png 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><figcaption id=\"caption-attachment-1348\" class=\"wp-caption-text\">Figure 2: Displaying system variables acquired through SNMP in Nagios<\/figcaption><\/figure>\n<p>The <strong>WARNING<\/strong> status in the percentage of disk usage corresponding to the root partition is caused by the -w flag followed by 60 in the <em>SNMP-DiskUsagePercentageRoot<\/em> command definition; that is, raise a warning message if the disk usage is above 60%.<\/p>\n<h2>Summary<\/h2>\n<p>In this article we have reviewed some essential concepts about SNMP and explained how to configure Nagios to monitor system metrics in the managed device using that protocol. To check other types of network devices, consult the specific documentation. The only difference is that you will not need to set up a SNMP agent in a network printer, or a router. The rest of this guide should apply to such cases without major modifications.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that will help you set up your own monitoring infrastructure. We cover a wide range of topics, from installation and configuration, to plugins and NRPE. With our straightforward tutorials, you will &hellip;<\/p>\n","protected":false},"author":15,"featured_media":209,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-1345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nagios"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Nagios monitoring through SNMP - System Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nagios monitoring through SNMP - System Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\" \/>\n<meta property=\"og:site_name\" content=\"System Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/systemcodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/gacanepa\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-08T14:15:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-01T15:24:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Gabriel Canepa\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@gacanepa\" \/>\n<meta name=\"twitter:site\" content=\"@systemcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gabriel Canepa\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\"},\"author\":{\"name\":\"Gabriel Canepa\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/967da353d0f1a1de21c9504942625a5f\"},\"headline\":\"Nagios monitoring through SNMP\",\"datePublished\":\"2016-06-08T14:15:20+00:00\",\"dateModified\":\"2017-12-01T15:24:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\"},\"wordCount\":1242,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg\",\"articleSection\":[\"Nagios\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\",\"url\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\",\"name\":\"Nagios monitoring through SNMP - System Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg\",\"datePublished\":\"2016-06-08T14:15:20+00:00\",\"dateModified\":\"2017-12-01T15:24:44+00:00\",\"description\":\"This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that\",\"breadcrumb\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage\",\"url\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg\",\"contentUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.systemcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Monitoring\",\"item\":\"https:\/\/www.systemcodegeeks.com\/category\/monitoring\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Nagios\",\"item\":\"https:\/\/www.systemcodegeeks.com\/category\/monitoring\/nagios\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Nagios monitoring through SNMP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#website\",\"url\":\"https:\/\/www.systemcodegeeks.com\/\",\"name\":\"System Code Geeks\",\"description\":\"Operating System Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.systemcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.systemcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/systemcodegeeks\",\"https:\/\/x.com\/systemcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/967da353d0f1a1de21c9504942625a5f\",\"name\":\"Gabriel Canepa\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27b3ea2a3fb1de4ed1c8694a1465c099a86586d8b833a0d852a26d76d750df9f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27b3ea2a3fb1de4ed1c8694a1465c099a86586d8b833a0d852a26d76d750df9f?s=96&d=mm&r=g\",\"caption\":\"Gabriel Canepa\"},\"description\":\"Gabriel Canepa is a Linux Foundation Certified System Administrator (LFCS-1500-0576-0100) and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work. When he's not typing commands or writing code or articles, he enjoys telling bedtime stories with his wife to his two little daughters and playing with them, the great pleasure of his life.\",\"sameAs\":[\"http:\/\/www.gabrielcanepa.com.ar\/\",\"https:\/\/www.facebook.com\/gacanepa\",\"https:\/\/ar.linkedin.com\/in\/gacanepa\",\"https:\/\/x.com\/gacanepa\"],\"url\":\"https:\/\/www.systemcodegeeks.com\/author\/gabriel-canepa\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nagios monitoring through SNMP - System Code Geeks - 2026","description":"This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that","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:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/","og_locale":"en_US","og_type":"article","og_title":"Nagios monitoring through SNMP - System Code Geeks - 2026","og_description":"This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that","og_url":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/","og_site_name":"System Code Geeks","article_publisher":"https:\/\/www.facebook.com\/systemcodegeeks","article_author":"https:\/\/www.facebook.com\/gacanepa","article_published_time":"2016-06-08T14:15:20+00:00","article_modified_time":"2017-12-01T15:24:44+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg","type":"image\/jpeg"}],"author":"Gabriel Canepa","twitter_card":"summary_large_image","twitter_creator":"@gacanepa","twitter_site":"@systemcodegeeks","twitter_misc":{"Written by":"Gabriel Canepa","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#article","isPartOf":{"@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/"},"author":{"name":"Gabriel Canepa","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/967da353d0f1a1de21c9504942625a5f"},"headline":"Nagios monitoring through SNMP","datePublished":"2016-06-08T14:15:20+00:00","dateModified":"2017-12-01T15:24:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/"},"wordCount":1242,"commentCount":2,"publisher":{"@id":"https:\/\/www.systemcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg","articleSection":["Nagios"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/","url":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/","name":"Nagios monitoring through SNMP - System Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.systemcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage"},"image":{"@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg","datePublished":"2016-06-08T14:15:20+00:00","dateModified":"2017-12-01T15:24:44+00:00","description":"This article is part of our Academy Course titled Nagios Tutorial for IT Monitoring. In this course, we provide a compilation of Nagios tutorials that","breadcrumb":{"@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#primaryimage","url":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg","contentUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2016\/01\/nagios-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.systemcodegeeks.com\/monitoring\/nagios\/nagios-monitoring-snmp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.systemcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Monitoring","item":"https:\/\/www.systemcodegeeks.com\/category\/monitoring\/"},{"@type":"ListItem","position":3,"name":"Nagios","item":"https:\/\/www.systemcodegeeks.com\/category\/monitoring\/nagios\/"},{"@type":"ListItem","position":4,"name":"Nagios monitoring through SNMP"}]},{"@type":"WebSite","@id":"https:\/\/www.systemcodegeeks.com\/#website","url":"https:\/\/www.systemcodegeeks.com\/","name":"System Code Geeks","description":"Operating System Developers Resource Center","publisher":{"@id":"https:\/\/www.systemcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.systemcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.systemcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.systemcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.systemcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/systemcodegeeks","https:\/\/x.com\/systemcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/967da353d0f1a1de21c9504942625a5f","name":"Gabriel Canepa","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.systemcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/27b3ea2a3fb1de4ed1c8694a1465c099a86586d8b833a0d852a26d76d750df9f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27b3ea2a3fb1de4ed1c8694a1465c099a86586d8b833a0d852a26d76d750df9f?s=96&d=mm&r=g","caption":"Gabriel Canepa"},"description":"Gabriel Canepa is a Linux Foundation Certified System Administrator (LFCS-1500-0576-0100) and web developer from Villa Mercedes, San Luis, Argentina. He works for a worldwide leading consumer product company and takes great pleasure in using FOSS tools to increase productivity in all areas of his daily work. When he's not typing commands or writing code or articles, he enjoys telling bedtime stories with his wife to his two little daughters and playing with them, the great pleasure of his life.","sameAs":["http:\/\/www.gabrielcanepa.com.ar\/","https:\/\/www.facebook.com\/gacanepa","https:\/\/ar.linkedin.com\/in\/gacanepa","https:\/\/x.com\/gacanepa"],"url":"https:\/\/www.systemcodegeeks.com\/author\/gabriel-canepa\/"}]}},"_links":{"self":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/posts\/1345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/comments?post=1345"}],"version-history":[{"count":0,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/posts\/1345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/media\/209"}],"wp:attachment":[{"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/media?parent=1345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/categories?post=1345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.systemcodegeeks.com\/wp-json\/wp\/v2\/tags?post=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}