Saturday 10 May 2014

Ubiquiti Airos 5.6 CPE on Cacti

20:31 Posted by Jurgens Krause , , , , 26 comments
PLEASE NOTE THAT THERE IS A NEW VERSION AT:
http://www.binaryheartbeat.net/2015/08/ubiquiti-airos-56-cacti-templates.html

Ubiquiti has created a new MIB definition to go with the new version of AirOS.  I made myself some new templates to monitor 5.6 version AirOS devices, I will try to update the templates when the 5.6 goes final.

I am working with Cacti version 0.8.7i since that is the current version available to apt-get install on Ubuntu 12.04.

Client Signal - Polled From AP

AP CPU Uage

AP Station Count

AP Uptime

Client Connection Details - Polled from AP

Client Connection Details - Polled from Client





The new AirOs version allows you to graph the stats of clients connected to an AirOS AP by polling the AP itself. If you need any additional data on the graphs, or have any suggestions on how I can improve the graphs, let me know so that I can update them.

Remember to put AirOS5_6.xml and AirOS5_6_AP.xml in your /cacti/resource/snmp_queries/ directory.
You can import the host templates through the Cacti web interface.

The AirOS5_6_AP.xml specifically allows you to graph details from AP connected clients by polling the AP. Please note that currently there is still one problem, the station list returns the station names in HEX. I still have to figure out how to change that.

A note on client traffic:
At this point in time version 5.6-beta3.21929 does not seem to actually post the traffic to the snmp agent.
Client traffic, whether polled from the client itself, or the AP, will be graphed from the perspective of the client once Ubiquiti fixes the bug.




26 comments:

  1. Thanks for these. They're a great start at making ubnt's SNMP promises come true for Cacti users. To address the question in your cacti.net post, the title I saw on my first graphs are the first five of the six MAC address segments. On the graph template title I changed query_StaMac to query_StaName and got a similar presentation with 5/6 of a MAC address, this one not one of ubnt's. I ran snmpwalk with the OID you list for StaName and got a string of negative integers. I wonder if the MIB is bad. For my own purposes substituting query_LastIp works.

    Again, thanks for the research and the templates!

    David

    ReplyDelete
  2. Could you please make the file available again :)

    It appears the dropbox link is not working any more..

    ReplyDelete
  3. Hi Shaw,
    Sorry for the delay, the link has been updated

    ReplyDelete
  4. Replies
    1. New version has been posted, check the top of this page for links. Thanks for your input.

      Delete
  5. Hi is it possible to get the total traffic for the AP graphing ? I have all the stations graphing now would like to graph total traffic on the AP.

    on side note starting in 5.6 beta 9 to get the tx/rx rates graphing correctly had to switch divide by 1000 to divide by 1,000,000

    Thanks again for the templates.

    ReplyDelete
    Replies
    1. You can graph the wireless interface using the normal graph templates. I will work it into the new version

      Delete
  6. there is a possibility that you update to the official version of which was published yesterday the script ?
    it will work a few things currently not !

    I thank you very much

    ReplyDelete
  7. Thank you do for her !
    I 'll be waiting for your work

    ReplyDelete
  8. Hello Master!
    I wanted to ask how it looks now of you have already a version for testing !

    Thank You Very Much

    ReplyDelete
    Replies
    1. Hi Georg,

      I am so sorry, I have been so busy lately that I have not had time. It is still on my todo list though.

      J

      Delete
  9. Hi, I have cacti Version 0.8.8c and AIROS Version: v5.6.2
    On client conections details graph I get RX and TX modulation rate value "nan"
    If I do snmpwalk -v1 -c public 10.20.30.133 .1.3.6.1.4.1.41112.1.4.5.1.9
    I get --> iso.3.6.1.4.1.41112.1.4.5.1.9.1 = INTEGER: 300000000

    Is there any diference betwen AIROS 5.6 vesion?

    Can you make seperate graph for TX and RX rate?

    ReplyDelete
    Replies
    1. Hi David,

      The difference in the latest version is the divisor value. I am updating it in the new version of the template.

      Do you want TX Rate and RX Rate each on a seperate graph, or the two together on a seperate graph.

      J

      Delete
  10. My version is 0.8.8a cacti for Debian AirOS v5.6.2 ,
    With me is at RX and TX -nan rate rate .
    My Ubiquity now have all the version v5.6.2 on it and all the missing values ​​RX and TX rate rate -nan in cacti . In AirOS I see all values ​​.

    ReplyDelete
    Replies
    1. Please find attached the screen shots
      Link Pics:
      http://prntscr.com/7z3t7q
      http://prntscr.com/7z3tmr

      Delete
    2. command output:
      http://pastebin.com/3etpbrUD

      Delete
    3. Only no stress it works so far very good! So only keinne stress because of me !
      Thank you for your support!

      1000 thanks

      Delete
    4. Hi Georg,

      I am currently updating everything. So if you have any specific requests let me know and I will try to work them in

      Delete
  11. If you update you will see that it does not work !
    I also have my cacty system remade denoch the same error .
    RX and TX come therefore no information

    ReplyDelete
    Replies
    1. I found the problem, and I am correcting it for the new version. I want to finish it this week, so just a little patience and all should be well. Let me know if you have any ideas/suggestions on improving the graphs.

      Delete
  12. Hello thank you for the information !
    I am glad that they also have the error . I already believed I where a mistake had . no prob end of the week !

    I have a suggestion .
    when the RX and TX " http://prntscr.com/7z3t7q " issue its own graph template can bake . because it is a bit confusing . otherwise everything fits perfectly !

    Thank you very much

    ReplyDelete
    Replies
    1. Hi Georg,

      take a look at http://www.binaryheartbeat.net/2015/08/ubiquiti-airos-56-cacti-templates.html and let me know if you find any problems with the new templates.

      thanks for the suggestion I worked it into the new template.

      Delete
  13. https://uploaddeimagens.com.br/imagens/2015-09-29_14-27-28-png - I need work this template on cacti 0-.8.8a but Data rate values do not work. Help me please. Thanks for all.

    ReplyDelete
  14. Hi everybody:

    I test cacti template Ubiquiti 5.6 firmware, but my unit is an AC. Some graphics are running fine but not at all.
    AirOS 7.x use another OID? Has anybody a AirOS 7.X MIB's?.

    ReplyDelete