Extending ICE-Linux Monitoring

ICELX Name |Host IP |Host Name |FQ Host Name |MP IP |MP Type
----------------------------------------------------------------------------------------
icelx1 |xx.xx.xx.46 |demos |demos.example.com |demos-cp.example.com |dl1v3
icelx2 |xx.xx.xx.32 |saturn |saturn.example.com |xx.xx.xx.33 |ILO
icelx3 |xx.xx.xx.28 |jupiter |jupiter.example.com |xx.xx.xx.29 |ILO2
icelx4 |xx.xx.xx.36 |uranus |uranus.example.com |xx.xx.xx.37 |ILO2
Step 8: Resynchronize Management Data
You need two more commands to synchronize the newly defined management processor type on the
new host, demos. These commands rebuild the per-node management data and push the new file to
all managed systems. This is normally done automatically during the OptionsConfigure ICE-Linux
Management Services menu command, however, because the management processor type was
redefined after this occurred, it needs to be rerun.
# /opt/hptc/bin/setup_management_services --buildmgmtdataini
# /opt/hptc/bin/setup_management_services -–pushmgmtdataini
At this time, the system demos shows up properly in the Nagios display and as of the next sensor
collection cycle, data should be available in the associated RRD.
# shownode metrics sensors
Timestamp |Node_Id |Name |Value |Description
------------------------------------------------------------------------
2008-04-21 11:15:25 |icelx3 |Sensor count |21 |Sensors within threshold; ok
2008-04-21 11:15:26 |icelx2 |Sensor count |7 |Sensors within threshold; ok
2008-04-21 11:15:25 |icelx4 |Sensor count |14 |Sensors within threshold; ok
2008-04-21 11:15:25 |icelx1 |Sensor count |26 |Sensors within threshold; ok
Figure 3. Nagios Environment Display for Server demos
Step 9: Update Menu Option
You must repeat steps 5, 6, and 7 each time you run OptionsConfigure ICE-Linux Management
Services. You can automate this process so that the ICE-Linux menu operations include these steps by
default. To update the OptionsConfigure ICE-Linux Management Services menu option you first
need to capture the existing definition in an XML file. This file should be saved as a backup in case
the original menu item needs to be restored.
The first step is to capture the existing definition:
# mxtool -lf -t "Configure ICE-Linux Management Services" \
>/opt/hptc/nagios/etc/originaltdef.xml
8