Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cisco Aironet RSSI Values
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
ibarrere



Joined: 19 Sep 2007
Posts: 7
Location: Seattle

PostPosted: Wed Sep 19, 2007 7:49 pm    Post subject: Reply with quote

Ok, I just edited the file... we'll see how it works. Thanks for the input, guys
Back to top
ibarrere



Joined: 19 Sep 2007
Posts: 7
Location: Seattle

PostPosted: Wed Sep 19, 2007 7:57 pm    Post subject: Reply with quote

That worked! Thanks a lot

I'll post a screenshot or two once it starts looking cool...
Back to top
Voiper99



Joined: 01 Mar 2007
Posts: 42
Location: Melbourne, Australia

PostPosted: Wed Sep 19, 2007 8:04 pm    Post subject: Reply with quote

awesome, thanks for the feedback I think you are the first person to test and use my script (as per my previous comments, I haven't even used it yet )
Back to top
ibarrere



Joined: 19 Sep 2007
Posts: 7
Location: Seattle

PostPosted: Wed Sep 19, 2007 9:12 pm    Post subject: Reply with quote

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:

Voiper99 wrote:
If this is correct just replace this line:
echo "Client $client: $c";

With this:
echo "Client $client:$c";


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.

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.
Back to top
ibarrere



Joined: 19 Sep 2007
Posts: 7
Location: Seattle

PostPosted: Wed Sep 19, 2007 9:17 pm    Post subject: Reply with quote

Here are my data and graph templates (with support for up to 5 clients (easily expandable)) in case anybody wants them:


aironetsignalgraph.xml
 Description:
Graph template

Download
 Filename:  aironetsignalgraph.xml
 Filesize:  10.83 KB
 Downloaded:  159 Time(s)


aironetsignaldata.xml
 Description:
Data template

Download
 Filename:  aironetsignaldata.xml
 Filesize:  7.74 KB
 Downloaded:  141 Time(s)

Back to top
Voiper99



Joined: 01 Mar 2007
Posts: 42
Location: Melbourne, Australia

PostPosted: Wed Sep 19, 2007 10:09 pm    Post subject: Reply with quote

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:

Voiper99 wrote:
If this is correct just replace this line:
echo "Client $client: $c";

With this:
echo "Client $client:$c";


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.

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.


lol doh! How embarrassing Glad I could help anyways and thanks for your honesty.
Back to top
jkukis



Joined: 24 Sep 2007
Posts: 25

PostPosted: Tue Oct 02, 2007 8:45 am    Post subject: Reply with quote

I tried importing the templates, when using graph debug mode I get this:

Code:

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


Any ideas?
Back to top
ibarrere



Joined: 19 Sep 2007
Posts: 7
Location: Seattle

PostPosted: Wed Nov 21, 2007 11:03 am    Post subject: Reply with quote

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
Back to top
Voiper99



Joined: 01 Mar 2007
Posts: 42
Location: Melbourne, Australia

PostPosted: Wed Nov 21, 2007 4:07 pm    Post subject: Reply with quote

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,
Back to top
ibarrere



Joined: 19 Sep 2007
Posts: 7
Location: Seattle

PostPosted: Wed Nov 21, 2007 10:21 pm    Post subject: Reply with quote

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:

Code:
client_0:54
client_1:71
client_2:0
client_3:0
client_4:0
client_5:0


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.
Back to top
Voiper99



Joined: 01 Mar 2007
Posts: 42
Location: Melbourne, Australia

PostPosted: Wed Nov 21, 2007 10:33 pm    Post subject: Reply with quote

I see. Sorry my post didn't assist. I too am not too strong when it comes to the finer details of Cacti.
Back to top
skinty



Joined: 12 Aug 2006
Posts: 23

PostPosted: Mon Dec 31, 2007 11:19 am    Post subject: Reply with quote

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.



rssi.pl
 Description:
updated to account for APs with no associations. This will remove NaN's and populate with zero's until the AP is used.

Download
 Filename:  rssi.pl
 Filesize:  535 Bytes
 Downloaded:  106 Time(s)


cacti_graph_template_cisco_-_aironet_signal_strength.xml
 Description:

Download
 Filename:  cacti_graph_template_cisco_-_aironet_signal_strength.xml
 Filesize:  22.22 KB
 Downloaded:  134 Time(s)

Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Thu Jul 24, 2008 6:59 pm    Post subject: Average Client RSSI graph template and script Reply with quote

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.



avgrssi.png
 Description:
Average Client RSSI
 Filesize:  26.29 KB
 Viewed:  767 Time(s)

avgrssi.png



clients.png
 Description:
Number of Associated Clients
 Filesize:  30.27 KB
 Viewed:  767 Time(s)

clients.png



cacti_graph_template_cisco_aironet_-_average_client_rssi.xml
 Description:
Avg RSSI graph template

Download
 Filename:  cacti_graph_template_cisco_aironet_-_average_client_rssi.xml
 Filesize:  9.59 KB
 Downloaded:  57 Time(s)


cacti_graph_template_cisco_aironet_-_associated_clients.xml
 Description:
Clients graph template

Download
 Filename:  cacti_graph_template_cisco_aironet_-_associated_clients.xml
 Filesize:  13.36 KB
 Downloaded:  49 Time(s)


avg_dot11_client_rssi.zip
 Description:
Script (unzip it)

Download
 Filename:  avg_dot11_client_rssi.zip
 Filesize:  1.13 KB
 Downloaded:  57 Time(s)

Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 125
Location: Australia

PostPosted: Fri Oct 03, 2008 8:23 pm    Post subject: Reply with quote

Please see some new Cisco wireless templates on this post:
http://forums.cacti.net/viewtopic.php?p=145695
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group