Cisco Aironet RSSI Values
Moderators: Developers, Moderators
Ahhh... I'm actually just using the perl one...
I forgot you had posted that php one, so I was a bit confused when you said:
So in conclusion, I'm not sure if your php script works, but your (and shull's) suggestion to remove the space did in fact work. Thanks anyway, sorry I couldn't back up your script.
I forgot you had posted that php one, so I was a bit confused when you said:
since it didn't apply to the perl one, but I went ahead and made the editions that you suggested (just in a different format) to the perl one.Voiper99 wrote:If this is correct just replace this line:
echo "Client $client: $c";
With this:
echo "Client $client:$c";
So in conclusion, I'm not sure if your php script works, but your (and shull's) suggestion to remove the space did in fact work. Thanks anyway, sorry I couldn't back up your script.
Here are my data and graph templates (with support for up to 5 clients (easily expandable)) in case anybody wants them:
- Attachments
-
- aironetsignaldata.xml
- Data template
- (7.74 KiB) Downloaded 370 times
-
- aironetsignalgraph.xml
- Graph template
- (10.83 KiB) Downloaded 390 times
lol doh! How embarrassing Glad I could help anyways and thanks for your honesty.ibarrere wrote:Ahhh... I'm actually just using the perl one...
I forgot you had posted that php one, so I was a bit confused when you said:
since it didn't apply to the perl one, but I went ahead and made the editions that you suggested (just in a different format) to the perl one.Voiper99 wrote:If this is correct just replace this line:
echo "Client $client: $c";
With this:
echo "Client $client:$c";
So in conclusion, I'm not sure if your php script works, but your (and shull's) suggestion to remove the space did in fact work. Thanks anyway, sorry I couldn't back up your script.
I tried importing the templates, when using graph debug mode I get this:
Any ideas?
Code: Select all
RRDTool Command:
/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco - Signal Strength" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
LINE1:#FF0000:"client_0" \
GPRINT::LAST:"current\:%8.2lf %s" \
GPRINT::MAX:"maximum\:%8.2lf %s\n" \
LINE1:#00FF00:"client_1" \
GPRINT::LAST:"current\:%8.2lf %s" \
GPRINT::MAX:"maximum\:%8.2lf %s\n" \
LINE1:#FF00FF:"client_2" \
GPRINT::LAST:"current\:%8.2lf %s" \
GPRINT::MAX:"maximum\:%8.2lf %s\n" \
LINE1:#CAF100:"client_3" \
GPRINT::LAST:"current\:%8.2lf %s" \
GPRINT::MAX:"maximum\:%8.2lf %s\n" \
LINE1:#0000FF:"client_4" \
GPRINT::LAST:"current\:%8.2lf %s" \
GPRINT::MAX:"maximum\:%8.2lf %s"
RRDTool Says:
ERROR: Not a valid vname: #FF0000 in line LINE1:#FF0000:client_0
Totally bumping this...
I finally got a second wireless client on my network here when my room mate got an iphone, so I was totally excited to get more than one lonely line being graphed. Unfortunately, it doesn't seem to work with more than one client!
I know it's kind of vague, but has anybody run into this issue before? Only seeing one line per graph? Some trick I'm missing?
Thanks
I finally got a second wireless client on my network here when my room mate got an iphone, so I was totally excited to get more than one lonely line being graphed. Unfortunately, it doesn't seem to work with more than one client!
I know it's kind of vague, but has anybody run into this issue before? Only seeing one line per graph? Some trick I'm missing?
Thanks
Perhaps this will resolve your issue:
http://forums.cacti.net/post-111406.html#111406
Try removing the space and it should work. Let us know how you go.
Cheers,
http://forums.cacti.net/post-111406.html#111406
Try removing the space and it should work. Let us know how you go.
Cheers,
Yeah, I did that awhile ago.
The strange this is I'm getting the output in the exact same format for the two clients when I run the script manually:
I think this is a fairly high-level problem with the graph template or something, not too strong when it comes to that. I'll keep looking around and reply if I manage to fix the problem.
The strange this is I'm getting the output in the exact same format for the two clients when I run the script manually:
Code: Select all
client_0:54
client_1:71
client_2:0
client_3:0
client_4:0
client_5:0
Took me a little while to figure out, but things seem to be working correctly now.
I made adjustments to just about everything as I couldn't figure out where the issue was. The problem basically boiled down to missing chomp statement in the perl script, it seems there was some trailing spaces.
Also, I highly recommend checking out the CPU/Mem scripts posted here for something that is actually useful on a Aironet. http://forums.cacti.net/about11341.html
Update perl script goes in <cacti_dir>/scripts.
I made adjustments to just about everything as I couldn't figure out where the issue was. The problem basically boiled down to missing chomp statement in the perl script, it seems there was some trailing spaces.
Also, I highly recommend checking out the CPU/Mem scripts posted here for something that is actually useful on a Aironet. http://forums.cacti.net/about11341.html
Update perl script goes in <cacti_dir>/scripts.
- Attachments
-
- rssi.pl
- updated to account for APs with no associations. This will remove NaN's and populate with zero's until the AP is used.
- (535 Bytes) Downloaded 331 times
-
- cacti_graph_template_cisco_-_aironet_signal_strength.xml
- (22.22 KiB) Downloaded 355 times
Average Client RSSI graph template and script
I have written a variation on this idea to take the AVERGAGE client RSSI and graph it. Graphing per MAC is no good for large deployments, so the aim here is to give you some indication about the placement and general service level on an AP.
Attached should be the script as well as two graph templates. One for average client RSSI and one for associated clients. There are adjustable HRULES for both graphs, currently set for a Cisco 1210. The HRULES indicate at what point service becomes degraded, below -72dBm and above 20 clients in this case.
The fixed scale of the graph allows you to scan hundreds of APs quickly for 'anything above the line'.
One final thing: the script requires TCL and Expect to be installed to work. Someone can write a Perl version if they feel it's necessary, but should be no problem for most people to install the required packages on your system.
Attached should be the script as well as two graph templates. One for average client RSSI and one for associated clients. There are adjustable HRULES for both graphs, currently set for a Cisco 1210. The HRULES indicate at what point service becomes degraded, below -72dBm and above 20 clients in this case.
The fixed scale of the graph allows you to scan hundreds of APs quickly for 'anything above the line'.
One final thing: the script requires TCL and Expect to be installed to work. Someone can write a Perl version if they feel it's necessary, but should be no problem for most people to install the required packages on your system.
- Attachments
-
- Number of Associated Clients
- clients.png (30.27 KiB) Viewed 5161 times
-
- Average Client RSSI
- avgrssi.png (26.29 KiB) Viewed 5161 times
-
- avg_dot11_client_rssi.zip
- Script (unzip it)
- (1.13 KiB) Downloaded 240 times
-
- cacti_graph_template_cisco_aironet_-_associated_clients.xml
- Clients graph template
- (13.36 KiB) Downloaded 338 times
-
- cacti_graph_template_cisco_aironet_-_average_client_rssi.xml
- Avg RSSI graph template
- (9.59 KiB) Downloaded 291 times
Please see some new Cisco wireless templates on this post:
http://forums.cacti.net/viewtopic.php?p=145695
http://forums.cacti.net/viewtopic.php?p=145695
Who is online
Users browsing this forum: No registered users and 0 guests