Troubleshooting Anyware Monitor
In the event that there is an issue with the Anyware Monitor, the following rectification steps may come in handy to help fix the issue. Some of the known issues with the Anyware Monitor are:
Registration Fails after installation or Monitor Fails to start after installation¶
Occasionally the network may fail during registration process or it is possible that the authorization token that the script carries has expired. If the registration fails and the token is less than one hour old, run the install script again.
If the registration fails and the token is more than one hour old, generate a new script command with a refreshed token by navigating to the Workstation's Anyware Monitor tab and select Show Install Instructions for a refreshed command and try again.
Workstation is unexpectedly marked as Unhealthy¶
Restart the service using your operating system service tool.
Notifications do not appear in a workstation as expected¶
There is a known issue in Linux machines where notifications may not be displayed to the user. While most supported Linux desktop configurations are expected to work, there are rare instances where the system is unable to identify the user's desktop session id required to issue a notification.
In this case, a default location is used. If a Linux system is not showing notifications, the log may state "Using default dbus address". This location is not guaranteed to be present either, resulting in the system incapable of rendering a notification.
Anyware Monitor Logs¶
For information and diagnostic purposes, Anyware Monitor records logs internally to a file
-
In the affected Workstation, navigate to the folder where HP Anyware Monitor is installed:
- On Windows (by default):
%PROGRAMFILES%\HP\Anyware Manager Monitor
- On Linux:
/opt/awm-monitor
- On Windows (by default):
-
Open the file log4net.config using a Text Editor.
- Change the line <level value="INFO"> to <level value="DEBUG">.
- Save the changes you have made to the file.
-
Restart the HP Anyware Monitor service:
- On Windows, click on the Start Menu and type
services.msc
to open the Windows Services list. Scroll down to the HP Anyware Monitor service, click on it and restart using the left side menu. - On Linux®, open a terminal and run the command:
systemctl restart awm-monitor
- On Windows, click on the Start Menu and type
-
Reproduce the issue that you are facing.
- Navigate to the following folder to view the content of the log file:
- On Windows:
%PROGRAMDATA%\HP\Anyware Manager Monitor
- On Linux®:
/var/log/awm-monitor
- On Windows:
Viewing Log content on Linux
On Linux, the log content can also be viewed realtime by running the command sudo journalctl -u awm-monitor -f
.