Writing Monitors for the Event Monitoring Service (December 1999)

100 Chapter3
Creating a Resource Monitor
Processing a Monitor Request Event
RmMonitorReply Valid values are as follows: (continued)
RM_RESOURCE_NOT_SUPPORTED
The resource is not supported by this
resource monitor.
RM_TARGET_NOT_AVAILABLE
(Reserved)
This value is reserved for use by the
Registrar.
RmObjectType rm_object
_type
The object type. For a Monitor Reply,
the value is
RM_MONITOR_REPLY_OBJECT.
This value is set by
rm_get_next_event() and
should not be modified.
RmOVSeverity rm_option_
type
An attribute of the resource value needs
to be set by the monitor to indicate that
value can be mapped into the severities
shown here. The possible values are
RM_OV_ENUMERATION and
RM_NOT_APPLICABLE. The default
is RM_NOT_APPLICABLE.
Enumeration is an
RM_OV_ENUMERATION if the state
values are used to convey severity level
of the event. The severity StateValues
have the following meaning:
1 - normal event
2 - warning event
3 - minor warning event
4 - major warning event
5 - critical event
Table 3-6 Monitor Reply Object Fields
Field Name Type Description