Ad Widget

Collapse

Monitor several AP through a controller

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shafina Loi
    Junior Member
    • Dec 2022
    • 11

    #1

    Monitor several AP through a controller

    I have several Aruba AP (Access Point), that are using DHCP and not a fixed IP, and it is controlled by a Controller.

    I would like to ask whether Zabbix is able to pull the AP data from a wireless Controller (that have AP data) through SNMP?

    Or we need to add in the APs individually in Zabbix (through SNMP)?

    Thank you.​
  • aratom
    Junior Member
    • Oct 2022
    • 6

    #2
    I created my own template with basically one discovery rule of type "SNMP agent"

    Code:
    discovery[{#ANTNAME},.1.3.6.1.4.1.14823.2.3.3.1.2.1.1.2, {#ANTIP},.1.3.6.1.4.1.14823.2.3.3.1.2.1.1.3]
    Then I created a host prototype with
    host name = {#ANTNAME}
    custom interface
    SNMP IP = {#ANTIP}

    The template is linked to a host with the virtual controller IP.

    I have this setup running on five different places some setups use static IPs some DHCP. All use the same Zabbix template, because once the IP is assigned it should not be changed by the DHCP if the devices are online all the time.

    If you want to modify the template to use DHCP change in the discovery rule the OID. That is something you find on the Aruba website in one of the their MIBs. I don't know which AP model you are using.

    Hope this helps

    Tom

    Comment

    • cjbruck
      Junior Member
      • Jun 2024
      • 11

      #3
      Originally posted by aratom
      I created my own template with basically one discovery rule of type "SNMP agent"

      Code:
      discovery[{#ANTNAME},.1.3.6.1.4.1.14823.2.3.3.1.2.1.1.2, {#ANTIP},.1.3.6.1.4.1.14823.2.3.3.1.2.1.1.3]
      Then I created a host prototype with
      host name = {#ANTNAME}
      custom interface
      SNMP IP = {#ANTIP}

      The template is linked to a host with the virtual controller IP.

      I have this setup running on five different places some setups use static IPs some DHCP. All use the same Zabbix template, because once the IP is assigned it should not be changed by the DHCP if the devices are online all the time.

      If you want to modify the template to use DHCP change in the discovery rule the OID. That is something you find on the Aruba website in one of the their MIBs. I don't know which AP model you are using.

      Hope this helps

      Tom
      What base template are you using to pull actual data from the APs? Would you mind sharing your custom template?

      Comment

      • cjbruck
        Junior Member
        • Jun 2024
        • 11

        #4
        Originally posted by aratom
        I created my own template with basically one discovery rule of type "SNMP agent"

        Code:
        discovery[{#ANTNAME},.1.3.6.1.4.1.14823.2.3.3.1.2.1.1.2, {#ANTIP},.1.3.6.1.4.1.14823.2.3.3.1.2.1.1.3]
        Then I created a host prototype with
        host name = {#ANTNAME}
        custom interface
        SNMP IP = {#ANTIP}

        The template is linked to a host with the virtual controller IP.

        I have this setup running on five different places some setups use static IPs some DHCP. All use the same Zabbix template, because once the IP is assigned it should not be changed by the DHCP if the devices are online all the time.

        If you want to modify the template to use DHCP change in the discovery rule the OID. That is something you find on the Aruba website in one of the their MIBs. I don't know which AP model you are using.

        Hope this helps

        Tom
        So, I finally figured out what you meant by this. I'm posting this in case anyone else is as new to Zabbix as I am and wants to replicate this (and also for future me who will probably forget, lol).

        You need to create your own template. This template will be used ONLY to discover all the APs. Give your template a name (in my case, I did Aruba [SITE]-VC). You will create a template for each site. Put it in the template group of your choice. Once your template is created, click "Discovery" and create a discovery rule (top right). Name your discovery rule and key the same as your virtual controller name. Make the type SNMP agent. Paste the above discovery rule that Tom made into the SNMP OID field. Set the update interval to 30s (just for quickly getting up and running. make sure to circle back and set this to an hour later). Now that you've got the discovery rule created, click "Host prototypes". Create a host prototype (top right). Name should be {#ANTNAME} and interfaces should be changed to Custom, then add SNMP as the type and put {#ANTIP} as the IP address. Before you save this prototype, add a template at the top for pulling actual data from the APs. I used the HP Enterprise Switch by SNMP template which works well with APs. That's all it takes! Now you'll see the APs from the virtual controller show up as hosts.

        Comment

        • koflert
          Junior Member
          • Aug 2024
          • 5

          #5
          Can confirm, the HP Enterprise Switch by SNMP template works really fine.

          Comment

          • polzabbix
            Junior Member
            • May 2025
            • 1

            #6
            Thanks everyone for the code and steps.

            I think I've done everything correctly, but it's not working with my controller. The confirmation is that snmpwalk can't find the OID.

            Click image for larger version

Name:	ap.png
Views:	8
Size:	7.6 KB
ID:	510313

            I have an Aruba 7010 with ArubaOS 8.10.0.15. Has anyone else with this configuration gotten it to work?

            Comment

            Working...