Kiwi syslog server and HiveManager

  • 1
  • Question
  • Updated 5 years ago
  • Answered
Hi,
Is it possible to configure HiveManager to redirect log to kiwi syslog? I've already set up in the syslog assignements my server but there is no communications between my server and HM.
Thanks
Photo of thomas dancourt

thomas dancourt

  • 3 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Andrew Garcia

Andrew Garcia, Official Rep

  • 368 Posts
  • 120 Reply Likes
You can configure Aerohive devices (APs, switches, routers) to log to an external Syslog server via the network policy. However, I don't believe you can configure HiveManager itself to log to a syslog server. So your devices need to be able to contact the Syslog server.
Photo of Anjanesh Babu

Anjanesh Babu

  • 68 Posts
  • 7 Reply Likes
Andrew is right - have just tested the setup and APs can log successfully to our Kiwi Syslog server.
No sign that the Hivemanager itself is doing any logging itself to the Kiwi syslog.
this probably has implications if your Hivemanager network is not the same as the AP control network.
Photo of Brian Ambler

Brian Ambler

  • 245 Posts
  • 126 Reply Likes
Hi Anjanesh,

Just to clarify, if you are looking at the syslog options under "Home > Administration > HiveManager Services > Update Log Server Settings", the HiveManager can have syslog messages forwarded to itself, but cannot forward to an external syslog server. Andrew is exactly right, to forward syslog messages from the APs to Kiwi, you would need to have the Kiwi syslog server entered on the Network Policy assigned to the APs.

Now, what you could do if the HiveManager is on a different network from the APs and Kiwi cannot reach the APs, is you can have the APs forward all syslog messages to the HiveManager itself instead of Kiwi. In this scenario, you would need to download the HiveManager Tech Data to view the syslog messages each time, but it could potentially solve an issue if there is no other way for the APs to reach the Kiwi syslog server.

If you would like to know more about this issue, a detailed description can be found in our help system, excerpted below:


Update Log Server Settings

  • This section only appears in the HiveManager home system.

  • With this option, you can enable HiveManager to act as a log server for managed devices. To view the logs stored on HiveManager, you must either download the Tech Support data or perform a full backup. Then expand the ah_logs.tar.gz file and open it with a text editor.

    To set up HiveManager as a syslog server:

  • Enter the following, and then click the Update button at the top of the page:
    Update Log Server Settings: (select)
    Enable HiveManager as a log server: (select)
    Select Allow special remote syslog entry to restrict the source of syslog entries to specific subnets. Then, click Add, enter the IP address and netmask to define a subnet, and click Apply. Repeat this to add more subnets that you want to permit.
    To allow syslog entries from any IP address, select Allow any remote syslog entry.

  • Click Configuration > Advanced Configuration > Management Services > Syslog Assignments > New, enter the following, and then click Save:
    Name: Enter a name for the syslog assignment, such as "HiveManager-Syslog". The name can be up to 32 characters long and cannot contain spaces.
    Facility: Choose any facility. The default is Local6.
    Description: Enter a useful description for the syslog server.
    Enter the following and then click Apply:
    Syslog Server: HiveManager-IP-Address
    Severity: Choose the severity level of the messages that you want to store in syslog. The level you select will save messages for that level and all levels above it.
    Description: Enter a useful comment about the configuration. It can be up to 64 characters, including spaces.

  • Click Configuration > WLAN Policies > policy_name: In the Syslog Server drop-down list on the Optional page, choose the syslog assignment name you defined previously, such as "HiveManager-Syslog".
  • Push the configuration to the managed devices.

  • To view syslog entries:

  • Click Home > Administration > HiveManager Operations > Tech Support Data > Save.
  • Expand the ah_logs.tar.gz file.
  • Use a spreadsheet application such as Microsoft Excel to open the "hiveos.log" file in the "remote" directory.

  • You can also see the saved syslog data when you do a full backup of the database and expand the ah_logs.tar.gz file inside the ah_backup_.tar.gz file.