NSRTRAP(8)NSRTRAP(8)NAME
nsrtrap - snmp notification scheme for NetWorker messages
SYNOPSIS
nsrtrap [ -c community ] [ -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".
-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 ALSOnsr(8)nsr_notification(5)nsr_resource(5)NetWorker 7.3.2 Aug 23, 06 NSRTRAP(8)