The NSR notification resourceis used for each combination of an event, priority, and action handled by the Backup notification system. A Backup notification consists of a single event type, a single priority, and a message. The notification system posts each message to the action of each NSR notification resource that includes an event type and priority. To edit the NSR notification resources for a Backup server use "nsradmin " or "nwadmin".
The NSR notification resource has the following attributes:
The name attribute specifies the name of a notification resource.
The event attribute specifies a class of events that will trigger a given notification. The valid classes are:
Media, identifies events related to a media multiplexor subsystem
Savegroup, identifies events generated by savegroup
Index, identifies events related to the on-line file index subsystem, Registration, identifies events caused by changes in a product's registration status
Server, identifies Backup server events, such as restarting.
The priority attribute specifies the priority at which a notification will be triggered. The valid values in increasing priority order are:
Info, supplies information about the current state of a server
Notice, an important piece of information
Warning, gives information about a non-fatal error
Waiting, indicates the server is waiting for a routine task
Critical, the server detected an error condition that requires attention
Alert, a severe error condition that demands immediate attention
Emergency, a severe condition that may cause Backup to fail.
The action attribute indicates a command line to be executed when a given event occurs.
Following is an example of a NSR notification resource:
type: NSR notification; name: savegroup completion; administrator: root; action: h:\usr\ucb\mail -s savegroup completion; event: Savegroup; priority: Info, Notice, Warning, Waiting; |