Re: Measuring RSSI

"McDonald, Dan" <[email protected]> Wed, 6 May 2015 17:34:44 +0000
Newsgroups gmane.network.mrtg.user
Message-ID <D16FB8F7.4A168%[email protected]>
From: Steve Shipway <[email protected]<mailto:[email protected]>>
Date: Tuesday, May 5, 2015 at 6:26 PM
To: Rick Silacci <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: Re: [mrtg] Measuring RSSI

You’re returning the SNMP OID rssi.0

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:))

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).

More than likely, the units are centiBels.  You can fix that for display using Factor[] 0.1




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.

Correct.  I have to tune my radio readings with:
for k in *signal.rrd ; do rrdtool tune $k –I ds0:-800 –I ds1:-800; done


Steve

Steve Shipway
[email protected]<mailto:[email protected]>
(GNU Terry Pratchett)

From: mrtg [mailto:[email protected]] On Behalf Of Rick Silacci
Sent: Wednesday, 6 May 2015 11:11 a.m.
To: [email protected]<mailto:[email protected]>
Subject: [mrtg] Measuring RSSI

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:


Variable Name: RSSI
Variable Description: Radio Signal Strength
IndexSNMP/MRTG Variable Name rssi.0
Example: Target[Var]:rssi.0&rssi.0:Canopy@MyDevice:::::2


[cid:[email protected]]


Rick Silacci
Velociter Wireless
1525 Second Street
Escalon, CA 95320
Office: 209.838.1221
Phone: 209.838.1800

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
image001.png (image/png, 1.8 KB) - not displayed