Wireless Access

last person joined: 19 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Controller Hostname not showing on Syslog server

This thread has been viewed 2 times
  • 1.  Controller Hostname not showing on Syslog server

    Posted Sep 26, 2016 12:31 PM

    I am attempting to send syslogs from an Aruba Mobility 7210 controller to a central syslog server running Linux rSyslog. All of my other devices are showing up on that syslog server with dynamic directories based on the Hostname of the device, except the Aruba Controller. The Aruba controller is just creating a directory of the current year (2016)

    My syslog server is configured to create dynamic directories with these variables: 

    /var/log/TMNetLogs/%HOSTNAME%/%$YEAR%/%$MONTH%/%HOSTNAME%.log

     

    So the Aruba controller ends up creating a directory like this:

     

    TMNetLogs/2016/2016/09/2016.log

     

    I do have an actual hostname configured on the Aruba Controller, so why is it not passing this information along to the syslog server? I would be thinkning this would be a problem with the syslog server, except that my other devices are working fine, only the Aruba is showing up wrong. 
    Anything I can do here to fix this?



  • 2.  RE: Controller Hostname not showing on Syslog server
    Best Answer

    Posted Sep 26, 2016 07:45 PM

    I suspect your rsyslog implementation is expecting a different format syslog message than Aruba is sending. Here's a syslog from one of my controllers (091aw009 is the hostname)

    Sep 26 00:35:25 2016 092aw009 stm[3860]: <501097> <WARN> <092aw009 10.30.16.9>  Assoc request: e8:3a:12:ac:01:3d: Dropped AP 10.30.16.245-04:bd:88:be:60:81-092-ap-046 for STA DoS protection

    Note that Aruba adds the year where many devices do not. You may have to tell rsyslog how to handle multiple formats.



  • 3.  RE: Controller Hostname not showing on Syslog server

    Posted Sep 27, 2016 11:31 AM

    How do you have your Aruba hostname configured? Nothing special, just the standard hostname from the Management>SNMP section?

    I will look into different formats that the rSyslog server might be able to understand.