|
Configuration of PrntrQMntrTest
This test continuously monitors the print queues on the AIX servers and reports the number of queues in different states.
The default parameters associated with this test are as follows:
By default, the LPSTAT PATH parameter is set to none indicating that the eG agent will run the lpstat command in its default location (/usr/bin/ipstat) of the target host and collect metrics. However, if the lpstat command is available in the different location in your environment, you will have to explicitly specify the full path to the lpstat command in this text box. For instance, /usr/exe/src.
By default, the SUDO CMD parameter is set to none. This indicates that, by default, this test will report the metrics pertaining to performance of the print queues by executing the /usr/bin/ipstat command. However, in highly secure environments, the eG agent install user will not have permission to execute this command directly. In such cases, do the following:
Edit the sudoers file on the target host and append an entry of the following format to it:
<EG_AGENT_INSTALL_USER> ALL=(ALL) NOPASSWD:<Command>
For instance, if the eG agent install user is eguser, then the entry in the sudoers file should be:
eguser ALL=(ALL) NOPASSWD: lpstat
Finally, save the file.
Then, when configuring the test, specify the value sudo for this parameter. This will enable the eG agent to execute the sudo/usr/bin/ipstat command and pull metrics.
To make diagnosis more efficient and accurate, the eG system embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a specific server, choose the On option against DETAILED DIAGNOSIS. To disable the capability, click on the Off option.
The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
When changing the configuration for specific servers, a “*” beside the text box corresponding to the parameter signifies that these values have to be manually configured by the user. The parameter values that require to be configured will typically be prefixed with a “$” or contain a series of “*”. A value of “none” in the parameter value indicates that the corresponding parameter value can be changed if required.
|