<?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 Re: MRTG configuration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389239#M198909</link>
    <description>Hi Geoff,&lt;BR /&gt;&lt;BR /&gt;Thanks for the information. Unfortunately I tried copying your memory and cpu configs but it didn't worked out. I got an error&lt;BR /&gt;&lt;BR /&gt;====&lt;BR /&gt;C:\mrtg-2.10.15\bin&amp;gt;perl mrtg mrtg.cfg&lt;BR /&gt;Daemonizing MRTG ...&lt;BR /&gt;Do Not close this window. Or MRTG will die&lt;BR /&gt;SNMP Error:&lt;BR /&gt;Received SNMP response with error code&lt;BR /&gt;  error status: noSuchName&lt;BR /&gt;  index 1 (OID: 1.3.6.1.4.1.9.2.1.58.0)&lt;BR /&gt;SNMPv1_Session (remote host: "172.30.240.250"&lt;BR /&gt;====&lt;BR /&gt;&lt;BR /&gt;Is the SNMPOID standard for all servers? Thanks.&lt;BR /&gt;</description>
    <pubDate>Fri, 01 Oct 2004 00:02:18 GMT</pubDate>
    <dc:creator>gerjam</dc:creator>
    <dc:date>2004-10-01T00:02:18Z</dc:date>
    <item>
      <title>MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389235#M198905</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please help me how to configure MRTG to monitor CPU, memory and disk usage. I installed MRTG and by default, only i/f cards are defined. I cannot fully understand the guide :) and I don't know what is meant by SNMPOID. Kindly help and enlighten me. &lt;BR /&gt;&lt;BR /&gt;Thank you very much in advance.</description>
      <pubDate>Tue, 28 Sep 2004 22:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389235#M198905</guid>
      <dc:creator>gerjam</dc:creator>
      <dc:date>2004-09-28T22:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389236#M198906</link>
      <description>Here's what I have setup:&lt;BR /&gt;&lt;BR /&gt;In /opt/hpws/apache/mrtg/mrtg.cfg&lt;BR /&gt;&lt;BR /&gt;Target[svr108.cpu]:.1.3.6.1.4.1.11.2.3.1.1.15.0&amp;amp;.1.3.6.1.4.1.11.2.3.1.1.13.0:public@svr108.mydomain.com + .1.3.6.1.4.1.11.2.3.1.1.16.0&amp;amp;.1.3.6.1.4.1.11.2.3.1.1.14.0:public@svr108.mydomain.com&lt;BR /&gt;Title[svr108.cpu]: CPU Load on svr108.mydomain.com&lt;BR /&gt;MaxBytes[svr108.cpu]: 100&lt;BR /&gt;Ylegend[svr108.cpu]: CPU Load&lt;BR /&gt;ShortLegend[svr108.cpu]: %&lt;BR /&gt;PageTop[svr108.cpu]: &lt;H1&gt;CPU Load on svr108&lt;/H1&gt;&lt;BR /&gt;Options[svr108.cpu]: integer, growright, nopercent&lt;BR /&gt;WithPeak[svr108.cpu]: wmy&lt;BR /&gt;LegendO[svr108.cpu]: User/System: &amp;nbsp;&lt;BR /&gt;LegendI[svr108.cpu]: Idle/Nice: &amp;nbsp;&lt;BR /&gt;Legend1[svr108.cpu]: Idle/Nice CPU Time&lt;BR /&gt;Legend2[svr108.cpu]: User/System CPU Time&lt;BR /&gt;Legend3[svr108.cpu]: Maximal Idle/Nice CPU Time&lt;BR /&gt;Legend4[svr108.cpu]: Maximal User/System CPU Time&lt;BR /&gt;&lt;BR /&gt;Target[svr108.mem]: .1.3.6.1.4.1.11.2.3.1.1.7.0&amp;amp;.1.3.6.1.4.1.11.2.3.1.1.8.0:public@svr108.mydomain.com&lt;BR /&gt;Title[svr108.mem]: Memory on svr108.mydomain.com&lt;BR /&gt;MaxBytes[svr108.mem]: 1000000000&lt;BR /&gt;Ylegend[svr108.mem]: Memory Usage&lt;BR /&gt;ShortLegend[svr108.mem]: &amp;nbsp;&lt;BR /&gt;PageTop[svr108.mem]: &lt;H1&gt;Memory on svr108&lt;/H1&gt;&lt;BR /&gt;Options[svr108.mem]: integer, gauge, growright, nopercent&lt;BR /&gt;kilo[svr108.mem]: 1024&lt;BR /&gt;WithPeak[svr108.mem]: wmy&lt;BR /&gt;kMG[svr108.mem]: k,M,G&lt;BR /&gt;LegendO[svr108.mem]: Total: &amp;nbsp;&lt;BR /&gt;LegendI[svr108.mem]: Free: &amp;nbsp;&lt;BR /&gt;Legend1[svr108.mem]: Free System Memory&lt;BR /&gt;Legend2[svr108.mem]: Total Available System Memory&lt;BR /&gt;Legend3[svr108.mem]: Maximal Free System Memory&lt;BR /&gt;Legend4[svr108.mem]: Maximal Available System Memory&lt;BR /&gt;&lt;BR /&gt;In cron:&lt;BR /&gt;&lt;BR /&gt;0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/mrtg /opt/hpws/apache/mrtg/mrtg.cfg --logging /var/adm/mrtg.log &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other waays instead of snmp, is to generate a file on the host to collect data from, then grab that file and process it:&lt;BR /&gt;&lt;BR /&gt;#------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Target[dnsdnssvr01]: `cat /tmp/dnssvr01.named.stats.mrtg`&lt;BR /&gt;Options[dnsdnssvr01]: nopercent,growright,perhour&lt;BR /&gt;Title[dnsdnssvr01]: DNS: Requests per hour on dnssvr01&lt;BR /&gt;PageTop[dnsdnssvr01]: &lt;H1&gt;DNS: Requests per hour on dnssvr01&lt;/H1&gt;&lt;BR /&gt;MaxBytes[dnsdnssvr01]: 1000000000&lt;BR /&gt;YLegend[dnsdnssvr01]: reqs/hour&lt;BR /&gt;ShortLegend[dnsdnssvr01]: per hour&lt;BR /&gt;LegendI[dnsdnssvr01]: &amp;nbsp;Requests:&lt;BR /&gt;LegendO[dnsdnssvr01]: &amp;nbsp;Failures:&lt;BR /&gt;Legend1[dnsdnssvr01]: Requests per hour&lt;BR /&gt;Legend2[dnsdnssvr01]: Failures per hour&lt;BR /&gt;PageFoot[dnsdnssvr01]: &lt;BR /&gt;&lt;I&gt;&lt;B&gt;Note:&lt;/B&gt; &lt;BR /&gt;&lt;B&gt;success&lt;/B&gt; is the number of successful queries the server handled. &lt;BR /&gt;&lt;B&gt;failures&lt;/B&gt; is the number of queries the server received that resulted in &lt;BR /&gt;errors other than those covered by nxrrset and nxdomain.&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Contents of file:&lt;BR /&gt;# cat /tmp/dnssvr01.named.stats.mrtg&lt;BR /&gt;4023416&lt;BR /&gt;371120&lt;BR /&gt;257 day(s) 13:20&lt;BR /&gt;dnssvr01&lt;BR /&gt;&lt;BR /&gt;Cron on remote server:&lt;BR /&gt;# dns stats for mrtg&lt;BR /&gt;3,8,13,18,23,28,33,38,43,48,53,58 * * * * /usr/local/bin/mrtg-dns-stats &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;cat /usr/local/bin/mrtg-dns-stats&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# generate mrtg file for dns stats&lt;BR /&gt;/usr/local/sbin/rndc stats&lt;BR /&gt;SERVER=`uname -n`&lt;BR /&gt;MRTG=/tmp/$SERVER.named.stats.mrtg&lt;BR /&gt;STATS=/etc/namedb/named.stats&lt;BR /&gt;#get success&lt;BR /&gt;tail -7 $STATS | head -1 |awk '{print $2}'&amp;gt;$MRTG&lt;BR /&gt;tail -2 $STATS | head -1 |awk '{print $2}'&amp;gt;&amp;gt;$MRTG&lt;BR /&gt;uptime | awk '{print $3,$4,$5}' |sed s/,//g &amp;gt;&amp;gt;$MRTG&lt;BR /&gt;echo $SERVER &amp;gt;&amp;gt;$MRTG&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 29 Sep 2004 10:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389236#M198906</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-29T10:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389237#M198907</link>
      <description>this is a test for Geoff</description>
      <pubDate>Thu, 30 Sep 2004 11:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389237#M198907</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-09-30T11:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389238#M198908</link>
      <description>Let us see if this works now...</description>
      <pubDate>Thu, 30 Sep 2004 11:32:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389238#M198908</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-30T11:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389239#M198909</link>
      <description>Hi Geoff,&lt;BR /&gt;&lt;BR /&gt;Thanks for the information. Unfortunately I tried copying your memory and cpu configs but it didn't worked out. I got an error&lt;BR /&gt;&lt;BR /&gt;====&lt;BR /&gt;C:\mrtg-2.10.15\bin&amp;gt;perl mrtg mrtg.cfg&lt;BR /&gt;Daemonizing MRTG ...&lt;BR /&gt;Do Not close this window. Or MRTG will die&lt;BR /&gt;SNMP Error:&lt;BR /&gt;Received SNMP response with error code&lt;BR /&gt;  error status: noSuchName&lt;BR /&gt;  index 1 (OID: 1.3.6.1.4.1.9.2.1.58.0)&lt;BR /&gt;SNMPv1_Session (remote host: "172.30.240.250"&lt;BR /&gt;====&lt;BR /&gt;&lt;BR /&gt;Is the SNMPOID standard for all servers? Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2004 00:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389239#M198909</guid>
      <dc:creator>gerjam</dc:creator>
      <dc:date>2004-10-01T00:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389240#M198910</link>
      <description>Nope - that's just for HP-UX.&lt;BR /&gt;&lt;BR /&gt;What system(s) are you monitoring?&lt;BR /&gt;&lt;BR /&gt;You can also do it without snmp - on remote server:&lt;BR /&gt;&lt;BR /&gt;# stats for mrtg&lt;BR /&gt;3,8,13,18,23,28,33,38,43,48,53,58 * * * * /usr/local/bin/mrtg-stats &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;$ cat /usr/local/bin/mrtg-stats&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# generate mrtg file for stats&lt;BR /&gt;/usr/local/sbin/rndc stats&lt;BR /&gt;SERVER=`uname -n`&lt;BR /&gt;MRTG=/tmp/$SERVER.named.stats.mrtg&lt;BR /&gt;STATS=/etc/namedb/named.stats&lt;BR /&gt;#get success&lt;BR /&gt;tail -7 $STATS | head -1 |awk '{print $2}'&amp;gt;$MRTG&lt;BR /&gt;tail -2 $STATS | head -1 |awk '{print $2}'&amp;gt;&amp;gt;$MRTG&lt;BR /&gt;uptime | awk '{print $3,$4,$5}' |sed s/,//g &amp;gt;&amp;gt;$MRTG&lt;BR /&gt;echo $SERVER &amp;gt;&amp;gt;$MRTG&lt;BR /&gt;#generate mrtg file for cpu&lt;BR /&gt;MRTGcpu=/tmp/$SERVER.cpu.stats.mrtg&lt;BR /&gt;idle="`/usr/bin/vmstat 1 2 | tail -1 | awk '{print $NF}'`"&lt;BR /&gt;usersys=`expr 100 - $idle`&lt;BR /&gt;&lt;BR /&gt;echo $idle &amp;gt;$MRTGcpu&lt;BR /&gt;echo $usersys &amp;gt;&amp;gt;$MRTGcpu&lt;BR /&gt;uptime | awk '{print $3,$4,$5}' |sed s/,//g &amp;gt;&amp;gt;$MRTGcpu&lt;BR /&gt;echo $SERVER &amp;gt;&amp;gt;$MRTGcpu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The first section does DNS - you won't need that - unless you are running a DNS server...&lt;BR /&gt;&lt;BR /&gt;The next 1 does cpu...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2004 07:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389240#M198910</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-10-01T07:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: MRTG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389241#M198911</link>
      <description>hi</description>
      <pubDate>Thu, 07 Oct 2004 11:05:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mrtg-configuration/m-p/3389241#M198911</guid>
      <dc:creator>Ganesh Babu</dc:creator>
      <dc:date>2004-10-07T11:05:50Z</dc:date>
    </item>
  </channel>
</rss>

