Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf snmp notification add

sysconf snmp notification add

Add a single notification destination to be notified via the SNMP service.

Syntax

sysconf snmp notification add -ipaddress <ipaddress> -authpassword <password> [-authprotocol <protocol>] [ -notifytype {trap | inform}] -privpassword <password> -secname <userid> [-udpport <port>]

 

Parameter            Shortcut Description     
-authpassword -authpa   Specifies the authentication password. The password may be 8-to-128 characters long.     
-authprotocol -authpr

Specifies the authentication protocol.

Valid values: SHA

Default: SHA

-ipaddress -i Specifies the IPv4 address of the destination (a machine running snmptrapd from Net-SNMP or some other SNMP management application, such as MG-Soft's MIB Browser or HP's Openview.)
-notifytype -n  

Specifies the notification type.

Valid values:

trap: one-way unconfirmed notification

inform: confirmed notification with retries

Default: trap

-privpassword -p Specifies the privacy password or encryption password. The password may be 8-to-128 characters long.  
-secname -s Specifies the security name or user name for this user. The user name may be 1-to-31 characters. In the context of notifications this is the "Security Name" on whose behalf notifications are sent.
-udpport -u

Specifies the UDP port on the notification target host to which notifications are sent. 162 is the SNMP default port for notifications.

Default: 162