Using A Configuration File For Sensor Information; Solaris Driver Interface - Sun Microsystems Netra CP2500 Programming Manual

For the solaris operating system
Table of Contents

Advertisement

Using a Configuration File for Sensor Information

On the Netra CP2500, you can enable or disable sensors, and configure sensor
threshold actions, such as shutdown and reboot, by editing the
/etc/picl/config/envmond.conf file.
Sample entries in the envmond.conf file are:
#entry format: name=value option
envmon-enable = true
sensor=CP2500-CPU-sensor threshold_shutdown_cmd="usr/sbin/shutdown -i5 -y -g15&"
/* presence of this line shows that the corresponding sensor is enabled */

Solaris Driver Interface

The PICL envmond plug-in opens a SMC driver stream and requests sensor events.
The SMC monitors the sensors and generates an event when it detects a change at a
particular sensor which meets one of the specified thresholds and generates an event
to local Solaris software. This event is captured by the SMC driver (as an IPMI
message) and is sent on an open STREAM that has requested sensor events. The
sensor events are received by the PICL plug-in. The PICL plug-in updates the State
property based on the information it extracts from the IPMI message and posts a
PICL event.
36
Netra CP2500 Board Programming Guide • March 2007
:HighShutdownThreshold
:HighWarningThreshold
:LowPowerOffThreshold
:LowShutdownThreshold
:LowWarningThreshold
:Temperature
:Label
:GeoAddr
:_class
:name
/* Globally enables/disables PICL-based
environmental monitoring */
118
110
-20
-10
-5
74
Ambient
0xe
temperature-sensor
CPU-sensor

Advertisement

Table of Contents
loading

Table of Contents