<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MRTG for Filers in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/MRTG-for-Filers/m-p/111560#M23565</link>
    <description>&lt;P class="p1"&gt;I have just installed MRT for filers (filer-mrtg) on a newly build CentOS 6.5 64bit vmware virtual machine.&lt;/P&gt;&lt;P class="p1"&gt;Perl is, v5.10.1 (*) built for x86_64-linux-thread-multi&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I have it running already on a physical Dell box running Fedora and perl, v5.10.0 built for i386-linux-thread-multi. It runs great! I’m trying to move it to this VM.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I followed instructions, editing the Makefile, just as it is on my Fedora box, put the entries in cron. But looking at ‘top’, I see that the cron entries just run and run and run, but do nothing other than crush the load on the machine. So I stopped them running from cron and just ran one at the command line.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;So the name of one of the filers is bos3140a.eci.cloud, the community string is public, and I can snmpwalk it from the command line.&lt;/P&gt;&lt;P class="p1"&gt;So I ran:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;/mrtgprod/bin/mrtg-filer-stats.sh bos3140a.eci.cloud public&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The following output just keeps rolling on the screen over and over:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Can't exec "/mrtgprod/mrtg-bin/rateup": No such file or directory at /mrtgprod/mrtg-bin/mrtg line 1051.&lt;/P&gt;&lt;P class="p1"&gt;2015-10-22 11:06:51: WARNING: rateup (/mrtgprod/mrtg-bin/rateup /mrtgprod/monitor/bos3140a.eci.cloud/ bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2 1445526411 -Z g 2 0 999 c #00cc00 #0000ff #006600 #ff00ff l [Percent used] k 1000 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-day.png 100 100 400 100 1 1 1 300 0 4 1 %Y-%m-%d %H:%M 0 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-week.png 100 100 400 100 1 1 1 1800 0 4 1 %Y-%m-%d %H:%M 0 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-month.png 100 100 400 100 1 1 1 7200 0 4 1 %Y-%m-%d %H:%M 0 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-year.png 100 100 400 100 1 1 1 86400 0 4 1 %Y-%m-%d %H:%M 0) did not work: No such file or directory&lt;/P&gt;&lt;P class="p1"&gt;readline() on closed filehandle RATEUP at /mrtgprod/mrtg-bin/mrtg line 1112&lt;/P&gt;&lt;P class="p1"&gt;2015-10-22 12:35:49: ERROR: Skipping webupdates because rateup did not return anything sensible&lt;BR /&gt;2015-10-22 12:35:49: ERROR: Bailout after SIG INT&lt;BR /&gt;2015-10-22 12:35:49: ERROR: Bailout after SIG INT&lt;BR /&gt;2015-10-22 12:35:49: ERROR: Bailout after SIG INT&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Line 1051 in /mrtgprod/mrtg-bin/mrtg does not reference a path or file so not sure what that “No such file or directory” is referring to. This is what I see around line 1051:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1047&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1048 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} else {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1049 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$! = undef;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1050 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;open (RATEUP,"-|") or&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1051 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;do { exec @exec or&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1052&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;warn "$NOW: WARNING: rateup (".(join " ", @exec ).&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1053 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;") did not work: $!\n";&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1054 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;};&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1055&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;And then is says it closed on line 1112 which is:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1112 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$res = &amp;lt;RATEUP&amp;gt;;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Have you seen this before? Is this a result of the different versions of perl?&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I had done this during the build of the server.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;yum install mrtg net-snmp net-snmp-utils&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I also disable SELINUX.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If you guys are able to point me in the right direction I would appreciate it greatly. Maybe a permissions issue somewhere?&lt;/P&gt;&lt;P class="p1"&gt;I couldn’t find a log file but U guess the output of running the command manually gives an indication of what’s going on, at least to someone who understands it.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Roger&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 22:58:37 GMT</pubDate>
    <dc:creator>rmccarrick</dc:creator>
    <dc:date>2025-06-04T22:58:37Z</dc:date>
    <item>
      <title>MRTG for Filers</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/MRTG-for-Filers/m-p/111560#M23565</link>
      <description>&lt;P class="p1"&gt;I have just installed MRT for filers (filer-mrtg) on a newly build CentOS 6.5 64bit vmware virtual machine.&lt;/P&gt;&lt;P class="p1"&gt;Perl is, v5.10.1 (*) built for x86_64-linux-thread-multi&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I have it running already on a physical Dell box running Fedora and perl, v5.10.0 built for i386-linux-thread-multi. It runs great! I’m trying to move it to this VM.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I followed instructions, editing the Makefile, just as it is on my Fedora box, put the entries in cron. But looking at ‘top’, I see that the cron entries just run and run and run, but do nothing other than crush the load on the machine. So I stopped them running from cron and just ran one at the command line.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;So the name of one of the filers is bos3140a.eci.cloud, the community string is public, and I can snmpwalk it from the command line.&lt;/P&gt;&lt;P class="p1"&gt;So I ran:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;/mrtgprod/bin/mrtg-filer-stats.sh bos3140a.eci.cloud public&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The following output just keeps rolling on the screen over and over:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Can't exec "/mrtgprod/mrtg-bin/rateup": No such file or directory at /mrtgprod/mrtg-bin/mrtg line 1051.&lt;/P&gt;&lt;P class="p1"&gt;2015-10-22 11:06:51: WARNING: rateup (/mrtgprod/mrtg-bin/rateup /mrtgprod/monitor/bos3140a.eci.cloud/ bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2 1445526411 -Z g 2 0 999 c #00cc00 #0000ff #006600 #ff00ff l [Percent used] k 1000 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-day.png 100 100 400 100 1 1 1 300 0 4 1 %Y-%m-%d %H:%M 0 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-week.png 100 100 400 100 1 1 1 1800 0 4 1 %Y-%m-%d %H:%M 0 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-month.png 100 100 400 100 1 1 1 7200 0 4 1 %Y-%m-%d %H:%M 0 i /mrtgprod/monitor/bos3140a.eci.cloud/bos3140a.eci.cloud.df.bos3140a_drsite_shared_swap_2-year.png 100 100 400 100 1 1 1 86400 0 4 1 %Y-%m-%d %H:%M 0) did not work: No such file or directory&lt;/P&gt;&lt;P class="p1"&gt;readline() on closed filehandle RATEUP at /mrtgprod/mrtg-bin/mrtg line 1112&lt;/P&gt;&lt;P class="p1"&gt;2015-10-22 12:35:49: ERROR: Skipping webupdates because rateup did not return anything sensible&lt;BR /&gt;2015-10-22 12:35:49: ERROR: Bailout after SIG INT&lt;BR /&gt;2015-10-22 12:35:49: ERROR: Bailout after SIG INT&lt;BR /&gt;2015-10-22 12:35:49: ERROR: Bailout after SIG INT&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Line 1051 in /mrtgprod/mrtg-bin/mrtg does not reference a path or file so not sure what that “No such file or directory” is referring to. This is what I see around line 1051:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1047&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1048 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;} else {&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1049 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$! = undef;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1050 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;open (RATEUP,"-|") or&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1051 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;do { exec @exec or&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1052&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;warn "$NOW: WARNING: rateup (".(join " ", @exec ).&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1053 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;") did not work: $!\n";&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1054 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;};&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1055&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;And then is says it closed on line 1112 which is:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;1112 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$res = &amp;lt;RATEUP&amp;gt;;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Have you seen this before? Is this a result of the different versions of perl?&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I had done this during the build of the server.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;yum install mrtg net-snmp net-snmp-utils&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I also disable SELINUX.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If you guys are able to point me in the right direction I would appreciate it greatly. Maybe a permissions issue somewhere?&lt;/P&gt;&lt;P class="p1"&gt;I couldn’t find a log file but U guess the output of running the command manually gives an indication of what’s going on, at least to someone who understands it.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thanks&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Roger&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:58:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/MRTG-for-Filers/m-p/111560#M23565</guid>
      <dc:creator>rmccarrick</dc:creator>
      <dc:date>2025-06-04T22:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG for Filers</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/MRTG-for-Filers/m-p/111588#M23568</link>
      <description>&lt;P&gt;as clearly indicated, &amp;nbsp;/mrtgprod/mrtg-bin/rateup is missing.&lt;/P&gt;&lt;P&gt;Check build or install error, or use pre-built package if possible.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 00:47:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/MRTG-for-Filers/m-p/111588#M23568</guid>
      <dc:creator>YIshikawa</dc:creator>
      <dc:date>2015-10-23T00:47:23Z</dc:date>
    </item>
  </channel>
</rss>

