Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Clearpass: Online Status Data Filter Not Working

This thread has been viewed 2 times
  • 1.  Clearpass: Online Status Data Filter Not Working

    Posted Nov 25, 2014 11:02 AM

    I am running CPM 6.4.1.6.

     

    I want to create a filter under Analysis and Trending that shows the Online Status Data of online or offline. 

     

    This is the field I am referring to under Request Details for Access Tracker

    Online Status.PNG

     

     

     

    This is a simple Data Filter I made to test that does an OR on the two fields I beleive refer to "Online Status".

     

    Online-Offline Filter.PNG

     

     

    The issue is I am not returning any results. 

     

     

    Thanks for any feedback.



  • 2.  RE: Clearpass: Online Status Data Filter Not Working

    EMPLOYEE
    Posted Nov 25, 2014 11:28 AM

    The "online" status is tied to radius accounting.  Do you have your NAS sending radius accounting information in your environment to ClearPass?

     



  • 3.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 01, 2014 09:30 AM

    Thanks Joe. Yes, I can see differentiation between offline/online/disabled in access tracker.

     

    I checked out the radius accounting as you suggested and thought I found it, but still not working.

     

     

    When I inspect the element it looks like using "contains" offline/online should work.

    Radius Offline-Online Status.PNG

     

    The field I am looking in under Radius Accounting is "Acct-Status-Type"

    Online-Offline Rule.PNG



  • 4.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 01, 2014 11:14 AM

    Do you have this enabled ?

    2014-12-01 10_49_51-ClearPass Policy Manager - Aruba Networks.png



  • 5.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 01, 2014 11:18 AM

    Yes, i do.

    Am I searching the correct field now?

    "RADIUS Acct-Status-Type"



  • 6.  RE: Clearpass: Online Status Data Filter Not Working

    EMPLOYEE
    Posted Dec 01, 2014 11:20 AM

    That is not the built-in Status you are seeing. That is a RADIUS attribute. I'm not sure you can currently do what you are trying.



  • 7.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 01, 2014 11:23 AM

    I find it odd that it's an informational field and I can't filter by it?

     



  • 8.  RE: Clearpass: Online Status Data Filter Not Working
    Best Answer

    EMPLOYEE
    Posted Dec 01, 2014 11:24 AM

    It's not the field you are looking for. The online status is a ClearPass calculated field. The one you are seeing is an IETF RADIUS attribute.



  • 9.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 01, 2014 11:26 AM

    Understood thanks, if i can not filter by the calculated field is there another attribute that I can filter by that would accomplish my end goal?



  • 10.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 02, 2014 11:46 AM

    Endpoint Online status is computed from InsightDb and the query is as follows:

    SELECT end_time IS null AS online FROM radius_acct WHERE calling_station_id='%{Connection:Client-Mac-Address-NoDelim}' ORDER BY updated_at DESC LIMIT 1;";



  • 11.  RE: Clearpass: Online Status Data Filter Not Working

    Posted Dec 02, 2014 02:43 PM

    Kudos!

     

    I entered that in the custom SQL though and im getting this error:

     

     Invalid SQL syntax - ERROR: syntax error at or near "SELECT" Position: 541 

     

     

    EDIT: Okay i see what you mean, that wasn't a custom query that can be ran in the datafilter custom SQL but it may help extract the info.