80 IBM CSM to IBM Systems Director Transformation Guide
In our CSM-managed cluster we have enabled one of the predefined conditions that create an
event if the total space available on our /tmp file system becomes critical; the output of the
command is shown in Example 4-2.
Example 4-2 Listing a simple file system condition on a CSM managed node
lscondition "/tmp space used"
Displaying condition information:
condition 1:
Name = "/tmp space used"
Node = "p5570lp01"
MonitorStatus = "Monitored"
ResourceClass = "IBM.FileSystem"
EventExpression = "PercentTotUsed > 90"
EventDescription = "An event will be generated when more than i
90 percent of the total space in the /tmp
directory is in use."
RearmExpression = "PercentTotUsed < 75"
RearmDescription = "The event will be rearmed when the percent
of the space used in the /tmp directory
falls below 75 percent."
SelectionString = "Name == "/tmp""
Severity = "i"
NodeNames = {}
MgtScope = "l"
Toggle = "Yes"
EventBatchingInterval = 0
EventBatchingMaxEvents = 0
BatchedEventRetentionPeriod = 0
BattchedEventMaxTotalSize = 0
RecordAuditLog = "ALL
"
Creating a similar condition in IBM Systems Director is straightforward. In Figure 4-4 on
page 81, we have created a group view called CSM to IDS, which consists of a small
lsconditions, lscondres,
lsresponse
lsresmon, lsresmonthresh List defined monitors and their
current threshold values.
chcondition chresmonthresh Change the settings of a
resource being monitored.
rmcondition rmresmonthresh Remove a resource monitor
and its thresholds.
mkresponse, mkcondresp mkresmonthresh Create a link between the
resource monitored and the
condition monitored.
startcondresp chresmonthresh -A Start monitoring of a current
resource and/or its threshold.
stopcondresp chresmonthresh -D Stop the monitoring of a current
resource and/or its thresholds.
CSM Commands IBM SDS commands Description