HPDM Agent polling and error logging. HP 4.6
Реклама
Реклама
14 HPDM Agent polling and error logging
This chapter describes the HPDM Agent polling and error logging capabilities of HPDM.
HPDM Agent polling
The HPDM Gateway can be set to communicate with the HPDM Agent periodically and update device status (on/off) to the HPDM Server. The default interval is 0, which means this process will not occur to save net traffic. A detailed description of its two parameters can be found in the configuration GUI by hovering the mouse cursor over the text.
You may use one of the following methods to change the HPDM Agent polling settings:
●
Use the HPDM Gateway configuration dialog, which can be accessed by right-clicking the
HPDM Gateway tray icon.
●
Send a Configure HPDM Gateway task from the HPDM Console. Choose an HPDM Gateway in the HPDM Gateways tab and click Configure or right-click the HPDM Gateway and select
Configure HPDM Gateway.
Error logging
HPDM implements error logging for each of the individual components. The errors are logged according to levels. When you set the logging level of a component, errors of that level and higher are logged.
HPDM Agent logging
Table 14-1 HPDM Agent logging
Level Description
INFORMATION Logs of running information, contains no errors
WARNING Low-level error
ERROR Significant errors
To change the logging level for the HPDM Agent, either set the log level through the Configure HPDM
Agent dialog on the device or send a Configure Agent task to the target device(s).
HPDM Gateway logging
Table 14-2 HPDM Gateway logging
Level Description
TRACE
DEBUG
INFO
Some trace logs; for example, number of HPDM Agents
Internal debug logging
Log of some report content
78 Chapter 14 HPDM Agent polling and error logging
Table 14-2 HPDM Gateway logging (continued)
Level Description
WARN
ERROR
FATAL
Low-level error; for example, HPDM Gateway failed to connect to Console/Server at this time, maybe
Server is not ready, but HPDM Gateway will retry later
Significant errors
High-level error; the error will usually prevent HPDM Gateway from running normally
To change the logging level for an HPDM Gateway, use one of the following methods:
●
Use the HPDM Gateway configuration dialog, which can be accessed from right-clicking the
HPDM Gateway tray icon.
●
Send a Configure HPDM Gateway task from the HPDM Console. Choose an HPDM Gateway in the HPDM Gateways tab and click Configure or right-click the HPDM Gateway and select
Configure HPDM Gateway.
HPDM Server and HPDM Console logging
Table 14-3 HPDM Server and HPDM Console logging
Level Description
DEBUG
INFO
WARN
FATAL
Low-level debugging information
Logs of running information, contains no errors
Logs with warning, means something unexpected happened
Fatal errors
To change the logging level of the HPDM Server:
▲
Change the value of hpdm.log.level in the file /Server/conf/server.conf, which is located in the HPDM installation folder.
Log files for the HPDM Server are located in /Server/logs/.
To change the logging level of the HPDM Console:
▲
Change the value of hpdm.log.level in the file /Console/conf/server.conf, which is located at %programdata%/Hewlett-Packard/HP Device Manager.
TIP: The %programdata% folder is an accessible folder under the Windows UAC policy. It refers to either C:\ProgramData or C:\Documents and Settings\All Users
\Application Data, depending on the operating system.
Log files for the HPDM Console are located in /Console/logs/.
Error logging 79
Master Repository Controller logging
Level Description
INFORMATION Logs of running information, contains no errors
WARNING Low-level error
ERROR Significant errors
To change the logging level of the Master Repository Controller:
▲
Change the value of LogLevel in the file /MasterRepositoryController/
Controller.conf, which is located in the HPDM installation folder.
The log file of the Master Repository Controller is located in /MasterRepositoryController/ log/.
80 Chapter 14 HPDM Agent polling and error logging
Скачать
Реклама