Writing Monitors for the Event Monitoring Service (December 1999)

Chapter 5 159
Writing a Target Application
Processing a Restart Notification Object
RmMonitor
Description
char * A pointer to a null-terminated string of
up to 2048 characters that gives a
detailed description of the types of
resources supported by the resource
monitor.
The description is set by the resource
monitor in the Monitor Info object. See
the section, “Startup and Initialization
Considerations.
RmMonitorNode
Name
char * The hostname of the system where the
monitor was restarted.
RmMonitorPID pid_t The process ID of the resource monitor.
RmMonitor
RestartType
rm_option
_type
Identifies the cause of the outage.
RM_RESTART means that the resource
monitor was restarted by EMS due to an
unexpected failure. RM_REBOOT means
the monitor was restarted after a system
reboot.
RmMonitor
Title
char * A pointer to a null-terminated string of
up to 80 characters that is the title of the
resource monitor.
The title is set by the resource monitor in
the Monitor Info object. See the section,
“Startup and Initialization
Considerations.
RmMonitor
VendorName
char * A pointer to a null-terminated string of
up to 80 characters that describes the
company producing the monitor.
The vendor name is set by the resource
monitor in the Monitor Info object. See
the section, “Startup and Initialization
Considerations.
Table 5-3 Restart Notification Object Fields
Field Name Type Description