nsr_notification man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]


NSR_NOTIFICATION(5)					   NSR_NOTIFICATION(5)

NAME
       nsr_notification - NetWorker resource type ``NSR notification''

SYNOPSIS
       type: NSR notification

DESCRIPTION
       A  resource of type NSR notification is used for each combination of an
       event, priority, and action handled by the NetWorker notification  sys‐
       tem.   A NetWorker notification consists of a single event type, a sin‐
       gle priority, and a message.  The notification system posts  each  mes‐
       sage  to the action of each NSR notification resource (by executing the
       command listed in the action, with the message on standard input)  that
       includes	 that  event  type and priority.  See nsr_resource(5) for more
       information on NetWorker	 resources.   To  edit	the  NSR  notification
       resources type:
	      nsradmin -c "type:NSR notification"
       or use NetWorker Management Console.  See nsradmin(8) for more informa‐
       tion on using the NetWorker administration program.

ATTRIBUTES
       The following attributes are defined for resource  type	NSR  notifica‐
       tion.   The information in parentheses describes how the attribute val‐
       ues are accessed.  Create-only  indicates  that	the  value  cannot  be
       changed	by  an	administrator,	except	when  the resource is created.
       Read/write means the value can be changed at  any  time	by  authorized
       administrators.	 Choice	 list  means  that any number of values can be
       chosen from the given list.  Single string means	 that  only  a	single
       value  is  allowed.   Static  attributes change values rarely, if ever.
       Hidden means it is  an  attribute  of  interest	only  to  programs  or
       experts,	 and  these attributes can only be seen when the hidden option
       is turned on in nsradmin(8).  For example, an attribute marked (create-
       only,  static)  has  a value which is set when the attribute is created
       and never changes.  Several additional attributes (for example,	admin‐
       istrator)   are	 common	  to  all  resources,  and  are	 described  in
       nsr_resource(5).

       comment	      (read/write)
	      This attribute is provided for the  administrator	 to  keep  any
	      explanatory  remarks  or	supplementary  information  about  the
	      event.

       action	       (read/write, single string)
	      The value is a command line to be executed when the given	 event
	      occurs.	The command line is run (see popen(3s)) with the event
	      information connected to standard input.	Typical actions are to
	      log  the	message with the syslog(3) package, or send electronic
	      mail to a system operator.
	      Example: action: /usr/ucb/mail -s "savegroup completion" root;

       event	 (create-only, choice list, hidden)
	      Each value is a class of events  that  will  trigger  the	 given
	      notification.   More than one class may be selected.  Valid val‐
	      ues are: Media for events related to the media multiplexor  sub‐
	      system, Savegroup for events generated by the savegrp(8) command
	      (usually	the  nightly  automatic	 backups),  Index  for	events
	      related  to  the	on-line file index subsystem, Registration for
	      events caused by changes in the  product's  registration	status
	      (for example, a license that will soon time out), and Server for
	      other NetWorker server events, such as restarting.
	      Example: event: Media;

       name	       (create-only, static)
	      This attribute holds the name of the notification resource.

       priority	 (create-only, choice list, hidden)
	      Each value is a priority at which the notification will be trig‐
	      gered.   More than one priority may be selected.	The valid val‐
	      ues in increasing priority order are Info - supplies information
	      about  the  current  state  of the server; Notice - an important
	      piece of information; Warning - information  about  a  non-fatal
	      error;  Waiting  - the server is waiting for an operator to per‐
	      form a routine task, such as mounting a  tape;  Critical	-  the
	      server  detected	an  error  condition that should be fixed by a
	      qualified operator;  Alert  -  a	severe	error  condition  that
	      demands  immediate  attention;  Emergency - a condition that may
	      cause NetWorker to fail unless corrected immediately.
	      Example: priority: Notice;

       mail home      (read-only, hidden)
	      This attribute indicates	whether	 a  notification  resource  is
	      associated with mail the home feature.

       enabled	      (read/write)
	      This  attribute  indicates whether an email shall be sent to EMC
	      customer support if the event named in the notification resource
	      occurs.  This attribute applies only to mail home notifications.

       immediate      (read/write)
	      This  attribute  applies	only to mail home notifications.  This
	      attribute indicates whether the notification is emailed  immedi‐
	      ately  or	 deferred until the day specified by the mail home day
	      attribute.

       mail home day	   (read/write, choice list)
	      This attribute applies only to mail  home	 notifications.	  This
	      attribute	 indicates  the	 day  of the week for sending deferred
	      mail home alerts.

       pending event info	(read-only, hidden)
	      This attribute contains mail home event  information  for	 which
	      email  has  not been sent to EMC. This attribute applies only to
	      mail home notifications.

       EXAMPLE

       A complete example follows with two resources, one  for	mail  and  one
       using the syslog mechanism:

		 type:	NSR notification;
		 name:	savegroup completion;
	administrator:	root;
	       action:	/usr/bin/mail -s \"savegroup completion\" root;
		event:	Savegroup;
	     priority:	Notice;

		 type:	NSR notification;
		 name:	log default;
	administrator:	root;
	       action:	/usr/bin/logger -p daemon.notice -f -;
		event:	Media, Savegroup, Index, Server, Registration;
	     priority:	Info, Notice, Warning, Waiting,
			Critical, Alert, Emergency;

FILES
       /nsr/res/nsrdb - files in this directory should never be edited
       directly. Use NetWorker Management Console instead.

SEE ALSO
       nsr_resource(5), nsr_service(5), nsr_device(5), nsr(8), nsrmm(8),
       syslog.conf(5), syslog(3), nsradmin(8), nsrmmd(8),

NetWorker 7.3.2			  Aug 23, 06		   NSR_NOTIFICATION(5)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net