My MRTG contribution for forum community

These are my MRTG scripts and configs (template) for MRTG.
This is version 1.0 and there may be some improvements in the near future, since 6.1 firmware is now out.

These graphs record radio and ethernet analysis as well as rssi, temp, and other values. Very usefull for a network administrator (very handy for me).

Currently only supports BH10 or BH20 units.

ENJOY

Download here:
http://support.illicom.net/mrtg/canopy/canopy_mrtg-1.0.tar.gz

duanecox wrote:
These are my MRTG scripts and configs (template) for MRTG.


duanecox thanx for your posting, it was really usefull to me. Anyway I have a problem with the rssi and jitter values, those present on the charts I made does not match the values shown on the web inteface of the BH10 unit Im using to develope (Im using RRDCGI to draw the charts). Do you have any hints on this? Could you post a sample of the chart parameters?

Thanx!

we are using mrtg on part of our network and it is working fine. We have one 900 sm, however which is showing jitters of 15-16 and is working fine. The average jitter when logged in to the unit is around 3. Why is the mrtg scale off so far? anybody

mangazo: I double checked my MRTG graphs, and they are reporting correctly for me on my BH10 and BH20, using 6.1/3.0 I’m not sure, maybe your problem is related to RRDCGI?

snmpget the OID directly and make sure that matches what is displayed on the web and what is graphed.

md: i don’t understand your question. is mrtg showing jitter at 15-16 and the web interface shows 3? are you using my template or is this a question in general?

I need help.
I have the following problem when I want to lower the graphs of temperature…

Target[200.80.241.66_temp]: 1.3.6.1.4.1.161.19.3.3.1.5.0&1.3.6.1.4.1.161.19.3.3.1.5.0:Canopy@200.80.241.66:::::2
MaxBytes[200.80.241.66_temp]: 255
Options[200.80.241.66_temp]: integer, unknaszero, gauge, nopercent
Title[200.80.241.66_temp]: Temperature
PAGETOP[200.80.241.66_TEMP]: <H1>TEMPEARTURA </H1>

ERROR

C:'MRTG’bin>perl mrtg canopybis.cfg
DAEMONIZING MRTG…
Do Not close this window. OR MRTG WILL DIE
WARNING: Expected to number but got ’ 48&deg;C/119&deg;F ’
WARNING: Expected to number but got ’ 48&deg;C/119&deg;F ’
ERROR: Target[200.80.241.66_temp][IN] ’ $target->[0]{$mode} ’ did not eval into defined dates
ERROR: Target[200.80.241.66_temp][OUT] ’ $target->[0]{$mode} ’ did not eval into defined dates
WARNING: Expected to number but got ’ 50&deg;C/121&deg;F ’
WARNING: Expected to number but got ’ 50&deg;C/121&deg;F ’

The probem is right in the output. MRTG expects to graph an integer. It does not know how to graph "24&deg;C/76&deg;F"

SNMPv2-SMI::enterprises.161.19.3.3.1.5.0 = STRING: "24&deg;C/76&deg;F"

You will have to parse the result down to an integer, ie. “76” and graph that.

thank you.
I prove and comment you

Ok I’m having problems in trying to get this template to work, i know its something silly on my side

./cfgmaker --global ‘WorkDir: /var/www/html/mrtg’ ’
--global ‘Options[_]: bits,growright’ ’
--global ‘RunAsDaemon: Yes’ ’
--global ‘Interval: 5’ ’
--output /home/mrtg/cfg/mrtg.cfg ’
--nointerfaces ’
--host-template=…/templates/canopy/canopy-bh-slave.template ’
public@169.254.100.101:::::2

result===>

–base: Get Device Info on public@169.254.100.101:::::2
SNMP Error:
no response received
SNMPv2c_Session (remote host: “169.254.100.101” [169.254.100.101].161)
community: “public”
request ID: -1345417126
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin//…/lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@169.254.100.101:::::2:v4only
at ./cfgmaker line 796
WARNING: Skipping public@169.254.100.101:::::2 as no info could be retrieved


I’ve gont to the BH and set the SNMPsubnet to 169.254.0.0/24
community string public
trap address 169.254.100.125

and I am running the scripts from 169.254.100.125

please any pointers anyone… my brain is fried

Tx

ok ok…


I was having a moment of stupidity… .we’ve all been there… hope my boss doesn’t read the post…

after the previous mail… .I had a moment of inspiration and realised that
169.254.0.0 is a /16 and not a /24…

just thought i’d quickly update the post before allyou willing to help hard working busy people decided to take time out to investigate my highlly complex problem…

thanks in to all…

watch this space… i’ll be back… canopy will make sure of that…

rgds

anyone knows which’s the OID from AP sessions?

thanx

Cant get cfgmaker to work with
getting these errors
Unknown option: nointerfaces
Unknown option: host-templates