Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Issue in updating Watched Clients on Airwave 

Sep 18, 2019 01:14 PM

Problem:

Issue in updating Watched Clients on Airwave

Below is the screenshot of the Client where we have tried to make it as watched client from Client Detail page. When we select the radio button to "Yes" and "save", but the radio button goes back to "No" and the client is not added as a watched client.


 



Diagnostics:

We can verify the error_log for the client MAC which we tried to update as watched client. Here in the error_log we noticed the below messages

Use of uninitialized value $hostname in string eq at /usr/local/airwave/lib/perl/Mercury/Config/Hostname.pm line 81, <$__ANONIO__> line 513.

error opening '/var/log/system/client/AF/44_00_10_2C_0A_AF/audit.log' for '>>' writing: No such file or directory

Use of uninitialized value in subroutine entry at /usr/local/airwave/lib/perl/Mercury/Utility/Network.pm line 163, <$__ANONIO__> line 396.

Use of uninitialized value in gethostbyaddr at /usr/local/airwave/lib/perl/Mercury/Utility/Network.pm line 163, <$__ANONIO__> line 396.

Use of uninitialized value $hostname in string eq at 

We can verify the permissions of /var/log/system/client directory.

When we manually create a directory under /var/log/system/client using the last two digits of the MAC address of a random client and changed the permission to 777, changed the ownership and group to apache, then we are able to add that client as a watched client on the customer's server

# cd /var/log/system/client

# mkdir <last 2 digits of MAC>

# chmod 777 <Directory Name>

As the Client count is huge manually creating the directory for each client would be difficult.

 



Solution

We have collected the Backup to restore in lab by doing a fresh install, it worked in lab using Customer backup without any issues and we are able to make the client as watched client in lab Server

From lab Server we have copied the entire “client” directory (/var/log/system/client directory)  to Customer’s AMP.

After copying the “client” directory to Customer’s Server, we need to give permissions as below.

# chown -R apache:apache /var/log/system/

Once done with the permissions we are to able to make the client as watched client.

We have also tried with new clients and random clients, able to make the client as watched client and vice versa on Customer's AMP.

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.