Im trying to monitor some wireless links and collect data from them (signal, and noise). I can't seem to get Cacti to work for some reason, its not even pulling any data. I have double checked my OID and SNMP string and even verified it works with another application but its still not pulling any data. The values im getting are just 0 (not NAN) Here is my source:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start="-86400" \
--title="Wireless - Station3" \
--base=1000 \
--height=150 \
--width=500 \
--alt-autoscale-max \
--vertical-label="Wireless Data" \
DEF:a="/var/www/html/cacti/rra/wireless_-_signal.rrd":wireless_-_signal:AVERAGE \
DEF:b="/var/www/html/cacti/rra/wireless_-_noise.rrd":wireless_-_noise:AVERAGE \
CDEF:cdefa=a,300,* \
CDEF:cdefe=b,300,* \
AREA:cdefa#4668E4:"Signal" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
LINE2:cdefe#FF0000:"Noise\:" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
Wireless Data
Moderators: Developers, Moderators
Re: Wireless Data
I'm afraid I don't have the solution to your problem, but out of curiousity, what OID are you using to get this information?
Can you post the output of snmpet on these OIDs? I know with my wireless product, the signal and noise values are returned as strings, which cacti didn't really appreciate, so I had to write a script to regex out the values.
I use Solectek Skyway wireless router, so its no doubt different, but its a thought.
I use Solectek Skyway wireless router, so its no doubt different, but its a thought.
Who is online
Users browsing this forum: No registered users and 2 guests