<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Andrea Ruggeri <<a href="mailto:a.ruggeri@hotmail.it">a.ruggeri@hotmail.it</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, May 7, 2015 at 12:32 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>" <<a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>><br>
<span style="font-weight:bold">Subject: </span>[mrtg] Monitoring Ram remote host<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.StileMessaggioDiPostaElettronica17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1941986864;
mso-list-type:hybrid;
mso-list-template-ids:-1515977968 1516814524 68157443 68157445 68157441 68157443 68157445 68157441 68157443 68157445;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="IT" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the following problem when I go to do the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="mso-list:Ignore">-<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">
</span></span><!--[endif]--><b>I create the file ram.cfg:<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt<o:p></o:p></p>
<p class="MsoNormal">Target [ram_nagios61]: .1.3.6.1.4.1.2021.4.6.0 & .1.3.6.1.4.1.2021.4.6.0: public @ nagios61<o:p></o:p></p>
<p class="MsoNormal">PAGETOP [ram_nagios61]: <H1> Free Memory </ H1><o:p></o:p></p>
<p class="MsoNormal">WorkDir: / var / www / mrtg / test<o:p></o:p></p>
<p class="MsoNormal">Options [ram_nagios61]: nopercent, growright, gauge, noinfo<o:p></o:p></p>
<p class="MsoNormal">Title [ram_nagios61]: Free Memory<o:p></o:p></p>
<p class="MsoNormal">MaxBytes [ram_nagios61]: 1000000<o:p></o:p></p>
<p class="MsoNormal">KMG [ram_nagios61]: k, M, G, T, P, X<o:p></o:p></p>
<p class="MsoNormal">YLegend [ram_nagios61]: bytes<o:p></o:p></p>
<p class="MsoNormal">ShortLegend [ram_nagios61]: bytes<o:p></o:p></p>
<p class="MsoNormal">Legendi [ram_nagios61]: Free Memory:<o:p></o:p></p>
<p class="MsoNormal">Legendo [ram_nagios61]:<o:p></o:p></p>
<p class="MsoNormal">Legend1 [ram_nagios61]: Free memory, not including swap, in bytes<o:p></o:p></p>
<p class="MsoNormal"><br>
</p>
</div>
</div>
</div>
</blockquote>
</span>
<div>That’s not your entire config file – you reference an interface later on. That throws many of your errors.</div>
<div><br>
</div>
<div>Also, why do you have spaces between public\ @\ nagios61. shouldn’t that all be written with no spaces?</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<div lang="IT" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><br>
</p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="mso-list:Ignore">-<span style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-family: 'Times New Roman';">
</span></span><!--[endif]--><b>And the system gives me the following error:<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root @ nagios51: /etc/mrtg.d# LANG = C; mrtg /etc/mrtg.cfg<o:p></o:p></p>
<p class="MsoNormal">SNMP Error:<o:p></o:p></p>
<p class="MsoNormal">no response received<o:p></o:p></p>
<p class="MsoNormal">SNMPv1_Session (remote host: "sens01" [10.101.4.1] .161)<o:p></o:p></p>
<p class="MsoNormal"> community: "public"<o:p></o:p></p>
<p class="MsoNormal"> request ID: 1902900760<o:p></o:p></p>
<p class="MsoNormal"> PDU bufsize: 8000 bytes<o:p></o:p></p>
<p class="MsoNormal"> timeout: 2s<o:p></o:p></p>
<p class="MsoNormal"> retries: 5<o:p></o:p></p>
<p class="MsoNormal"> backoff: 1)<o:p></o:p></p>
<p class="MsoNormal"> /usr/share/perl5/SNMP_util.pm at line 492.<o:p></o:p></p>
<p class="MsoNormal">Snmpget Problem for ifInOctets.1 ifOutOctets.1 SysUpTime sysName on public @ sens01 :::::: v4only<o:p></o:p></p>
<p class="MsoNormal"> at / usr / bin / mrtg line 2339.<o:p></o:p></p>
<p class="MsoNormal">07/05/2015 19:25:58: WARNING: skipping Because at least the query for ifInOctets.1 on sens01 did not succeed<o:p></o:p></p>
<p class="MsoNormal"><br>
</p>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>