|
Aim
In this example, we monitor the processors on an IBM AIX server by analyzing the output of an AIX system command: lsdev.
Procedure
| 1. | Add a new “Remote Command Execution and Analysis” class instance: |
| ▪ | Enter credentials to connect to the AIX server |
| ▪ | No root credentials are needed (leave the “Execute As” fields empty) |
| ▪ | Choose “Telnet” as the connection method (SSH is not enabled by default on AIX servers) |
| 2. | Add a new command to be executed with these credentials: |
| ▪ | Enter the command to be executed: lsdev -C -c processor -F 'class;name;status' |
| 3. | Add a new String Search: |
| ▪ | Label: “Available Processors” |
| ▪ | CRITERION 1: Line must contain “Available” in the column number 3, the column separator is semicolon |
| 4. | Add a new String Search: |
| ▪ | Label: “Stopped Processors” |
| ▪ | CRITERION 1: Line must contain “Stopped” in the column number 3, the column separator is semicolon |
Result
| • | The “Count” parameters on the Available processors string search instance show the number of processors in the server. |
| • | The “Count” parameters on the Stopped processors string search instance show the number of stopped processors. An alert could be setup on the “Count (LB)” parameter to get an alarm as soon as a processor is stopped. |
|