NetWorker command:      nsrtrap

NAME

       nsrtrap - snmp notification scheme for NetWorker messages


SYNOPSIS

       nsrtrap  [ -c  community ] [ -i version ]  [ -t  trap-type ]
        [ -s  specific-type ] [ -v ] network_management_station


DESCRIPTION

       nsrtrap is a mechanism to send NetWorker notifications using the Simple
       Network  Management Protocol (SNMP) trap mechanism.  A NetWorker admin-
       istrator could create a custom NetWorker notification scheme  based  on
       nsrtrap, by configuring the NetWorker events and priorities.

       A  NetWorker administrator could create notification schemes to receive
       messages on different network management consoles  by  configuring  the
       events  and  priorities  and  specifying the desired network management
       station as the location to receive the trap messages.

       To create a new SNMP notification, follow the steps below:

       1. Open the Notifications window from the Customize menu.

       2. Choose the Details option under the View menu.

       3. Click on the Create button.

       4. Enter the name of the new notification in the Name field.

       5. In the Action field, enter the command nsrtrap along with the
          network management station name to which the networker SNMP  notifi-
          cation should be sent. For example:
          /usr/sbin/nsrtrap -c networker SNMPhost
          where  SNMPhost  is the hostname of the SNMP network management sta-
          tion.

       6. Set the events and priorities desired.

       7. Click on the Apply button.


OPTIONS

       -c community   The SNMP community string. This  option  allows  you  to
                      specify the SNMP community that is authorized to receive
                      traps from the NetWorker server.  SNMP  communities  are
                      configured  on  the SNMP server. This option defaults to
                      "public".

       -i version     The SNMP version. This option allows you to specify  the
                      SNMP  version.   The  value 1 for SNMPv1 and the value 2
                      for SNMPv2. This options defaults to "2".
		      
       -s specific-type
                      This option is a generic setting that  can  be  used  to
                      identify  the type of trap the NetWorker server is send-
                      ing. This option can be set to any integer value and may
                      be used in conjunction with different SNMP notifications
                      to distinguish different traps coming from the NetWorker
                      server.  For example, you can create multiple SNMP noti-
                      fications: one for critical messages, another for  warn-
                      ings,  and  another for other events or priorities.  You
                      can then use the -s option to differentiate the  various
                      notifications  so	 that the SNMP management software can
                      determine which type of trap is being sent.

       -t trap-type   One of the SNMP trap types[0-6]. The default is  6,  the
                      "enterprise-specific" trap type.                      

       -v             Sets  the  Output mode to verbose. In verbose mode, nsr-
                      trap echoes the  community,  trap  type,  specific  trap
                      type,  and  the  hostname  or  IP address to the command
                      line.


SEE ALSO

       nsr(8) nsr_notification(5) nsr_resource(5)

NetWorker 7.5.1			 Mar 21, 09