{"id":7467,"date":"2004-04-26T02:56:52","date_gmt":"2004-04-26T00:56:52","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/"},"modified":"2005-07-04T19:07:47","modified_gmt":"2005-07-04T16:07:47","slug":"mrtg","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/","title":{"rendered":"MRTG"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><img decoding=\"async\" class=\"alignright\" src=\"\/wordpress\/wp-content\/20040426-logo_mrtg.gif\"\/><a href=\"http:\/\/people.ee.ethz.ch\/ex-staff\/oetiker\/\">MRTG<\/a> (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I felt like sharing.<\/p>\n<p><!--more--><\/p>\n<pre>\r\n#\r\n# <u><b>MS Win2k server monitoring<\/b><\/u>\r\n#\r\n# <b>CPU #0<\/b>\r\n# My script gets the processor load using snmpwalk.  There is a bug in \r\n# MS SNMP implementation, which changes the processor OID every time SNMP \r\n# service is restarted.\r\n# My script takes care of it, until your processor is Intel based.  \r\nTarget[server1.cpu0]: `<a href='\/wp-content\/20040426-snmpcpuinfo.perl'>\/usr\/local\/bin\/mrtg\/snmpcpuinfo.perl<\/a> server1 community 0`\r\n# This will be created under WordDir.  Comes very handy, when you have a\r\n# a handfull of servers.\r\nDirectory[server1.cpu0]: server1.mydomain.com\r\n# Processor load is measured in percent, so 100 will be enough.\r\nMaxBytes[server1.cpu0]: 100\r\nOptions[server1.cpu0]: growright,integer,unknaszero,nopercent,gauge\r\nTitle[server1.cpu0]: server1.mydomain.com (cpu0)\r\nYLegend[server1.cpu0]: % Used\r\nShortLegend[server1.cpu0]: %\r\n# You can add here as many processors, as you have on your server.\r\n#\r\n# <b>eth0<\/b>\r\n# This is the network interface of our Win2k server.  The easiest way\r\n# to get the correct target is to use cfgmaker, which comes with MRTG.\r\nTarget[server1.eth0]: 2:community@server1.mydomain.com\r\nDirectory[server1.eth0]: server1.mydomain.com\r\nOptions[server1.eth0]: nopercent,growright\r\nTitle[server1.eth0]: server1.mydomain.com (eth0)\r\n#\r\n# <b>users and processes<\/b>\r\n# Actually, this is not that useful on Win server, though I added it to\r\n# have some consistency with Lin servers pages.\r\nTarget[server1.userproc]: `<a href='\/wordpress\/wp-content\/20040426-snmpuserprocinfo.perl'>\/usr\/local\/bin\/mrtg\/snmpuserprocinfo.perl<\/a> server1 community`\r\nDirectory[server1.userproc]: server1.mydomain.com\r\nMaxBytes[server1.userproc]: 523444000\r\nOptions[server1.userproc]: nopercent,growright,gauge,integer\r\nTitle[server1.userproc]: server1.mydomain.com (users and processes)\r\nYLegend[server1.userproc]: Processes\/Users\r\nShortLegend[server1.userproc]: #\r\n#\r\n# <b>Disk space on drive C<\/b>\r\n# The index of disk can be obtained from snmpwalk output.\r\n# Now, guess what?  Win2k does not update the value of space used very\r\n# often.  Actually, this value changes only when the SNMP service is\r\n# restarted.  There are different ways of going around this problem. I've\r\n# decided to schedule SNMP service restarts every 10 minutes with \r\n# <a href ='\/wordpress\/wp-content\/20040426-snmp-restart.bat'>this .bat file<\/a>.\r\nTarget[server1.diskc]: `<a href='\/wordpress\/wp-content\/20040426-snmphddinfo.perl'>\/usr\/local\/bin\/mrtg\/snmphddinfo.perl<\/a> server1 community 2`\r\nDirectory[server1.diskc]: server1.mydomain.com\r\n# Make sure you put a huge number in here\r\nMaxBytes[server1.diskc]: 100000000000\r\nOptions[server1.diskc]: growright,integer,unknaszero,nopercent,gauge\r\n# By default MRTG uses 1000 for Kilo.  Here we change it for a second\r\nkilo[server1.diskc]: 1024\r\n# Disk space is better viewed in Megabytes, Gigabytes, etc.\r\nkMG[server1.diskc]: M,G,T\r\nShortLegend[server1.diskc]: Bytes\r\n#\r\n#\r\n# <u><b>Linux server monitoring<\/b><\/u>\r\n#\r\n# Append the following lines to your \/etc\/snmp\/snmpd.conf and restart the\r\n# snmp daemon.  Of course, you should not have hash (#) sign in front of\r\n# those lines.\r\n# ----------\r\n# exec Load-1 \/usr\/bin\/perl <a href='\/wordpress\/wp-content\/20040426-loadavg.perl'>\/usr\/local\/sbin\/mrtg\/loadavg.perl<\/a> 1\r\n# exec Load-5 \/usr\/bin\/perl <a href='\/wordpress\/wp-content\/20040426-loadavg.perl'>\/usr\/local\/sbin\/mrtg\/loadavg.perl<\/a> 5\r\n# exec Procs \/usr\/bin\/perl <a href='\/wordpress\/wp-content\/20040426-numprocs.perl'>\/usr\/local\/sbin\/mrtg\/numprocs.perl<\/a>\r\n# exec MailQ \/usr\/bin\/perl <a href='\/wordpress\/wp-content\/20040426-mailqlen.perl'>\/usr\/local\/sbin\/mrtg\/mailqlen.perl<\/a>\r\n# exec MailQ-Frozen \/usr\/bin\/perl <a href='\/wordpress\/wp-content\/20040426-mailqlen.perl'>\/usr\/local\/sbin\/mrtg\/mailqlen.perl<\/a> frozen\r\n# ----------\r\n# <b>CPU #0<\/b>\r\n# Actually, I am not measuring CPU load on in Linux servers.  I am pretty\r\n# satisfied with plain Load Average * 100.\r\nTarget[server2.cpu0]: `<a href='\/wordpress\/wp-content\/20040426-snmploadavg.perl'>\/usr\/local\/bin\/mrtg\/snmploadavg.perl<\/a> server2 community`\r\nDirectory[server2.cpu0]: server2.mydomain.com\r\n# Actually, load average is multiplied by 100, so that the graph looks more\r\n# interesting.\r\nMaxBytes[server2.cpu0]: 10000\r\nOptions[server2.cpu0]: growright,integer,unknaszero,nopercent,gauge\r\nTitle[server2.cpu0]: server2.mydomain.com (Load average)\r\nYLegend[server2.cpu0]: loadavg\r\nLegendI[server2.cpu0]: 1 min load average\r\nLegendO[server2.cpu0]: 5 min load average    \r\n# You can add here as many processors, as you have on your server.\r\n#\r\n# <b>eth0<\/b>\r\n# Network monitoring is configured exactly the same as for Win2k server.\r\n# Still running of cfgmaker is recommended.\r\nTarget[server2.eth0]: 2:community@server2.mydomain.com\r\nDirectory[server2.eth0]: server2.mydomain.com\r\nOptions[server2.eth0]: nopercent,growright\r\nTitle[server2.eth0]: server2.mydomain.com (eth0)\r\n#\r\n# <b>Mailq<\/b>\r\n# Monitoring of mail queue is essential, since it helps you to see a \r\n# wide range of problems with your server\r\n# I am using <a href='http:\/\/www.exim.org'>Exim<\/a> instead of Sendmail,\r\n# so, I am sorry if you are missing mailq command.\r\nTarget[server2.mailq]: `<a href='\/wordpress\/wp-content\/20040426-snmpmailq.perl'>\/usr\/local\/bin\/mrtg\/snmpmailq.perl<\/a> server2 community`\r\nDirectory[server2.mailq]: server2.mydomain.com\r\n# Change the number appropriate for your environment\r\nMaxBytes[server2.mailq]: 1000000\r\nOptions[server2.mailq]: growright,integer,unknaszero,nopercent,gauge\r\nTitle[server2.mailq]: server2.mydomain.com (Mail Queue)\r\nYLegend[server2.mailq]: Messages\r\nShortLegend[server2.mailq]: Messages\r\nLegendI[server2.mailq]: Frozen\r\nLegendO[server2.mailq]: Total\r\n#\r\n# <b>users and processes<\/b>\r\n# Pretty much the same as for Win2k server, but note that \"lin\" parameter \r\n# to the script.\r\nTarget[server2.userproc]: `<a href='\/wordpress\/wp-content\/20040426-snmpuserprocinfo.perl'>\/usr\/local\/bin\/mrtg\/snmpuserprocinfo.perl<\/a> server2 community lin`\r\nDirectory[server2.userproc]: server2.mydomain.com\r\nMaxBytes[server2.userproc]: 523444000\r\nOptions[server2.userproc]: nopercent,growright,gauge,integer\r\nTitle[server2.userproc]: server2.mydomain.com (users and processes)\r\nYLegend[server2.userproc]: Processes\/Users\r\nShortLegend[server2.userproc]: #\r\n#\r\n# <b>Disk space on \/<\/b>\r\nTarget[server2.disk0]: `<a href='\/wordpress\/wp-content\/20040426-snmphddinfo.perl'>\/usr\/local\/bin\/mrtg\/snmphddinfo.perl<\/a> server2 community 1`\r\nDirectory[server2.disk0]: server2.mydomain.com\r\nMaxBytes[server2.disk0]: 100000000000\r\nOptions[server2.disk0]: growright,integer,unknaszero,nopercent,gauge\r\n# By default MRTG uses 1000 for Kilo.  Here we change it for a second\r\nkilo[server2.disk0]: 1024\r\nkMG[server2.disk0]: M,G,T\r\nShortLegend[server2.disk0]: Bytes\r\n<\/pre>\n<p>You can get all the scripts mentioned in this article as  <a href='\/wordpress\/wp-content\/mrtgscripts.tar.gz' title='MRTG scripts'>one file<\/a>.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">MRTG<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1,6,18,133,62],"tags":[132,2077,127,281,129,131],"keyring_services":[],"class_list":["post-7467","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-programming","category-sysadmin","category-technology","tag-configuration","tag-microsoft-windows","tag-monitoring","tag-networks","tag-servers","tag-snmp"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"MRTG - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2004-04-26T00:56:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2005-07-04T16:07:47+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"MRTG - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#blogposting\",\"name\":\"MRTG - Leonid Mamchenkov\",\"headline\":\"MRTG\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/wordpress\\\/wp-content\\\/20040426-logo_mrtg.gif\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#articleImage\"},\"datePublished\":\"2004-04-26T02:56:52+02:00\",\"dateModified\":\"2005-07-04T19:07:47+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":13,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#webpage\"},\"articleSection\":\"All, Linux, Programming, Sysadmin, Technology, configuration, Microsoft Windows, monitoring, networks, servers, SNMP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/#listItem\",\"name\":\"Linux\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/#listItem\",\"position\":3,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#listItem\",\"name\":\"MRTG\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#listItem\",\"position\":4,\"name\":\"MRTG\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/#listItem\",\"name\":\"Linux\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/\",\"name\":\"MRTG - Leonid Mamchenkov\",\"description\":\"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\\\/Memory\\\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2004\\\/04\\\/26\\\/mrtg\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2004-04-26T02:56:52+02:00\",\"dateModified\":\"2005-07-04T19:07:47+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"MRTG - Leonid Mamchenkov","description":"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#blogposting","name":"MRTG - Leonid Mamchenkov","headline":"MRTG","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","url":"\/wordpress\/wp-content\/20040426-logo_mrtg.gif","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#articleImage"},"datePublished":"2004-04-26T02:56:52+02:00","dateModified":"2005-07-04T19:07:47+02:00","inLanguage":"en-US","commentCount":13,"mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#webpage"},"articleSection":"All, Linux, Programming, Sysadmin, Technology, configuration, Microsoft Windows, monitoring, networks, servers, SNMP"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/#listItem","name":"Linux"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/#listItem","position":3,"name":"Linux","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#listItem","name":"MRTG"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#listItem","position":4,"name":"MRTG","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/#listItem","name":"Linux"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/","name":"MRTG - Leonid Mamchenkov","description":"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2004-04-26T02:56:52+02:00","dateModified":"2005-07-04T19:07:47+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"MRTG - Leonid Mamchenkov","og:description":"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I","og:url":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2004-04-26T00:56:52+00:00","article:modified_time":"2005-07-04T16:07:47+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"MRTG - Leonid Mamchenkov","twitter:description":"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file together with scripts, which I","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"7467","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-19 15:04:52","updated":"2026-01-14 19:26:47","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMRTG\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"Linux","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/"},{"label":"MRTG","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":9157,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/25\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":7467,"position":0},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"June 25, 2005","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2005-06-25 del.icio.us direc.tor: Delivering A High-Performance AJAX Web Service Broker :: Johnvey Tagged as: ajax browsers delicious javascript search tags web xml Google Maps Standalone Mode Tagged as: google googlemaps hack hacks map maps technology xml Jazz | All About Jazz Tagged as:\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":32,"url":"https:\/\/mamchenkov.net\/wordpress\/2002\/03\/26\/monitoring\/","url_meta":{"origin":7467,"position":1},"title":"Monitoring","author":"Leonid Mamchenkov","date":"March 26, 2002","format":false,"excerpt":"Monitoring issues rise again. I have read several reviews of MOM monitoring system from Microsoft. Here is one. My personal opinion is that there is nothing better there then Netsaint and MRTG. One problem I have in plans of solving is Netsaint to mrtg config converter. Or vice versa.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7324,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/01\/09\/2004-01-09\/","url_meta":{"origin":7467,"position":2},"title":"2004-01-09","author":"Leonid Mamchenkov","date":"January 9, 2004","format":false,"excerpt":"Network care day. I've upgraded all home network hosts from Red Hat Linux 9 to Fedora Core 1. Numerous other changes have been made, like a global configuration of SpamAssassin and revival of MRTG and it's migration to RRDTool. Everything went smooth and nice and I didn't even have to\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":230,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/05\/23\/random-bits-27\/","url_meta":{"origin":7467,"position":3},"title":"Random bits","author":"Leonid Mamchenkov","date":"May 23, 2003","format":false,"excerpt":"First of all, \"Matrix Reloaded\" starts today in all local cinemas. Since enjoying the movie is a more important factor then time difference between watching it and the release date, probably I am not going to watch it today. I expect all cinemas to get crowded, and that spoils it\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":134,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/02\/06\/random-bits-15\/","url_meta":{"origin":7467,"position":4},"title":"Random bits","author":"Leonid Mamchenkov","date":"February 6, 2003","format":false,"excerpt":"Today I did have the first production restore using amanda. It went like a charm. I've spent some time with Red Hat Network today, since updates were coming faster then I could put them - kernel, php, openldap, kerberos, xpdf, etc. Half of the day was spent on a somewhat\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25032,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/12\/11\/cpu-steal-time\/","url_meta":{"origin":7467,"position":5},"title":"CPU Steal Time","author":"Leonid Mamchenkov","date":"December 11, 2015","format":false,"excerpt":"Here's something that happens once in a blue moon - you get a server that seems overloaded while doing nothing. \u00a0There are several reasons for why that can happen, but today I'm only going to look at one of them. \u00a0As it happened to me very recently. Firstly, if you\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"web1","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/12\/web1-500x292.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=7467"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7467\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7467"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}