Arguments passed to the LSF event program

If LSF_EVENT_RECEIVER is defined, a function called ls_postevent() allows specific daemon operations to generate LSF events. This function then calls the LSF event program and passes the following arguments:
  • The event receiver (LSF_EVENT_RECEIVER in lsf.conf)

  • The cluster name

  • The LSF event number (LSF events list or LSF_EVENT_XXXX macros in lsf.h)

  • The event argument (for events that take an argument)

Example

For example, if the event receiver is the string xxx and LIM goes down on HostA in Cluster1, the function returns:
xxx Cluster1 1 HostA

The custom LSF event program can interpret or ignore these arguments.