Integrated Lights-Out Manager (ILOM) Monitoring with NetIQ

advertisement
Haf Saba – Attachmate | NetIQ
How to guides: SNMP Toolkit for monitoring
SUN xfire Server Hardware (with ILOM)
By
NetIQ
Prepared by
Haf Saba
Senior Technical Consultant
Asia Pacific
1
Haf Saba – Attachmate | NetIQ
Contents
NetIQ ................................................................................................................................................................... 1
Executive Summary ............................................................................................................................................. 3
Integrated Lights-Out Manager (ILOM) Monitoring with NetIQ ......................................................................... 3
2
Haf Saba – Attachmate | NetIQ
Executive Summary
This document will walk you through an initial setup of AppManager (AM) for Sun Server hardware that uses
the ILOM agent onboard. It is designed to get you up to speed rather quickly on basic level SNMP
monitoring .
Disclaimer:
This guide in no way replaces the need for NetIQ Professional Services to assist, plan, deploy, and develop
a proper monitoring solution following NetIQ Best Practices.
Integrated Lights-Out Manager (ILOM) Monitoring with NetIQ
To monitor the ILOM card on a Sun Server, the following components are required:
1.
2.
3.
4.
5.
AppManager Agent residing on a server that will poll via SNMP – this can be the Sun Server
The SNMP service running on that server
The ILOM card installed and configured with an IP address
The community string for READ SNMP requests
The SNMP Toolkit module installed on BOTH the AppManager Database server and the Server that
will do the SNMP polling
6. The MIBs from Sun for the ILOM card (included in this document)
Once installed, the following components need to be set:
1. In AppManager Security Manager (Extensions > Security Manager – from within the Operator
Console), expend the “computers” list and select your Server that will do the polling.
a. Click on the SNMP tab and enter the READ community string
b. Click apply and close the program.
An example of what this looks like is below:
3
Haf Saba – Attachmate | NetIQ
2. In the Operator console, drag the script Discovery_Snmp to the server that will do the SNMP polling.
a. Where the value “list of SNMP devices” is, enter the IP address of the ILOM card
4
Haf Saba – Attachmate | NetIQ
3. This will create an SNMP tab. Click on the “Master” tab at the bottom of the console and you will
see an SNMP script tab has appeared
4. Clicking on your server on the left side of the console will show the SNMP object that has been
discovered – an example of this is below:
5. Next we will run the AddMIBs script to add the Sun-specific MIBs to the agent. An example of what
this looks like is as follows
5
Haf Saba – Attachmate | NetIQ
It is recommended you save the MIB files below to a local directory like C:\temp – enter that full path in the
first value “Full MIB file path”
Then enter the names of the MIB files in the value “List of MIB files” with a comma separating each file
The files you will need are as follows:
Trap MIB
Control MIB
Platform MIB
Right click each icon above and “copy” and then paste it to a local directory *on the server that will do the
polling* - after this is complete, you may run the AddMIB script on that same server. You will receive an
event saying the MIB is successfully added.
6
Haf Saba – Attachmate | NetIQ
6. What you may do next is check in the 3 following scripts into the console. Select the following files
(right – click, copy) and then paste onto your drive. Then go to the KS menu in the Operator Console
and choose “Check in Knowledge Script” and select the 3 files below that you have saved locally.
Fan Script
Temperature Script
Voltage Script
These are pre-built SNMP_SyncGet scripts. We have simple copied the original script and renamed it to the
name of your choice under the SNMP tab. Then have entered the details of the script as follows based on a
lookup via a MIB browser of the sunPlatNumericSensorCurrent table.
After checking these scripts into the console, you will see them in the SNMP tab. Open up a script and it is
already pre-defined with the OID value for a particular sensor. Depending on the server, there may be a few
sensors or many depending on the configuration of the ILOM card. You will need to walk the MIB with a MIB
browser for each value as they will be different but only by one digit. You can use the three scripts above as
a starting point to monitor any servers for 1 fan, 1 temperature sensor, and 1 voltage sensor.
7. Now that you have the scripts checked in, go ahead and run them on the server polling the ILOM
card. You will see that each job has been pre-configured to show different values.
a. Examples include Volts (for Voltage), Celcius (for temperature), and RPM (for fan speed).
These are simply added to the datastream so you can distinguish the final value for your
data.
b. No other options have been set except to collect data and raise a threshold if the value is
either above or below a certain number
An example of a script configuration looks like the following:
a. You will notice the OID value in the “SNMP ODE/OIDs” entry
b. You will notice that “collect data for OID value” is checked
c. You will notice that the value in “Calculated Units” is for what units you need (eg. Volts, RPM,
Celcius)
7
Haf Saba – Attachmate | NetIQ
d. You will notice you can set thresholds for above and below the collected value in the first two
options where you can “raise event when…” entries.
8. Once the jobs are running and data is coming in, you may populate them into a chart so you can
track these numbers or use them for reports later. The following image is an exact capture from
monitoring a Sun Server with the ILOM card properly configured. This shows the Volts,
Temperature, and FAN speed all on once screen from the same ILOM card for a server.
8
Haf Saba – Attachmate | NetIQ
9
Download