Predefined and user-defined responses

Think of a response as a container for one or more actions that the system can take when an associated condition event occurs.

Using the mkresponse command (as described in Creating a response), you can add a single action to the response. You can then use the chresponse command (as described in Modifying a response) to add more actions to the response.

Just as RSCT provides a set of predefined conditions that you can use, it also provides a set of predefined responses. These responses use predefined action scripts that RSCT also provides. Table 1 describes the predefined responses that RSCT provides.

Table 1. Predefined responses that RSCT provides
Response name Response action Description Response action in effect
Broadcast event on-shift Broadcast message Uses the predefined action script /opt/rsct/bin/wallevent to broadcast an event or rearm event to all users that log in to the host. 8 a.m. - 5 p.m., Monday to Friday
Broadcast details of event any time Broadcast event details Available on Linux® nodes only. Uses the predefined action script /opt/rsct/bin/wallevent to broadcast an event or rearm event to all users that log in to the host. Specifies the wallevent script's -c flag to broadcast event details. All day, everyday
Email root off-shift Email root Uses the predefined action script /opt/rsct/bin/notifyevent to send an email to root when an event or a rearm event occurs. 5 p.m. - 12 p.m., Monday to Friday

12 a.m. - 8 a.m., Monday to Friday

All day, Saturday and Sunday

Email root anytime Email root Uses the predefined action script /opt/rsct/bin/notifyevent to send an email to root when an event or a rearm event occurs. All day, everyday
Log event anytime Log event Uses the predefined action script /opt/rsct/bin/logevent to log an entry to /tmp/systemEvents whenever an event or a rearm event occurs. All day, everyday
Informational notifications Log info event Uses the predefined action script /opt/rsct/bin/logevent to log an entry to /tmp/infoEvents whenever an event or a rearm event occurs. All day, everyday
  Email root Uses the predefined action script /opt/rsct/bin/notifyevent to send an email to root when an event or a rearm event occurs. 8 a.m. - 5 p.m., Monday to Friday
Warning notifications Log warning event Uses the predefined action script /opt/rsct/bin/logevent to log an entry to /tmp/warningEvents whenever an event or a rearm event occurs. All day, everyday
  Email root Uses the predefined action script /opt/rsct/bin/notifyevent to send an email to root when an event or a rearm event occurs. All day, everyday
Critical notifications Log critical event Uses the predefined action script /opt/rsct/bin/logevent to log an entry to /tmp/criticalEvents whenever an event or a rearm event occurs. All day, everyday
  Email root Uses the predefined action script /opt/rsct/bin/notifyevent to send an email to root when an event or a rearm event occurs. All day, everyday
  Broadcast message Uses the predefined action script /opt/rsct/bin/wallevent to broadcast an event or rearm event to all users that log in to the host. All day, everyday
Generate SNMP trap SNMP trap Uses the predefined action script /opt/rsct/bin/snmpevent to send a Simple Network Management Protocol (SNMP) trap of an ERRM event to a host running an SNMP agent. All day, everyday