|
Aim
In this example, we will retrieve the status of the power supplies of a Fujitsu-Siemens Primergy server by interrogating the ServerView hardware agent through SNMP.
Procedure
| 1. | Add a new “SNMP Polling” class |
| ▪ | Enter the SNMP community applicable to your environment (a community with the “read” right is enough) |
| 2. | Add the polling of a new OID |
| ▪ | Select the “Poll a complete SNMP table” option as we are going to poll all of the power supplies of the server and these power supplies are reported in an SNMP table (as it can be seen with any MIB browser) |
| ▪ | Specify “1.3.6.1.4.1.231.2.10.2.2.5.11.2.1” as the table root OID |
| ▪ | Enter “4,3” for the column numbers (the 4th column in the table is the label of each power supply, while the 3rd one is the status) |
| 3. | Add a new String Search |
| ▪ | CRITERION 1: Line must NOT contain “3” in the 2nd column (“3” corresponds to the “OKAY” status of each power supply) |
| ▪ | Column separator is a semicolon |
Result
We get an alert for each failed power supply in our Fujitsu-Siemens server:
|