emscli.1m (2012 03)

e
emscli(1M) emscli(1M)
this for only a small number of resources at a time, and with long polling
intervals of several minutes or hours; there is a risk of affecting system per-
formance.
-o notification_option
Specify the notification options. This determines what type of event will trigger a
notification when the threshold is crossed. This option takes any or all of the fol-
lowing notification options:
ini Initial notification. Use this option to establish a baseline when monitoring
resources such as available filesystem space or system load. It can also be
used to test whether newly requested events are being sent.
rep Repeat notification. Use this option for urgent alerts. The Repeat option
sends an alert at each polling interval as long as the notify condition is met.
Use this option with caution because there is a risk of high CPU use or filling
log files and alert windows.
ret Return notification. Use this option to track when emergency situations
return to normal.
-p interval
Specify a polling interval. The polling interval specifies how often the resource
monitor checks the resource value. The polling interval is the maximum amount of
elapsed time before a monitor knows about a change in status for a particular
resource. The default value is 300.
-u unit_of_polling
Specify a unit of polling interval. This option takes one of the following four units
of polling.
sec Seconds. This is the default option.
min Minutes
hrs Hours
day Day
-r condition value
Specify a conditional statement.
condition takes one of the following options:
eq Equal to.
ne Not equal to. This is the default option.
lt Less than.
le Less than or equal to.
gt Greater than.
ge Greater than or equal to.
value is the threshold value. The default threshold value is 0.
-t notification_mechanism
Select the mechanism to be used for notification. This option takes one of the fol-
lowing 8 notification mechanisms:
snmp -s severity_level
Simple Network Management Protocol. This option can be used with any
application that accepts SNMP traps, such as, OpenView NNM or ITO. The
application must be setup to recognize the SNMP traps generated. This is the
default option. The severity levels for SNMP trap notifications are:
cri Critical Severity
maj Major Severity
min Minor Severity is the default option.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: March 2012