|
Default Parameters for PrntrQMntrTest
This test continuously monitors the print queues on the AIX servers and reports the number of queues in different states.
This page depicts the default parameters that need to be configured for the PrntrQMntrTest test.
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.
When changing default configurations of tests, the values with “$” indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to “xyz*” and $port will be changed to “80” when configuring a test.
|