<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;">
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<span style="font-family: Calibri; font-size: 11pt; font-weight: bold;">From: </span>
<span style="font-family: Calibri; font-size: 11pt;">Steve Shipway <</span><a href="mailto:s.shipway@auckland.ac.nz" style="font-family: Calibri; font-size: 11pt;">s.shipway@auckland.ac.nz</a><span style="font-family: Calibri; font-size: 11pt;">></span></div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<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">Date: </span>Tuesday, May 5, 2015 at 6:26 PM<br>
<span style="font-weight:bold">To: </span>Rick Silacci <<a href="mailto:rick@velociter.net">rick@velociter.net</a>>, "<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>Re: [mrtg] Measuring RSSI<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 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Arial Black";
        panose-1:2 11 10 4 2 1 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:bold;}
span.a
        {mso-style-name:a;}
span.l
        {mso-style-name:l;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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="EN-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">You’re returning the SNMP OID rssi.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Can you do an SNMPwalk from the command line, and retrieve this – it may be that the OID returns the value as a positive integer, or in a different form to how you expect?  You may need to modify your Target
 line to do some sort of post-processing (for example, some devices return temperature as an integer in centidegrees Celsius, and so need to be divided by 10 (or even converted to Farenheit in certain unenlightened countries:))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">You do not give the entire MRTG configuration stanza here for comparison, but I’ve seen it in a separate communication, so I can verify that you do not have the ‘bits’ option enabled (which would multiply by
 8).<o:p></o:p></span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
More than likely, the units are centiBels.  You can fix that for display using Factor[] 0.1</div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<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="EN-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Also, by default, MRTG assumes positive values.  If using RRDTool as the backend, you need to manually tune the .rrd file to allow negative values; I think they might be rejected by native mode MRTG.<o:p></o:p></span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
Correct.  I have to tune my radio readings with:</div>
<div><font face="Calibri,sans-serif">for k in *signal.rrd ; do rrdtool tune $k –I ds0:-800 –I ds1:-800; done</font></div>
<div><font face="Calibri,sans-serif"><br>
</font></div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<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="EN-NZ" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="color:#1F497D">Steve Shipway<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"><a href="mailto:s.shipway@auckland.ac.nz"><span style="color:blue">s.shipway@auckland.ac.nz</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:1.0pt;color:#1F497D">(GNU Terry Pratchett)<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;"> mrtg [<a href="mailto:mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch">mailto:mrtg-bounces+s.shipway=auckland.ac.nz@lists.oetiker.ch</a>]
<b>On Behalf Of </b>Rick Silacci<br>
<b>Sent:</b> Wednesday, 6 May 2015 11:11 a.m.<br>
<b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> [mrtg] Measuring RSSI<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US">I’m using the parameters below to measure rssi.  I’m supposed to be getting a negative number expressed in decibels, but this is what I’m getting:<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US">Variable </span></span><span class="l"><span lang="EN-US">Name: RSSI</span><o:p></o:p></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US">Variable </span></span><span class="l"><span lang="EN-US">Description: Radio Signal Strength<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="l"><span lang="EN-US">Index</span></span><span class="a"><span lang="EN-US" style="letter-spacing:-.75pt">SNMP/MRTG Variable
</span></span><span class="a"><span lang="EN-US">Name rssi.0</span><o:p></o:p></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US">Example: Target[Var]:rssi.0&rssi.0:Canopy@MyDevice:::::2</span></span><b><span style="font-size: 10pt; font-family: Arial, sans-serif;"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span class="a"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><img border="0" width="500" height="135" id="Picture_x0020_1" src="cid:image001.png@01D087EF.84044430"><span class="a"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="a"><span lang="EN-US"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: 'Arial Black', sans-serif;">Rick Silacci</span><span style="font-size: 9pt; font-family: 'Arial Black', sans-serif;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: 'Arial Black', sans-serif;">Velociter Wireless<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: 'Arial Black', sans-serif;">1525 Second Street<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: 'Arial Black', sans-serif;">Escalon, CA 95320<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: 'Arial Black', sans-serif;">Office: 209.838.1221<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size: 9pt; font-family: 'Arial Black', sans-serif;">Phone: 209.838.1800<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</blockquote>
</span>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<br>
</div>
</body>
</html>