Developer

last person joined: 17 hours ago 

Expand all | Collapse all

Need REST API to fetch end point's hostname and os

This thread has been viewed 22 times
  • 1.  Need REST API to fetch end point's hostname and os

    Posted Jan 29, 2021 05:07 AM
    Hi,
     We need help to fetch hostname and OS for an endpoint using REST API. 
    I tried the APIs /api/insight/endpoint/mac/{mac} and /api/insight/endpoint/time-range/{from}/{to}. Both return lots of useful information but not hostname and OS. Can you please help me on this.

    Thanks a lot in advance.


    ------------------------------
    Abhishek
    ------------------------------


  • 2.  RE: Need REST API to fetch end point's hostname and os

    Posted Feb 01, 2021 03:57 PM
    hi, do you have look to use endpoint API ? (not Endpoint Insight)

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 3.  RE: Need REST API to fetch end point's hostname and os

    Posted Feb 02, 2021 12:15 AM
    Thanks a lot. So I did look at these Endpoint APIs also but they too seem not to have this info:
    /api/endpoint and /api/endpoint/mac-address/{mac}



    ------------------------------
    Abhishek
    ------------------------------



  • 4.  RE: Need REST API to fetch end point's hostname and os

    Posted Feb 04, 2021 03:55 AM
    Sorry, no idea, you need to ask to TAC may be or SE

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------



  • 5.  RE: Need REST API to fetch end point's hostname and os

    Posted Feb 23, 2021 03:26 AM
    Do you have look devicefingerprint API call ? (Need ClearPass 6.9.x)

    ------------------------------
    PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...

    PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)

    PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..

    ACEP / ACMX #107 / ACDX #1281
    ------------------------------