Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-50

Add support for aruba controllers and access points

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • None
    • Poller
    • any

    Description

      I have added support for aruba networks controllers and access points.

      I will attach my patch.

      One thing which is a bit unusual is that the aruba access points don't have an SNMP agent themselves. Instead you can get information about each access point from the controller it is connected to. I added support for the access points in a similar manner to getting information about ports of a switch.

      Attachments

        1. accesspoint.sql
          54 kB
        2. accesspoints.tgz
          5 kB
        3. arubapatchv1.patch
          65 kB
        4. arubapatchv2.patch
          32 kB
        5. arubapatchv3.patch
          32 kB
        6. arubapatchv4.patch
          27 kB
        7. arubapatchv5.patch
          25 kB
        8. arubapatchv6.diff
          9 kB
        9. arubapatchv7.patch
          21 kB
        10. newfiles.patch
          13 kB

        Activity

          [OBS-50] Add support for aruba controllers and access points

          Yeah, this is one of the reasons we recommend people making changes are in #observium on freenode

          adama Adam Armstrong added a comment - Yeah, this is one of the reasons we recommend people making changes are in #observium on freenode

          that was only added 26 days ago.

          sommere Ethan Sommer added a comment - that was only added 26 days ago.

          changed to use rrd_rra
          (which wasn't even there in the svn version I started with a month or so ago. I was basing my code on the previous code, as was suggested on twitter...)

          sommere Ethan Sommer added a comment - changed to use rrd_rra (which wasn't even there in the svn version I started with a month or so ago. I was basing my code on the previous code, as was suggested on twitter...)

          Look at how we now build RRDs. You need to use the config option that we use in all other rrdtool_create calls.

          Like :

          rrdtool_create($mempool_rrd, "--step 300 DS:used:GAUGE:600:0:U DS:free:GAUGE:600:0:U ".$config['rrd_rra']);

          At some point we intend to have per-module rra configurations, but not yet so the above is ok.

          adama Adam Armstrong added a comment - Look at how we now build RRDs. You need to use the config option that we use in all other rrdtool_create calls. Like : rrdtool_create($mempool_rrd, "--step 300 DS:used:GAUGE:600:0:U DS:free:GAUGE:600:0:U ".$config ['rrd_rra'] ); At some point we intend to have per-module rra configurations, but not yet so the above is ok.

          I changed the graphs.

          In order to do that I had to change the RRD files to have LAST and MIN (in addition to AVG and MAX they had before) so you need to wipe out the rrd files and have them be recreated.

          sommere Ethan Sommer added a comment - I changed the graphs. In order to do that I had to change the RRD files to have LAST and MIN (in addition to AVG and MAX they had before) so you need to wipe out the rrd files and have them be recreated.

          Ok, could you please also redo the graphs?

          We have abstractions for drawing simple graphs.

          try doing "grep generic /.inc.php" in html/includes/graphs, there are lots of examples.

          It'll make sure the graphs follow the observium format and improve as we improve the abstracted graph types (i.e. expanding legends and other features)

          adama Adam Armstrong added a comment - Ok, could you please also redo the graphs? We have abstractions for drawing simple graphs. try doing "grep generic / .inc.php" in html/includes/graphs, there are lots of examples. It'll make sure the graphs follow the observium format and improve as we improve the abstracted graph types (i.e. expanding legends and other features)

          updated patch with SQL cleaned up

          sommere Ethan Sommer added a comment - updated patch with SQL cleaned up

          For the db update stuff, you create a new file with each command on a single line (look at the existing files). you can provide that file outside of the patch

          adama Adam Armstrong added a comment - For the db update stuff, you create a new file with each command on a single line (look at the existing files). you can provide that file outside of the patch

          1. Because I don't understand how the DB update stuff works. The only change to the database is the create of the access_points table.

          2. I tried to make it not aruba-specific. But I suppose it is very controller->ap specific and I don't know whether other controller based systems (eg meru, cisco) also structure their snmp mib that way. I'd be happy to change the names to be more aruba specific. Or, I'd be open to suggestions of how to make it less aruba specific.

          sommere Ethan Sommer added a comment - 1. Because I don't understand how the DB update stuff works. The only change to the database is the create of the access_points table. 2. I tried to make it not aruba-specific. But I suppose it is very controller->ap specific and I don't know whether other controller based systems (eg meru, cisco) also structure their snmp mib that way. I'd be happy to change the names to be more aruba specific. Or, I'd be open to suggestions of how to make it less aruba specific.

          Why does the patch include the entire initial DB schema, and modify an /old/ schema update file?

          Also, i'm not sure about those function and table names. How Aruba-specific is this code?

          adama Adam Armstrong added a comment - Why does the patch include the entire initial DB schema, and modify an /old/ schema update file? Also, i'm not sure about those function and table names. How Aruba-specific is this code?

          People

            adama Adam Armstrong
            sommere Ethan Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: